function content_5627a0e3007be7_50554482($_smarty_tpl)
    {
        $_smarty_tpl->tpl_vars['option_tpl'] = new Smarty_variable(OvicLayoutControl::getTemplateFile('imagesearchblock-top.tpl', 'imagesearchblock'), null, 0);
        if ($_smarty_tpl->tpl_vars['option_tpl']->value !== null) {
            ?>
    <?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['option_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
    <div class="search-container pull-left">
		<form action="<?php 
            echo $_smarty_tpl->tpl_vars['link']->value->getPageLink('search');
            ?>
" id="searchbox" class="search-form">
			<input type="hidden" name="controller" value="search" />
			<input type="hidden" name="orderby" value="position" />
			<input type="hidden" name="orderway" value="desc" />
			<input type="search" id="search_query_top" name="search_query" placeholder="<?php 
            echo smartyTranslate(array('s' => 'Search', 'mod' => 'imagesearchblock'), $_smarty_tpl);
            ?>
" />
			<input type="submit" value="Submit" class="search-submit-btn">		
		</form>
	</div>
    <?php 
            echo $_smarty_tpl->getSubTemplate((string) $_smarty_tpl->tpl_vars['self']->value . "/imagesearchblock-instantsearch.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

<?php 
        }
        ?>

<?php 
    }
    function content_5627a0e2d8f274_27258827($_smarty_tpl)
    {
        $_smarty_tpl->tpl_vars['option_tpl'] = new Smarty_variable(OvicLayoutControl::getTemplateFile('homeslider.tpl', 'homeslider'), null, 0);
        if ($_smarty_tpl->tpl_vars['option_tpl']->value !== null) {
            ?>
    <?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['option_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
    <?php 
            if ($_smarty_tpl->tpl_vars['page_name']->value == 'index') {
                ?>
    <!-- Module HomeSlider -->
        <?php 
                if (isset($_smarty_tpl->tpl_vars['homeslider_slides']->value)) {
                    ?>
    		<div id="homepage-slider" class="clearfix">
    			<?php 
                    if (isset($_smarty_tpl->tpl_vars['homeslider_slides']->value[0]) && isset($_smarty_tpl->tpl_vars['homeslider_slides']->value[0]['sizes'][1])) {
                        $_smarty_tpl->_capture_stack[0][] = array('height', null, null);
                        ob_start();
                        echo $_smarty_tpl->tpl_vars['homeslider_slides']->value[0]['sizes'][1];
                        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                        if (!empty($_capture_buffer)) {
                            if (isset($_capture_assign)) {
                                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                            }
                            if (isset($_capture_append)) {
                                $_smarty_tpl->append($_capture_append, ob_get_contents());
                            }
                            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
                        } else {
                            $_smarty_tpl->capture_error();
                        }
                    }
                    ?>
    			<ul id="homeslider"<?php 
                    if (isset(Smarty::$_smarty_vars['capture']['height']) && Smarty::$_smarty_vars['capture']['height']) {
                        ?>
 style="max-height:<?php 
                        echo Smarty::$_smarty_vars['capture']['height'];
                        ?>
px;"<?php 
                    }
                    ?>
>
    				<?php 
                    $_smarty_tpl->tpl_vars['slide'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['slide']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['homeslider_slides']->value;
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['slide']->key => $_smarty_tpl->tpl_vars['slide']->value) {
                        $_smarty_tpl->tpl_vars['slide']->_loop = true;
                        ?>
    					<?php 
                        if ($_smarty_tpl->tpl_vars['slide']->value['active']) {
                            ?>
    						<li class="homeslider-container">
    							<a href="<?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['slide']->value['url'], ENT_QUOTES, 'UTF-8', true);
                            ?>
" title="<?php 
                            echo htmlspecialchars($_smarty_tpl->tpl_vars['slide']->value['legend'], ENT_QUOTES, 'UTF-8', true);
                            ?>
">
    								<img src="<?php 
                            echo $_smarty_tpl->tpl_vars['link']->value->getMediaLink((string) @constant('_MODULE_DIR_') . "homeslider/images/" . (string) mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['slide']->value['image'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8'));
                            ?>
"<?php 
                            if (isset($_smarty_tpl->tpl_vars['slide']->value['size']) && $_smarty_tpl->tpl_vars['slide']->value['size']) {
                                ?>
 <?php 
                                echo $_smarty_tpl->tpl_vars['slide']->value['size'];
                            } else {
                                ?>
 width="100%" height="100%"<?php 
                            }
                            ?>
 alt="<?php 
                            echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['slide']->value['legend'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');
                            ?>
" />
    							</a>
    							<?php 
                            if (isset($_smarty_tpl->tpl_vars['slide']->value['description']) && trim($_smarty_tpl->tpl_vars['slide']->value['description']) != '') {
                                ?>
    								<div class="homeslider-description"><?php 
                                echo $_smarty_tpl->tpl_vars['slide']->value['description'];
                                ?>
</div>
    							<?php 
                            }
                            ?>
    						</li>
    					<?php 
                        }
                        ?>
    				<?php 
                    }
                    ?>
    			</ul>
    		</div>
    	<?php 
                }
                ?>
    <!-- /Module HomeSlider -->
    <?php 
            }
        }
    }
    function content_5627a0e3bf0742_26844389($_smarty_tpl)
    {
        $_smarty_tpl->tpl_vars['option_tpl'] = new Smarty_variable(OvicLayoutControl::getTemplateFile('footer.tpl'), null, 0);
        if ($_smarty_tpl->tpl_vars['option_tpl']->value !== null) {
            ?>
    <?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['option_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
			<?php 
            if (!isset($_smarty_tpl->tpl_vars['content_only']->value) || !$_smarty_tpl->tpl_vars['content_only']->value) {
                ?>
		        
				<?php 
                if (isset($_smarty_tpl->tpl_vars['HOOK_FOOTER']->value)) {
                    ?>
				
					<footer id="footer" class="footer5">
						<?php 
                    if ($_smarty_tpl->tpl_vars['page_name']->value == 'index') {
                        ?>
			                <?php 
                        if (isset($_smarty_tpl->tpl_vars['HOME_BOTTOM_COLUMN']->value) && trim($_smarty_tpl->tpl_vars['HOME_BOTTOM_COLUMN']->value)) {
                            ?>
								<div id="footer-top">
									<div class="container">
										<div class="row"><?php 
                            echo $_smarty_tpl->tpl_vars['HOME_BOTTOM_COLUMN']->value;
                            ?>
</div>
									</div>								
								</div>
			                <?php 
                        }
                        ?>
						<?php 
                    }
                    ?>
						<div id="footer-inner">
							<div class="container">
								<div class="row"><?php 
                    echo $_smarty_tpl->tpl_vars['BOTTOM_COLUMN']->value;
                    ?>
</div>							
							</div>							
						</div>
						<div id="footer-bottom-container">
							<div class="container">
								<div class="row">
									<div class="col-xs-12">
										<div id="footer-bottom" class="clearfix">
											<?php 
                    echo $_smarty_tpl->tpl_vars['HOOK_FOOTER']->value;
                    ?>
					
										</div>
									</div>								
								</div>							
							</div>
						</div>					
					</footer>				
				<?php 
                }
                ?>
			
				<a href="#header" id="scroll-top" class="color2 fixed" title="Go to top">Top</a>
			<?php 
            }
            ?>
		</div>
	<?php 
            echo $_smarty_tpl->getSubTemplate((string) $_smarty_tpl->tpl_vars['tpl_dir']->value . "./global.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

	</body>
</html>
<?php 
        }
    }
    function content_5627a0e39aed71_45878629($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_date_format')) {
            include '/home/u481889647/public_html/tools/smarty/plugins/modifier.date_format.php';
        }
        $_smarty_tpl->tpl_vars['option_tpl'] = new Smarty_variable(OvicLayoutControl::getTemplateFile('smartblog_latest_news.tpl', 'smartbloghomelatestnews'), null, 0);
        if ($_smarty_tpl->tpl_vars['option_tpl']->value !== null) {
            ?>
    <?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['option_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
	
	<div class="lg-margin2x hidden-sm hidden-xs"></div>
	<div class="md-margin2x visible-sm visible-xs"></div>
	<div class="carousel-container">
		<h2 class="carousel-title"><?php 
            echo smartyTranslate(array('s' => 'From the blog', 'mod' => 'smartbloghomelatestnews'), $_smarty_tpl);
            ?>
</h2>
		<div class="row">
			<?php 
            if (isset($_smarty_tpl->tpl_vars['view_data']->value) && !empty($_smarty_tpl->tpl_vars['view_data']->value)) {
                ?>
			<div class="owl-carousel from-theblog-carousel from-theblog-wide">
				<?php 
                $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);
                ?>
				<?php 
                $_smarty_tpl->tpl_vars['post'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['post']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['view_data']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['post']->key => $_smarty_tpl->tpl_vars['post']->value) {
                    $_smarty_tpl->tpl_vars['post']->_loop = true;
                    ?>
                    <?php 
                    $_smarty_tpl->tpl_vars["options"] = new Smarty_variable(null, null, 0);
                    ?>
                    <?php 
                    $_smarty_tpl->createLocalArrayVariable('options', null, 0);
                    $_smarty_tpl->tpl_vars['options']->value['id_post'] = $_smarty_tpl->tpl_vars['post']->value['id'];
                    ?>
                    <?php 
                    $_smarty_tpl->createLocalArrayVariable('options', null, 0);
                    $_smarty_tpl->tpl_vars['options']->value['slug'] = $_smarty_tpl->tpl_vars['post']->value['link_rewrite'];
                    ?>
                    <article class="article">
                        <div class="article-media-container"><a href="<?php 
                    echo smartblog::GetSmartBlogLink('smartblog_post', $_smarty_tpl->tpl_vars['options']->value);
                    ?>
"><img src="<?php 
                    echo $_smarty_tpl->tpl_vars['modules_dir']->value;
                    ?>
smartblog/images/<?php 
                    echo $_smarty_tpl->tpl_vars['post']->value['post_img'];
                    ?>
-home-default.jpg" class="img-responsive" alt="<?php 
                    echo $_smarty_tpl->tpl_vars['post']->value['title'];
                    ?>
"></a></div>
                        <div class="article-meta-box"><span class="article-icon article-date-icon"></span> <span class="meta-box-text"><?php 
                    echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['post']->value['date_added'], "%d %b");
                    ?>
</span></div>
                        <div class="article-meta-box article-meta-comments"><span class="article-icon article-comment-icon"></span> <a href="#" class="meta-box-text"><?php 
                    echo Blogcomment::getToltalComment($_smarty_tpl->tpl_vars['post']->value['id']);
                    ?>
 <?php 
                    echo smartyTranslate(array('s' => 'Com', 'mod' => 'smartbloghomelatestnews'), $_smarty_tpl);
                    ?>
</a></div>
                        <h3><a href="<?php 
                    echo smartblog::GetSmartBlogLink('smartblog_post', $_smarty_tpl->tpl_vars['options']->value);
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['post']->value['title'];
                    ?>
</a></h3>
                        <p><?php 
                    echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['post']->value['short_description'], 150, "..."), ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');
                    ?>
</p>
                        <a href="<?php 
                    echo smartblog::GetSmartBlogLink('smartblog_post', $_smarty_tpl->tpl_vars['options']->value);
                    ?>
" class="readmore" role="button"><?php 
                    echo smartyTranslate(array('s' => 'Read More', 'mod' => 'smartbloghomelatestnews'), $_smarty_tpl);
                    ?>
</a>
                     </article>
				<?php 
                }
                ?>
				
			</div>			
			<?php 
            }
            ?>
		</div>		
	</div>

	
<?php 
        }
    }
    function content_5627a0e3b5e790_96378248($_smarty_tpl)
    {
        if (!is_callable('smarty_function_implode')) {
            include '/home/u481889647/public_html/tools/smarty/plugins/function.implode.php';
        }
        $_smarty_tpl->tpl_vars['option_tpl'] = new Smarty_variable(OvicLayoutControl::getTemplateFile('header.tpl'), null, 0);
        if ($_smarty_tpl->tpl_vars['option_tpl']->value !== null) {
            ?>
    <?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['option_tpl']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
<!DOCTYPE HTML>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="<?php 
            echo $_smarty_tpl->tpl_vars['lang_iso']->value;
            ?>
"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="<?php 
            echo $_smarty_tpl->tpl_vars['lang_iso']->value;
            ?>
"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="<?php 
            echo $_smarty_tpl->tpl_vars['lang_iso']->value;
            ?>
"><![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9" lang="<?php 
            echo $_smarty_tpl->tpl_vars['lang_iso']->value;
            ?>
"><![endif]-->
<html lang="<?php 
            echo $_smarty_tpl->tpl_vars['lang_iso']->value;
            ?>
">
	<head>
		<meta charset="utf-8" />
		<title><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['meta_title']->value, ENT_QUOTES, 'UTF-8', true);
            ?>
</title>
		<?php 
            if (isset($_smarty_tpl->tpl_vars['meta_description']->value) && $_smarty_tpl->tpl_vars['meta_description']->value) {
                ?>
		<meta name="description" content="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['meta_description']->value, ENT_QUOTES, 'UTF-8', true);
                ?>
" />
		<?php 
            }
            ?>
		<?php 
            if (isset($_smarty_tpl->tpl_vars['meta_keywords']->value) && $_smarty_tpl->tpl_vars['meta_keywords']->value) {
                ?>
		<meta name="keywords" content="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['meta_keywords']->value, ENT_QUOTES, 'UTF-8', true);
                ?>
" />
		<?php 
            }
            ?>
		<meta name="generator" content="PrestaShop" />
		<meta name="robots" content="<?php 
            if (isset($_smarty_tpl->tpl_vars['nobots']->value)) {
                ?>
no<?php 
            }
            ?>
index,<?php 
            if (isset($_smarty_tpl->tpl_vars['nofollow']->value) && $_smarty_tpl->tpl_vars['nofollow']->value) {
                ?>
no<?php 
            }
            ?>
follow" />
		<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<link rel="icon" type="image/vnd.microsoft.icon" href="<?php 
            echo $_smarty_tpl->tpl_vars['favicon_url']->value;
            ?>
?<?php 
            echo $_smarty_tpl->tpl_vars['img_update_time']->value;
            ?>
" />
		<link rel="shortcut icon" type="image/x-icon" href="<?php 
            echo $_smarty_tpl->tpl_vars['favicon_url']->value;
            ?>
?<?php 
            echo $_smarty_tpl->tpl_vars['img_update_time']->value;
            ?>
" />
		<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Judson:200,300,400,400italic,500,600,700" type="text/css">
		<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Code+Pro:200,300,400,400italic,500,600,700" type="text/css">
		<link id="Open_Sans_secondary-css" href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css' />
		<?php 
            $_smarty_tpl->tpl_vars["globalcss"] = new Smarty_variable((string) $_smarty_tpl->tpl_vars['tpl_uri']->value . "css/global.css", null, 0);
            ?>
		<link rel="stylesheet" href="<?php 
            echo $_smarty_tpl->tpl_vars['globalcss']->value;
            ?>
" type="text/css" media="all" />    		
		<?php 
            if (isset($_smarty_tpl->tpl_vars['css_files']->value)) {
                ?>
			<?php 
                $_smarty_tpl->tpl_vars['media'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['media']->_loop = false;
                $_smarty_tpl->tpl_vars['css_uri'] = new Smarty_Variable();
                $_from = $_smarty_tpl->tpl_vars['css_files']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['media']->key => $_smarty_tpl->tpl_vars['media']->value) {
                    $_smarty_tpl->tpl_vars['media']->_loop = true;
                    $_smarty_tpl->tpl_vars['css_uri']->value = $_smarty_tpl->tpl_vars['media']->key;
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['css_uri']->value != $_smarty_tpl->tpl_vars['globalcss']->value) {
                        ?>
				<link rel="stylesheet" href="<?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['css_uri']->value, ENT_QUOTES, 'UTF-8', true);
                        ?>
" type="text/css" media="<?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['media']->value, ENT_QUOTES, 'UTF-8', true);
                        ?>
" />
				<?php 
                    }
                    ?>
			<?php 
                }
                ?>
		<?php 
            }
            ?>
		<?php 
            if (isset($_smarty_tpl->tpl_vars['js_defer']->value) && !$_smarty_tpl->tpl_vars['js_defer']->value && isset($_smarty_tpl->tpl_vars['js_files']->value) && isset($_smarty_tpl->tpl_vars['js_def']->value)) {
                ?>
			<?php 
                echo $_smarty_tpl->tpl_vars['js_def']->value;
                ?>

			<?php 
                $_smarty_tpl->tpl_vars['js_uri'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['js_uri']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['js_files']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['js_uri']->key => $_smarty_tpl->tpl_vars['js_uri']->value) {
                    $_smarty_tpl->tpl_vars['js_uri']->_loop = true;
                    ?>
			<script type="text/javascript" src="<?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['js_uri']->value, ENT_QUOTES, 'UTF-8', true);
                    ?>
"></script>
			<?php 
                }
                ?>
		<?php 
            }
            ?>
		<!-- <script type="text/javascript" src="<?php 
            echo $_smarty_tpl->tpl_vars['js_dir']->value;
            echo $_smarty_tpl->tpl_vars['current_dir']->value;
            ?>
.js"></script> -->       
		<?php 
            echo $_smarty_tpl->tpl_vars['HOOK_HEADER']->value;
            ?>

		<link rel="stylesheet" type="text/css" href="<?php 
            echo $_smarty_tpl->tpl_vars['css_dir']->value;
            ?>
animate.min.css" />
		<link rel="stylesheet" href="http<?php 
            if (Tools::usingSecureMode()) {
                ?>
s<?php 
            }
            ?>
://fonts.googleapis.com/css?family=Open+Sans:300,600&amp;subset=latin,latin-ext" type="text/css" media="all" />
		<!--[if IE 8]>
		<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
		<![endif]-->
		<script type="text/javascript">
		//<![CDATA[
		//if (typeof EM == 'undefined') EM = {};
		//]]	
		</script>
	</head>
	<body<?php 
            if (isset($_smarty_tpl->tpl_vars['page_name']->value)) {
                ?>
 id="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['page_name']->value, ENT_QUOTES, 'UTF-8', true);
                ?>
"<?php 
            }
            ?>
 class="<?php 
            if (isset($_smarty_tpl->tpl_vars['body_classes']->value) && count($_smarty_tpl->tpl_vars['body_classes']->value)) {
                ?>
 <?php 
                echo smarty_function_implode(array('value' => $_smarty_tpl->tpl_vars['body_classes']->value, 'separator' => ' '), $_smarty_tpl);
            }
            if ($_smarty_tpl->tpl_vars['hide_left_column']->value) {
                ?>
 hide-left-column<?php 
            }
            if ($_smarty_tpl->tpl_vars['hide_right_column']->value) {
                ?>
 hide-right-column<?php 
            }
            if (isset($_smarty_tpl->tpl_vars['content_only']->value) && $_smarty_tpl->tpl_vars['content_only']->value) {
                ?>
 content_only<?php 
            }
            ?>
 lang_<?php 
            echo $_smarty_tpl->tpl_vars['lang_iso']->value;
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['current_dir']->value;
            ?>
 content-type wide granada-theme <?php 
            if ($_smarty_tpl->tpl_vars['page_name']->value == 'index') {
                ?>
index-page<?php 
            } else {
                ?>
orther-page<?php 
            }
            ?>
">
	<?php 
            echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('tplUri' => $_smarty_tpl->tpl_vars['tpl_uri']->value), $_smarty_tpl);
            ?>

    <div id="wrapper" style="overflow: hidden">
    <?php 
            if (!isset($_smarty_tpl->tpl_vars['content_only']->value) || !$_smarty_tpl->tpl_vars['content_only']->value) {
                ?>
		<?php 
                if (isset($_smarty_tpl->tpl_vars['restricted_country_mode']->value) && $_smarty_tpl->tpl_vars['restricted_country_mode']->value) {
                    ?>
			<div id="restricted-country">
				<p><?php 
                    echo smartyTranslate(array('s' => 'You cannot place a new order from your country.'), $_smarty_tpl);
                    ?>
 <span class="bold"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['geolocation_country']->value, ENT_QUOTES, 'UTF-8', true);
                    ?>
</span></p>
			</div>
		<?php 
                }
                ?>
        <?php 
                if ($_smarty_tpl->tpl_vars['page_name']->value == 'index' || $_smarty_tpl->tpl_vars['page_name']->value == 'product') {
                    $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'min_item'));
                    $_block_repeat = true;
                    echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'min_item'), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        echo smartyTranslate(array('s' => 'Please select at least one product', 'js' => 1), $_smarty_tpl);
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'min_item'), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                }
                ?>
        <?php 
                if (($_smarty_tpl->tpl_vars['page_name']->value == 'index' || $_smarty_tpl->tpl_vars['page_name']->value == 'product') && isset($_smarty_tpl->tpl_vars['comparator_max_item']->value)) {
                    ?>
        <?php 
                    $_smarty_tpl->smarty->_tag_stack[] = array('addJsDefL', array('name' => 'max_item'));
                    $_block_repeat = true;
                    echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'max_item'), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        echo smartyTranslate(array('s' => 'You cannot add more than %d product(s) to the product comparison', 'sprintf' => $_smarty_tpl->tpl_vars['comparator_max_item']->value, 'js' => 1), $_smarty_tpl);
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo $_smarty_tpl->smarty->registered_plugins['block']['addJsDefL'][0][0]->addJsDefL(array('name' => 'max_item'), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                    ?>

        <?php 
                    echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('comparator_max_item' => $_smarty_tpl->tpl_vars['comparator_max_item']->value), $_smarty_tpl);
                    ?>

        <?php 
                }
                ?>
        <?php 
                if ($_smarty_tpl->tpl_vars['page_name']->value != 'category' && $_smarty_tpl->tpl_vars['page_name']->value != 'best-sales' && $_smarty_tpl->tpl_vars['page_name']->value != 'search' && $_smarty_tpl->tpl_vars['page_name']->value != 'manufacturer' && $_smarty_tpl->tpl_vars['page_name']->value != 'supplier' && $_smarty_tpl->tpl_vars['page_name']->value != 'prices-drop' && $_smarty_tpl->tpl_vars['page_name']->value != 'new-products' && isset($_smarty_tpl->tpl_vars['compared_products']->value)) {
                    echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['addJsDef'][0][0]->addJsDef(array('comparedProductsIds' => $_smarty_tpl->tpl_vars['compared_products']->value), $_smarty_tpl);
                }
                ?>
			<div id="sticky-header" class="header4 dark boxed-menu" data-fixed="fixed"></div>
    		<header id="header" class="header4 boxed-menu dark">
               <div id="header-top">
                  <div class="container clearfix">
                  	<?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayNav"), $_smarty_tpl);
                ?>
                     
                  </div>
               </div>
               <div class="container header-inside">
                  <div class="row">
                     <div class="col-sm-12 clearfix">
                        <div class="logo-container">
                           <h1 class="logo clearfix"><a href="<?php 
                echo $_smarty_tpl->tpl_vars['base_dir']->value;
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['shop_name']->value;
                ?>
 - <?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['meta_description']->value, ENT_QUOTES, 'UTF-8', true);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['shop_name']->value;
                ?>
</a></h1>
                        </div>
                        <div class="right-side clearfix">
                        	<?php 
                if (isset($_smarty_tpl->tpl_vars['HOOK_TOP']->value)) {
                    echo $_smarty_tpl->tpl_vars['HOOK_TOP']->value;
                }
                ?>
	                        	
                        </div>
                     </div>
                  </div>
               </div>
               <div id="nav-wrapper">	               
	               <div class="container nav-wrapper" data-clone="sticky">
	                  <div class="row">
	                     <div class="col-sm-12">
	                        <a href="#" class="header-search-btn visible-xs" title="Search"></a>
	                        <?php 
                echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h' => "displayTopColumn"), $_smarty_tpl);
                ?>

	                     </div>
	                  </div>
	               </div>
               </div>
            </header>
	<?php 
            }
            ?>
	
<?php 
        }
    }