Viewing file: e557d3eeb650c75965365f8cb650145ef5734f84.file.panel.tpl.php (2.96 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2011-05-11 00:09:17 compiled from "user/templates/laws/panel.tpl" */ ?> <?php /*%%SmartyHeaderCode:11609490144dc9a97d881cb1-29438367%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'e557d3eeb650c75965365f8cb650145ef5734f84' => array ( 0 => 'user/templates/laws/panel.tpl', 1 => 1305061748, ), ), 'nocache_hash' => '11609490144dc9a97d881cb1-29438367', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <form name="lawsearchpanel" method="get" action="/laws" style="font-size:8pt;"> <?php echo $_smarty_tpl->getVariable('ULANG')->value['LawsSearchFormKeywords'];?> :<br /> <input name="law_text" type="text" value="<?php echo $_GET['law_text'];?> " style="width:140px;"/><br /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['LawsSearchFormNumber'];?> :<br /> <input name="law_number" size="10" type="text" value="<?php echo $_GET['law_number'];?> "/><br /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['LawsSearchFormType'];?> :<br /> <select name="law_type_id" style="width:140px;"> <option> </option> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('types')->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['type_id'];?> "}<?php if ($_GET['law_type_id']==$_smarty_tpl->tpl_vars['row']->value['type_id']){?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['row']->value["type_name_".($_smarty_tpl->getVariable('alang')->value)];?> </option> <?php }} ?> </select> <br /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['LawsSearchFormPublisher'];?> :<br /> <select name="law_publisher_id" style="width:140px;"> <option> </option> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('publishers')->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['publisher_id'];?> "}<?php if ($_GET['law_publisher_id']==$_smarty_tpl->tpl_vars['row']->value['publisher_id']){?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['row']->value["publisher_name_".($_smarty_tpl->getVariable('alang')->value)];?> </option> <?php }} ?> </select><br /> <div class="buttons"> <button type="submit" name="submit" id="submit" class="ui-state-default ui-widget ui-corner-all"><?php echo $_smarty_tpl->getVariable('ULANG')->value['SearchButton'];?> </button> </div> </form>
|