<?php
/* Smarty version 4.5.2, created on 2024-08-14 11:31:20
  from '/home/life/public_html/teg.lifestyle.uz/admin/templates/module/show-by.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.2',
  'unifunc' => 'content_66bc9588d6edf1_69437900',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '1efcf265a74da9bf57d2bd253fbb58db60cfd4bc' => 
    array (
      0 => '/home/life/public_html/teg.lifestyle.uz/admin/templates/module/show-by.tpl',
      1 => 1680653726,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66bc9588d6edf1_69437900 (Smarty_Internal_Template $_smarty_tpl) {
?><form action="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post" class="ms-md-3">
    <?php $_smarty_tpl->_assignInScope('aSizes', array(10,20,50,100,200,500));?>
	<select class="form-control select" onchange="this.form.submit()" name="limit" data-width="160" data-container-css-class="select-sm">
		<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['aSizes']->value, 'size');
$_smarty_tpl->tpl_vars['size']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['size']->value) {
$_smarty_tpl->tpl_vars['size']->do_else = false;
?>
			<option value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['size']->value, ENT_QUOTES, 'UTF-8', true);?>
" <?php if (!empty($_smarty_tpl->tpl_vars['limit']->value) && $_smarty_tpl->tpl_vars['limit']->value == $_smarty_tpl->tpl_vars['size']->value) {?>selected<?php }?>>Показать по: <?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['size']->value, ENT_QUOTES, 'UTF-8', true);?>
</option>
		<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
	</select>
</form><?php }
}
