<?php
/* Smarty version 4.5.2, created on 2024-05-16 10:41:01
  from '/home/life/public_html/yzb.lifestyle.uz/admin/templates/module/pagination.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_6645e2bd984828_84681128',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '12c35c4eb2d56d3ba3e4e76314aea358e3ca5627' => 
    array (
      0 => '/home/life/public_html/yzb.lifestyle.uz/admin/templates/module/pagination.tpl',
      1 => 1679630384,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6645e2bd984828_84681128 (Smarty_Internal_Template $_smarty_tpl) {
if ((isset($_smarty_tpl->tpl_vars['pageNums']->value)) && $_smarty_tpl->tpl_vars['pageNums']->value > 0) {?>
	<div class="card-footer d-sm-flex justify-content-sm-between align-items-sm-center">
		<div class="text-muted">Результаты <?php if ((isset($_smarty_tpl->tpl_vars['pageNums']->value['startIteration']))) {?>с <b><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['pageNums']->value['startIteration'], ENT_QUOTES, 'UTF-8', true);?>
</b> по <b><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['pageNums']->value['endIteration'], ENT_QUOTES, 'UTF-8', true);?>
</b> из <b><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['pageNums']->value['totalItems'], ENT_QUOTES, 'UTF-8', true);?>
</b><?php } else { ?> <b>0</b><?php }?></div>
        <?php if ((isset($_smarty_tpl->tpl_vars['pageNums']->value['pages']))) {?>
			<ul class="pagination pagination-spaced pagination-sm">
				<li class="page-item <?php if (!(isset($_smarty_tpl->tpl_vars['pageNums']->value['previousPage']))) {?>disabled<?php }?>">
					<a class="page-link rounded" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
?page=<?php if ((isset($_smarty_tpl->tpl_vars['pageNums']->value['previousPage']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['pageNums']->value['previousPage'], ENT_QUOTES, 'UTF-8', true);
}
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['params']->value, ENT_QUOTES, 'UTF-8', true);?>
">←</a>
				</li>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pageNums']->value['pages'], 'number');
$_smarty_tpl->tpl_vars['number']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['number']->value) {
$_smarty_tpl->tpl_vars['number']->do_else = false;
?>
                    <?php if ($_smarty_tpl->tpl_vars['number']->value == $_smarty_tpl->tpl_vars['page']->value) {?>
						<li class="page-item active"><a class="page-link rounded" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
?page=<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['number']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['params']->value, ENT_QUOTES, 'UTF-8', true);?>
"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['number']->value, ENT_QUOTES, 'UTF-8', true);?>
</a></li>
                    <?php } elseif ($_smarty_tpl->tpl_vars['number']->value == '...') {?>
						<li class="page-item"><a class="page-link rounded">...</a></li>
                    <?php } else { ?>
						<li class="page-item"><a class="page-link rounded" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
?page=<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['number']->value, ENT_QUOTES, 'UTF-8', true);
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['params']->value, ENT_QUOTES, 'UTF-8', true);?>
"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['number']->value, ENT_QUOTES, 'UTF-8', true);?>
</a></li>
                    <?php }?>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

				<li class="page-item <?php if (!(isset($_smarty_tpl->tpl_vars['pageNums']->value['nextPage']))) {?>disabled<?php }?>">
					<a  class="page-link rounded" href="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
?page=<?php if ((isset($_smarty_tpl->tpl_vars['pageNums']->value['nextPage']))) {
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['pageNums']->value['nextPage'], ENT_QUOTES, 'UTF-8', true);
}
echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['params']->value, ENT_QUOTES, 'UTF-8', true);?>
" >→</a>
				</li>
			</ul>
        <?php }?>
	</div>
<?php }
}
}
