Viewing file: c460c4a153c89926c271c6cd6e2dd23c877f4c18.file.sgroup-select.tpl.php (1.65 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-08-07 07:18:48 compiled from "modules/publications/templates/sgroup-select.tpl" */ ?> <?php /*%%SmartyHeaderCode:4882425805020972812c921-65272258%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'c460c4a153c89926c271c6cd6e2dd23c877f4c18' => array ( 0 => 'modules/publications/templates/sgroup-select.tpl', 1 => 1344313124, ), ), 'nocache_hash' => '4882425805020972812c921-65272258', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <form method="post">
<input type="hidden" name="group_id" value="<?php echo $_REQUEST['group_id'];?> " />
<center> Виберіть Розділ:
<select name="sgroup_id" onchange="$(this).closest('form').submit();">
<option value="<?php echo $_smarty_tpl->getVariable('row')->value['sgroup_id'];?> ">НЕ КЛАСИФІКОВАНО</option>
<?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('sgroups')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ ?>
<option value="<?php echo $_smarty_tpl->tpl_vars['row']->value['sgroup_id'];?> " <?php if ($_REQUEST['sgroup_id']==$_smarty_tpl->tpl_vars['row']->value['sgroup_id']){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['row']->value['sgroup_name_ukr'];?> </option>
<?php }} ?>
</select> </center></form>
|