Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/74/e1/0a/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/74/e1
<?php
/* Smarty version 4.3.1, created on 2024-05-02 19:54:50
from '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/products-top.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_6633d36aed7d72_76929432',
'has_nocache_code' => false,
'file_dependency' =>
array (
'74e10ac2cea80120eba645b4ba58e960701f573c' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/products-top.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
'file:catalog/_partials/sort-orders.tpl' => 1,
),
),false)) {
function content_6633d36aed7d72_76929432 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div id="js-product-list-top" class="products-selection">
<div class=" hidden-sm-down total-products">
<?php if ($_smarty_tpl->tpl_vars['listing']->value['pagination']['total_items'] > 1) {?>
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There are %product_count% products.','d'=>'Shop.Theme.Catalog','sprintf'=>array('%product_count%'=>$_smarty_tpl->tpl_vars['listing']->value['pagination']['total_items'])),$_smarty_tpl ) );?>
</p>
<?php } elseif ($_smarty_tpl->tpl_vars['listing']->value['pagination']['total_items'] > 0) {?>
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'There is 1 product.','d'=>'Shop.Theme.Catalog'),$_smarty_tpl ) );?>
</p>
<?php }?>
</div>
<div class="sort-by-row">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6994060536633d36aebbab3_78023799', 'sort_by');
?>
<?php if (!empty($_smarty_tpl->tpl_vars['listing']->value['rendered_facets'])) {?>
<div class="hidden-md-up filter-button">
<button id="search_filter_toggler" class="btn btn-secondary">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Filter','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</button>
</div>
<?php }?>
</div>
<div class="col-sm-12 hidden-md-up text-sm-center showing">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Showing %from%-%to% of %total% item(s)','d'=>'Shop.Theme.Catalog','sprintf'=>array('%from%'=>$_smarty_tpl->tpl_vars['listing']->value['pagination']['items_shown_from'],'%to%'=>$_smarty_tpl->tpl_vars['listing']->value['pagination']['items_shown_to'],'%total%'=>$_smarty_tpl->tpl_vars['listing']->value['pagination']['total_items'])),$_smarty_tpl ) );?>
</div>
<div class="col-md-12 collection-view">
<div class="collection-view-btn
<?php if ((isset($_GET['view']))) {?>
<?php if ($_GET['view'] == 'col2') {?>
active
<?php }?>
<?php } else { ?>
<?php if ((isset($_COOKIE['an_collection_view']))) {?>
<?php if ($_COOKIE['an_collection_view'] == 6) {?>
active
<?php }?>
<?php } elseif (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 'col-xs-6') {?>
active
<?php }
}?>" data-xl="6">
<div class="view-type view-type-3">
</div>
</div>
<div class="collection-view-btn
<?php if ((isset($_GET['view']))) {?>
<?php if ($_GET['view'] == 'col3') {?>
active
<?php }?>
<?php } else { ?>
<?php if ((isset($_COOKIE['an_collection_view']))) {?>
<?php if ($_COOKIE['an_collection_view'] == 4) {?>
active
<?php }?>
<?php } elseif (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 'col-xs-4') {?>
active
<?php }
}?>" data-xl="4">
<div class="view-type view-type-2"></div>
</div>
<div class="collection-view-btn
<?php if ((isset($_GET['view']))) {?>
<?php if ($_GET['view'] == 'col4') {?>
active
<?php }?>
<?php } else { ?>
<?php if ((isset($_COOKIE['an_collection_view']))) {?>
<?php if ($_COOKIE['an_collection_view'] == 3) {?>
active
<?php }?>
<?php } elseif (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 'col-xs-3') {?>
active
<?php }
}?>" data-xl="3">
<div class="view-type view-type-1"></div>
</div>
<div class="collection-view-btn
<?php if ((isset($_GET['view']))) {?>
<?php if ($_GET['view'] == 'row') {?>
active
<?php }?>
<?php } else { ?>
<?php if ((isset($_COOKIE['an_collection_view']))) {?>
<?php if ($_COOKIE['an_collection_view'] == 12) {?>
active
<?php }?>
<?php } elseif (Module::isEnabled('an_theme') && Module::getInstanceByName('an_theme')->getParam('categoryPage_productsAmount') == 'col-xs-12') {?>
active
<?php }
}?>" data-xl="12">
<div class="view-type view-type-4"></div>
</div>
</div>
</div>
<?php }
/* {block 'sort_by'} */
class Block_6994060536633d36aebbab3_78023799 extends Smarty_Internal_Block
{
public $subBlocks = array (
'sort_by' =>
array (
0 => 'Block_6994060536633d36aebbab3_78023799',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php $_smarty_tpl->_subTemplateRender('file:catalog/_partials/sort-orders.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('sort_orders'=>$_smarty_tpl->tpl_vars['listing']->value['sort_orders']), 0, false);
?>
<?php
}
}
/* {/block 'sort_by'} */
}