Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/31/67/e8/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/31/67
<?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/sort-orders.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_6633d36af02d29_12099946',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3167e8251460ae436c0f97054540940426d6431b' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/sort-orders.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6633d36af02d29_12099946 (Smarty_Internal_Template $_smarty_tpl) {
?><span class="hidden-sm-down sort-by">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sort by:','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
</span>
<div class=" products-sort-order dropdown">
<button
class="btn-unstyle select-title"
rel="nofollow"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
<?php if ((isset($_smarty_tpl->tpl_vars['listing']->value['sort_selected']))) {
echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['listing']->value['sort_selected'], ENT_QUOTES, 'UTF-8');
} else {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Select','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );
}?>
<i class="material-icons float-xs-right"></i>
</button>
<div class="dropdown-menu">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['listing']->value['sort_orders'], 'sort_order');
$_smarty_tpl->tpl_vars['sort_order']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sort_order']->value) {
$_smarty_tpl->tpl_vars['sort_order']->do_else = false;
?>
<a
rel="nofollow"
href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['sort_order']->value['url'], ENT_QUOTES, 'UTF-8');?>
"
class="select-list <?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'classnames' ][ 0 ], array( array('current'=>$_smarty_tpl->tpl_vars['sort_order']->value['current'],'js-search-link'=>true) )), ENT_QUOTES, 'UTF-8');?>
"
>
<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['sort_order']->value['label'], ENT_QUOTES, 'UTF-8');?>
</a>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
<?php }
}