69 lines
3.3 KiB
PHP
69 lines
3.3 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\best-sales.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6494327b00dd59_93493004',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'bf784595a64be276cff07eae81fafbf4bad43667' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\themes\\hotel-reservation-theme\\best-sales.tpl',
|
|
1 => 1687433800,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
'file:./product-sort.tpl' => 1,
|
|
'file:./nbr-product-page.tpl' => 1,
|
|
'file:./product-compare.tpl' => 2,
|
|
'file:./product-list.tpl' => 1,
|
|
'file:./pagination.tpl' => 1,
|
|
),
|
|
),false)) {
|
|
function content_6494327b00dd59_93493004 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'path', null, null);
|
|
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Top sellers'),$_smarty_tpl ) );
|
|
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
|
|
|
|
<h1 class="page-heading product-listing"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Top sellers'),$_smarty_tpl ) );?>
|
|
</h1>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['products']->value) {?>
|
|
<div class="content_sortPagiBar">
|
|
<div class="sortPagiBar clearfix">
|
|
<?php $_smarty_tpl->_subTemplateRender("file:./product-sort.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
|
?>
|
|
<?php $_smarty_tpl->_subTemplateRender("file:./nbr-product-page.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
|
?>
|
|
</div>
|
|
<div class="top-pagination-content clearfix">
|
|
<?php $_smarty_tpl->_subTemplateRender("file:./product-compare.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
|
?>
|
|
<?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['tpl_dir']->value)."./pagination.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php $_smarty_tpl->_subTemplateRender("file:./product-list.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('products'=>$_smarty_tpl->tpl_vars['products']->value), 0, false);
|
|
?>
|
|
|
|
<div class="content_sortPagiBar">
|
|
<div class="bottom-pagination-content clearfix">
|
|
<?php $_smarty_tpl->_subTemplateRender("file:./product-compare.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
|
|
?>
|
|
<?php $_smarty_tpl->_subTemplateRender("file:./pagination.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('paginationId'=>'bottom'), 0, false);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<?php } else { ?>
|
|
<p class="alert alert-warning"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No top sellers for the moment.'),$_smarty_tpl ) );?>
|
|
</p>
|
|
<?php }
|
|
}
|
|
}
|