AlkantarClanX12
| Current Path : /var/www/clients/client1/web1/web/sites/all/themes/hawell/tpl/ |
| Current File : /var/www/clients/client1/web1/web/sites/all/themes/hawell/tpl/page--shop.tpl.php |
<?php
global $base_url;
$shop_bg = theme_get_setting('shop_background_breadcrumb', 'hawell');
if (!empty($shop_bg)) {
$shop_background = file_create_url(file_load($shop_bg)->uri);
}
if (isset($_GET['style'])) {
$shop_style = $_GET['style'];
} else $shop_style = theme_get_setting('shop_style', 'hawell');
if (empty($shop_style)) $shop_style = '2col';
?>
<header id="nav" class="header header-1 no-transparent mobile-no-transparent">
<div class="header-wrapper">
<div class="container-m-30 clearfix">
<div class="logo-row">
<!-- LOGO -->
<?php if ($logo): ?>
<div class="logo-container-2">
<div class="logo-2">
<a href="<?php print $base_url; ?>" class="clearfix">
<img src="<?php print $logo; ?>" class="logo-img" alt="Logo">
</a>
</div>
</div>
<?php endif; ?>
<!-- BUTTON -->
<div class="menu-btn-respons-container">
<button type="button" class="navbar-toggle btn-navbar collapsed" data-toggle="collapse" data-target="#main-menu .navbar-collapse">
<span aria-hidden="true" class="icon_menu hamb-mob-icon"></span>
</button>
</div>
</div>
</div>
<!-- MAIN MENU CONTAINER -->
<div class="main-menu-container">
<div class="container-m-30 clearfix">
<!-- MAIN MENU -->
<div id="main-menu">
<div class="navbar navbar-default" role="navigation">
<!-- MAIN MENU LIST -->
<?php if($page['main_menu']): ?>
<?php print render($page['main_menu']) ?>
<?php endif; ?>
</div>
</div>
<!-- END main-menu -->
</div>
<!-- END container-m-30 -->
</div>
<!-- END main-menu-container -->
<!-- SEARCH READ DOCUMENTATION -->
<ul class="cd-header-buttons">
<li><a class="cd-search-trigger" href="#cd-search"><span></span></a></li>
</ul>
<!-- cd-header-buttons -->
<div id="cd-search" class="cd-search">
<form class="form-search" id="searchForm" action="page-search-results.html" method="get">
<input type="text" value="" name="q" id="q" placeholder="Search...">
</form>
</div>
</div>
<!-- END header-wrapper -->
</header>
<!-- PAGE TITLE LARGE IMG -->
<div class="page-title-cont page-title-large page-title-img grey-dark-bg pt-250" style="background-image: url(<?php print $shop_background; ?>)">
<div class="relative container align-left">
<div class="row">
<div class="col-md-8">
<h1 class="page-title"><?php print drupal_get_title(); ?></h1>
</div>
<?php if($breadcrumb): ?>
<div class="col-md-4">
<?php print $breadcrumb; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<!-- CONTENT -->
<div class="page-section p-140-cont">
<div class="container">
<div class="row">
<?php if ($shop_style == '2col' || $shop_style == '3col'): ?>
<!-- CONTENT -->
<div class="col-sm-8">
<div class="row">
<?php if ($shop_style == '2col'): ?>
<?php print views_embed_view('_hawell_page_shop','block_shop_2columns'); ?>
<?php else: ?>
<?php print views_embed_view('_hawell_page_shop','block_shop_3columns'); ?>
<?php endif; ?>
</div>
</div>
<?php if ($page['sidebar']): ?>
<!-- SIDEBAR -->
<div class="col-sm-4 col-md-3 col-md-offset-1">
<?php print render($page['sidebar']); ?>
</div>
<?php endif; ?>
<?php else: ?>
<!-- CONTENT -->
<div class="col-sm-12">
<div class="row">
<?php print views_embed_view('_hawell_page_shop','block_shop_4columns'); ?>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php if ($page['bottom_page']): ?>
<?php print render($page['bottom_page']); ?>
<?php endif; ?>
<?php if ($page['page_section']): ?>
<?php print render($page['page_section']); ?>
<?php endif; ?>
<?php require_once(drupal_get_path('theme','hawell').'/tpl/footer.tpl.php');?>