Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/00/c2/e9/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/00/c2
<?php
/* Smarty version 4.3.1, created on 2024-05-02 19:54:50
from '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/_partials/pagination.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_6633d36af3da33_15236655',
'has_nocache_code' => false,
'file_dependency' =>
array (
'00c2e9e82099f5cf2467033f0795824d1ea204ef' =>
array (
0 => '/home/webdevt/www/schtroumpf.fr/themes/stomp/templates/_partials/pagination.tpl',
1 => 1702566466,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6633d36af3da33_15236655 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<nav class="pagination">
<div class="col-lg-5 text-xs-center text-lg-left">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_18321140266633d36af334f0_95415672', 'pagination_summary');
?>
</div>
<div class="col-lg-7 ">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_6790653186633d36af354d8_77451369', 'pagination_page_list');
?>
</div>
</nav>
<?php }
/* {block 'pagination_summary'} */
class Block_18321140266633d36af334f0_95415672 extends Smarty_Internal_Block
{
public $subBlocks = array (
'pagination_summary' =>
array (
0 => 'Block_18321140266633d36af334f0_95415672',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?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['pagination']->value['items_shown_from'],'%to%'=>$_smarty_tpl->tpl_vars['pagination']->value['items_shown_to'],'%total%'=>$_smarty_tpl->tpl_vars['pagination']->value['total_items'])),$_smarty_tpl ) );?>
<?php
}
}
/* {/block 'pagination_summary'} */
/* {block 'pagination_page_list'} */
class Block_6790653186633d36af354d8_77451369 extends Smarty_Internal_Block
{
public $subBlocks = array (
'pagination_page_list' =>
array (
0 => 'Block_6790653186633d36af354d8_77451369',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php if ($_smarty_tpl->tpl_vars['pagination']->value['should_be_displayed']) {?>
<ul class="page-list clearfix text-xs-center ">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pagination']->value['pages'], 'page');
$_smarty_tpl->tpl_vars['page']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['page']->value) {
$_smarty_tpl->tpl_vars['page']->do_else = false;
?>
<li <?php if ($_smarty_tpl->tpl_vars['page']->value['current']) {?> class="current" <?php }?>>
<?php if ($_smarty_tpl->tpl_vars['page']->value['type'] === 'spacer') {?>
<span class="spacer">…</span>
<?php } else { ?>
<a
rel="<?php if ($_smarty_tpl->tpl_vars['page']->value['type'] === 'previous') {?>prev<?php } elseif ($_smarty_tpl->tpl_vars['page']->value['type'] === 'next') {?>next<?php } else { ?>nofollow<?php }?>"
href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['page']->value['url'], ENT_QUOTES, 'UTF-8');?>
"
class="<?php if ($_smarty_tpl->tpl_vars['page']->value['type'] === 'previous') {?>previous <?php } elseif ($_smarty_tpl->tpl_vars['page']->value['type'] === 'next') {?>next <?php }
echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'classnames' ][ 0 ], array( array('disabled'=>!$_smarty_tpl->tpl_vars['page']->value['clickable'],'js-search-link'=>true) )), ENT_QUOTES, 'UTF-8');?>
"
>
<?php if ($_smarty_tpl->tpl_vars['page']->value['type'] === 'previous') {?>
<i class="material-icons"></i><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Previous','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
<?php } elseif ($_smarty_tpl->tpl_vars['page']->value['type'] === 'next') {?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Next','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
<i class="material-icons"></i>
<?php } else { ?>
<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['page']->value['page'], ENT_QUOTES, 'UTF-8');?>
<?php }?>
</a>
<?php }?>
</li>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
<?php
}
}
/* {/block 'pagination_page_list'} */
}