71 lines
3.9 KiB
PHP
71 lines
3.9 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:37:31
|
|
from 'C:\xampp\htdocs\hotelcommerce\themes\hotel-reservation-theme\breadcrumb.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6494327b290939_15289783',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'dc1efa7fd9a568ea994cec9454f78c3b57abf534' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\themes\\hotel-reservation-theme\\breadcrumb.tpl',
|
|
1 => 1687433800,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6494327b290939_15289783 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'C:\\xampp\\htdocs\\hotelcommerce\\tools\\smarty\\plugins\\modifier.replace.php','function'=>'smarty_modifier_replace',),1=>array('file'=>'C:\\xampp\\htdocs\\hotelcommerce\\tools\\smarty\\plugins\\modifier.regex_replace.php','function'=>'smarty_modifier_regex_replace',),));
|
|
?>
|
|
|
|
<!-- Breadcrumb -->
|
|
<?php if ((($_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'path') !== null ))) {
|
|
$_smarty_tpl->_assignInScope('path', $_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'path'));
|
|
}?>
|
|
<div class="breadcrumb clearfix">
|
|
<a class="home" href="<?php if ((isset($_smarty_tpl->tpl_vars['force_ssl']->value)) && $_smarty_tpl->tpl_vars['force_ssl']->value) {
|
|
echo $_smarty_tpl->tpl_vars['base_dir_ssl']->value;
|
|
} else {
|
|
echo $_smarty_tpl->tpl_vars['base_dir']->value;
|
|
}?>" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Return to Home'),$_smarty_tpl ) );?>
|
|
"><i class="icon-home"></i></a>
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['path']->value)) && $_smarty_tpl->tpl_vars['path']->value) {?>
|
|
<span class="navigation-pipe"<?php if ((isset($_smarty_tpl->tpl_vars['category']->value)) && (isset($_smarty_tpl->tpl_vars['category']->value->id_category)) && $_smarty_tpl->tpl_vars['category']->value->id_category == (int)Configuration::get('PS_ROOT_CATEGORY')) {?> style="display:none;"<?php }?>><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['navigationPipe']->value, ENT_QUOTES, 'UTF-8', true);?>
|
|
</span>
|
|
<?php if (strpos($_smarty_tpl->tpl_vars['path']->value,'span') !== false) {?>
|
|
<span class="navigation_page"><?php echo smarty_modifier_replace(smarty_modifier_replace(smarty_modifier_replace($_smarty_tpl->tpl_vars['path']->value,'<a ','<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" '),'data-gg="">','><span itemprop="title">'),'</a>','</span></a></span>');?>
|
|
</span>
|
|
<?php } else { ?>
|
|
<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
|
|
|
|
<?php }?>
|
|
<?php }?>
|
|
</div>
|
|
<?php if ((isset($_GET['search_query'])) && (isset($_GET['results'])) && $_GET['results'] > 1 && (isset($_SERVER['HTTP_REFERER']))) {?>
|
|
<div class="pull-right">
|
|
<strong>
|
|
<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', null, null);
|
|
if ((isset($_GET['HTTP_REFERER'])) && $_GET['HTTP_REFERER']) {
|
|
echo $_GET['HTTP_REFERER'];
|
|
} elseif ((isset($_SERVER['HTTP_REFERER'])) && $_SERVER['HTTP_REFERER']) {
|
|
echo $_SERVER['HTTP_REFERER'];
|
|
}
|
|
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
|
|
<a href="<?php echo smarty_modifier_regex_replace(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'secureReferrer' ][ 0 ], array( htmlspecialchars($_smarty_tpl->smarty->ext->_capture->getBuffer($_smarty_tpl, 'default'), ENT_QUOTES, 'UTF-8', true) )),'/[\?|&]content_only=1/','');?>
|
|
" name="back">
|
|
<i class="icon-chevron-left left"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Back to Search results for "%s" (%d other results)','sprintf'=>array($_GET['search_query'],$_GET['results'])),$_smarty_tpl ) );?>
|
|
|
|
</a>
|
|
</strong>
|
|
</div>
|
|
<?php }?>
|
|
<!-- /Breadcrumb -->
|
|
<?php }
|
|
}
|