Viewing file: a99c3406027de06152ec8cbcbfeda32a987c61c5.file.search-result.tpl.php (6.11 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2022-03-08 14:11:24 compiled from "user/templates/searchinsite/search-result.tpl" */ ?> <?php /*%%SmartyHeaderCode:1263151459622747ecb81362-29672727%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'a99c3406027de06152ec8cbcbfeda32a987c61c5' => array ( 0 => 'user/templates/searchinsite/search-result.tpl', 1 => 1328738842, ), ), 'nocache_hash' => '1263151459622747ecb81362-29672727', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <br> <form name="searchinsite-form" method="get" action="/search"> <table class="search-form-table" align="center"> <tr> <td><?php echo $_smarty_tpl->getVariable('ULANG')->value['SearchKeywords'];?> : </td> <td><input name="text" type="text" size="60" value="<?php echo htmlspecialchars(stripslashes($_GET['text']));?> " /></td> </tr> <tr> <td> </td> <td><input type="submit" value="<?php echo $_smarty_tpl->getVariable('ULANG')->value['SearchButton'];?> " /></td> </tr> </table> </form><br> <?php if (count($_smarty_tpl->getVariable('rows')->value)>0){?> <?php echo $_smarty_tpl->getVariable('navigator')->value;?>
<table class="search-results-table" border="0" cellspacing="1"> <tr> <th> </th> <th><?php echo $_smarty_tpl->getVariable('ULANG')->value['SearchResultTitle'];?> </th> </tr> <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']); $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('rows')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['name'] = 'cycle'; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['step'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['loop']-1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['cycle']['total']); ?> <tr> <td width="20" align="right" valign="top"><?php echo $_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['number'];?> </td> <td><a href="<?php echo $_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['Link'];?> "><?php echo $_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['Title'];?> | <?php echo $_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['Module'];?> </a> <?php if (isset($_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['NewWindowLink'])){?> <a target="_blank" href="<?php echo $_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['NewWindowLink'];?> " title="<?php echo $_smarty_tpl->getVariable('ULANG')->value['SearchResultOpenInNewWindow'];?> "><img align="absmiddle" src="/user/icons/new-window.gif" /></a> <?php }?> <?php if (isset($_smarty_tpl->getVariable('rows')->value[$_smarty_tpl->getVariable('smarty')->value['section']['cycle']['index']]['Download'])){?> <a target=_blank href=<?php echo $_smarty_tpl->getVariable('new_rows')->value[$_smarty_tpl->getVariable('i')->value]['Download'];?> title=Download><img align=absmiddle src=/user/icons/download.gif /></a> <?php }?> </td> </tr> <?php endfor; endif; ?> </table> <?php echo $_smarty_tpl->getVariable('navigator')->value;?>
<?php }else{ ?> <div class="search-result-nothing"><?php echo $_smarty_tpl->getVariable('ULANG')->value['SearchNothingFound'];?> </div> <?php }?>
|