Viewing file: 3ebdbe325eb84e29d5c01f5fe90cf7b5193c487b.file.selector.tpl.php (1.75 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2016-05-16 08:58:34 compiled from "modules/departments/templates/selector.tpl" */ ?> <?php /*%%SmartyHeaderCode:8621139185739618a4682d0-16556028%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '3ebdbe325eb84e29d5c01f5fe90cf7b5193c487b' => array ( 0 => 'modules/departments/templates/selector.tpl', 1 => 1306389660, ), ), 'nocache_hash' => '8621139185739618a4682d0-16556028', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php ob_start();?><?php echo GetParam("DefaultLanguage");?> <?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["depart_title"] = new Smarty_variable("depart_name_".$_tmp1, null, null);?>
<div style="text-align: center">
<form name="pages-depart-select-form" method="post"><?php echo $_smarty_tpl->getVariable('ALANG')->value['PagesChapterSelect'];?>
<select name="depart_id" id="depart_id" onchange="submit();">
<?php $_smarty_tpl->tpl_vars['depart'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('departments')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['depart']->key => $_smarty_tpl->tpl_vars['depart']->value){ ?>
<option value="<?php echo $_smarty_tpl->tpl_vars['depart']->value['depart_id'];?> " <?php if ($_smarty_tpl->tpl_vars['depart']->value['depart_id']==$_smarty_tpl->getVariable('depart_id')->value){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['depart']->value['depart_name_ukr'];?> </option>
<?php }} ?>
</select>
</form></div><br>
|