<?php
/* Smarty version 4.5.2, created on 2024-04-15 09:45:42
  from '/Users/nikolaimv/Sites/admin.panel.11.loc/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_661cb0f674f042_72413539',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd452b4d1f7cc716dfeba09ac13cc509a9b87680e' => 
    array (
      0 => '/Users/nikolaimv/Sites/admin.panel.11.loc/admin/templates/module/show-by.tpl',
      1 => 1680653726,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_661cb0f674f042_72413539 (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 }
}
