100 lines
4.6 KiB
PHP
100 lines
4.6 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:37:35
|
|
from 'C:\xampp\htdocs\hotelcommerce\themes\hotel-reservation-theme\manufacturer.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6494327f0f1069_80594954',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'd5c049053ba2033afa9eb3620f562f3176801f01' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\themes\\hotel-reservation-theme\\manufacturer.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_6494327f0f1069_80594954 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?>
|
|
|
|
<?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['tpl_dir']->value)."./errors.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
|
|
?>
|
|
|
|
<?php if (!(isset($_smarty_tpl->tpl_vars['errors']->value)) || !sizeof($_smarty_tpl->tpl_vars['errors']->value)) {?>
|
|
<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'=>'List of products by manufacturer'),$_smarty_tpl ) );?>
|
|
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['manufacturer']->value->name, ENT_QUOTES, 'UTF-8', true);?>
|
|
|
|
</h1>
|
|
<?php if (!empty($_smarty_tpl->tpl_vars['manufacturer']->value->description) || !empty($_smarty_tpl->tpl_vars['manufacturer']->value->short_description)) {?>
|
|
<div class="description_box rte">
|
|
<?php if (!empty($_smarty_tpl->tpl_vars['manufacturer']->value->short_description)) {?>
|
|
<div class="short_desc">
|
|
<?php echo $_smarty_tpl->tpl_vars['manufacturer']->value->short_description;?>
|
|
|
|
</div>
|
|
<div class="hide_desc">
|
|
<?php echo $_smarty_tpl->tpl_vars['manufacturer']->value->description;?>
|
|
|
|
</div>
|
|
<?php if (!empty($_smarty_tpl->tpl_vars['manufacturer']->value->description)) {?>
|
|
<a href="#" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide();$(this).prev().prev().hide(); return false;">
|
|
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'More'),$_smarty_tpl ) );?>
|
|
|
|
</a>
|
|
<?php }?>
|
|
<?php } else { ?>
|
|
<div>
|
|
<?php echo $_smarty_tpl->tpl_vars['manufacturer']->value->description;?>
|
|
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?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('no_follow'=>1), 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('no_follow'=>1,'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 products for this manufacturer.'),$_smarty_tpl ) );?>
|
|
</p>
|
|
<?php }
|
|
}
|
|
}
|
|
}
|