| Current Path : /home/hsabaeej/public_html/templates/zo2_ence/ |
| Current File : /home/hsabaeej/public_html/templates/zo2_ence/index.php |
<?php
/**
* Zo2 (http://www.zo2framework.org)
* A powerful Joomla template framework
*
* @link http://www.zo2framework.org
* @link http://github.com/aploss/zo2
* @author Duc Nguyen <ducntv@gmail.com>
* @author Hiepvu <vqhiep2010@gmail.com>
* @copyright Copyright (c) 2013 APL Solutions (http://apl.vn)
* @license GPL v2
*/
defined('_JEXEC') or die('Restricted Access');
require_once __DIR__ . '/includes/bootstrap.php';
/**
* @todo Opengraph support
* @todo Facebook & Twitter ... data attributes support
*/
?>
<!DOCTYPE html>
<html lang="<?php echo $this->zo2->template->getLanguage(); ?>" dir="<?php echo $this->zo2->template->getDirection(); ?>">
<head>
<?php unset($this->_scripts[JURI::root(true).'/media/jui/js/bootstrap.min.js']); ?>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php echo $this->zo2->template->fetch('html://layouts/head.response.php'); ?>
<?php echo $this->zo2->template->fetch('html://layouts/head.favicon.php'); ?>
<![if gte IE 9]>
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Montserrat:400,700">
<![endif]>
<jdoc:include type="head" />
</head>
<body class="<?php echo $this->zo2->layout->getBodyClass() ?> <?php echo $this->zo2->template->getDirection(); ?> <?php echo $this->zo2->framework->isBoxed() ? 'boxed' : ''; ?>">
<?php echo $this->zo2->template->fetch('html://layouts/css.condition.php'); ?>
<section class="wrapper <?php echo $this->zo2->framework->isBoxed() ? 'boxed container' : ''; ?>">
<?php //echo $this->zo2->utilities->socialshares->render('floatbar'); ?>
<?php echo $this->zo2->utilities->styleswitcher->render(); ?>
<?php echo $this->zo2->layout->render(); ?>
</section>
<?php echo $this->zo2->layout->renderOut(); ?>
<?php echo $this->zo2->template->fetch('html://layouts/joomla.debug.php'); ?>
</body>
<script>
<?php echo $this->zo2->utilities->bottomscript->render() ?>
</script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.panel-title a').eq(0).addClass('active');
jQuery('.panel-title a').click(function(){
if(jQuery(this).hasClass('active')){
jQuery(this).removeClass('active');
}
else{
jQuery('.panel-title a').removeClass('active');
jQuery(this).toggleClass('active');
}
});
});
</script>
<script>
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</script>
</html>