| Current Path : /home/purehotels/public_html/templates/purehotels/ |
| Current File : /home/purehotels/public_html/templates/purehotels/index.php |
<?php
/*------------------------------------------------------------------------
# author Gonzalo Suez
# copyright Copyright © 2013 gsuez.cl. All rights reserved.
# @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website http://www.gsuez.cl
-------------------------------------------------------------------------*/ // no direct access
defined('_JEXEC') or die;
include 'includes/params.php';
$app = JFactory::getApplication();
$menu = $app->getMenu();
$lang = JFactory::getLanguage();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/6220494/6099152/css/fonts.css" />
<?php include 'includes/head.php'; ?>
<body>
<div id="wrap">
<!--Navigation-->
<header id="header" class="hide-from-print" role="banner">
<div class="navbar navbar-pure navbar-fixed-top" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#topmenu2" aria-expanded="false">
<a id="menu-top" href="#sidr"><img src="<?php echo $tpath; ?>/images/button_menu.png" alt="" height="25px" /></a>
</button>
<a class="navbar-brand" href="/"><img src="<?php echo $tpath; ?>/images/logo.png" alt="" /></a>
</div>
<div class="navbar-collapse collapse" id="topmenu">
<?php if ($this->countModules('pure_navigation')) : ?>
<nav class="navigation" role="navigation">
<a class="navbar-right button-navbar button-booking" href="booking/"><?php echo JText::_('TPL_PUREHOTELS_BUTTON_BOOKING'); ?></a>
<jdoc:include type="modules" name="pure_language" style="none" />
<jdoc:include type="modules" name="pure_navigation" style="none" />
</nav>
<?php endif; ?>
</div>
<div id="sidr">
<ul class="mobileMenuLogo">
<li>
<a href="/"><img src="/templates/purehotels/images/logo-small.png" alt=""></a>
</li>
</ul>
<jdoc:include type="modules" name="pure_navigation" style="none" />
<jdoc:include type="modules" name="pure_language" style="none" />
<jdoc:include type="modules" name="pure_navigation_mobile" style="none" />
<ul>
<li>
<a href="booking/"><?php echo JText::_('TPL_PUREHOTELS_BUTTON_BOOKING'); ?></a>
</li>
</ul>
</div>
<script>
jQuery(document).ready(function() {
jQuery('#menu-top').sidr({
name: 'sidr',
side: 'left'
});
});
</script>
</div>
</div>
</header>
<section>
<div class="wrapper">
<?php if ($this->countModules('pure_intranettmenu')): ?>
<div class="intranett">
<div class="intranettMenu">
<div class="title">PURE INTRANETT</div>
<jdoc:include type="modules" name="pure_intranettmenu"/>
</div>
<div class="intranettContent">
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="pure_inettmodule" style="none" />
<div class="ispacer"></div>
</div>
</div>
<?php else: ?>
<?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) : ?>
<jdoc:include type="modules" name="pure_frontpage" style="none" />
<?php else: ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
<?php endif; ?>
<?php endif; ?>
<?php if ($this->countModules('pure_press_images')): ?>
<div class="pressImages">
<jdoc:include type="modules" name="pure_press_images" style="xhtml"/>
</div>
<?php endif; ?>
<jdoc:include type="modules" name="debug" />
</div>
</section>
<?php if($this->countModules('pure_footer')) : ?>
<footer id="footer">
<div class="container-fluid wrapper">
<jdoc:include type="modules" name="pure_footer" style="none" />
</div>
</footer>
<?php endif; ?>
<!-- JS -->
<script type="text/javascript" src="<?php echo $tpath; ?>/js/template.js"></script>
<!-- JS -->
</body>
</html>