foreach ($_from as $this->_tpl_vars['exp_bans']) { ?> <tr> <td align="center" nowrap><b><?php echo is_array($_tmp = $this->_tpl_vars['exp_bans']['ban_created']) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d.%m.%Y") : smarty_modifier_date_format($_tmp, "%d.%m.%Y"); ?> </b></td> <td align="center" nowrap><?php if ($this->_tpl_vars['exp_bans']['ban_length'] == 0) { echo is_array($_tmp = '_PERMANENT') ? $this->_run_mod_handler('lang', true, $_tmp) : smarty_modifier_lang($_tmp); } elseif ($this->_tpl_vars['exp_bans']['ban_length'] == -1) { echo is_array($_tmp = '_UNBANNED') ? $this->_run_mod_handler('lang', true, $_tmp) : smarty_modifier_lang($_tmp); } else { ?> <?php echo is_array($_tmp = $this->_tpl_vars['exp_bans']['ban_length'] * 60) ? $this->_run_mod_handler('date2word', true, $_tmp, true) : smarty_modifier_date2word($_tmp, true); } ?> </td> <td nowrap><?php echo $this->_tpl_vars['exp_bans']['ban_reason']; ?> </td> <?php if ($this->_tpl_vars['show_admin'] == 1) { ?> <td align="center" nowrap><?php echo $this->_tpl_vars['exp_bans']['admin_nick']; ?> </td><?php }
<?php echo is_array($_tmp = $this->_tpl_vars['ban_list']['ban_end']) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d %b %Y - %T") : smarty_modifier_date_format($_tmp, "%d %b %Y - %T"); ?> <?php if ($this->_tpl_vars['ban_list']['ban_end'] < time()) { ?> (<?php echo is_array($_tmp = '_ALREADYEXP') ? $this->_run_mod_handler('lang', true, $_tmp) : smarty_modifier_lang($_tmp); ?> ) <?php } else { ?> <i>(<?php echo is_array($_tmp = $this->_tpl_vars['ban_list']['ban_end'] - time()) ? $this->_run_mod_handler('date2word', true, $_tmp) : smarty_modifier_date2word($_tmp); ?> <?php echo is_array($_tmp = '_REMAINING') ? $this->_run_mod_handler('lang', true, $_tmp) : smarty_modifier_lang($_tmp); ?> )</i> <?php } ?> <?php } ?> </td> </tr> <tr> <td class="fat"><?php
?> <?php if ($this->_tpl_vars['try']) { ?> <span class='errored'><?php echo is_array($_tmp = '_LOGINTRY') ? $this->_run_mod_handler('lang', true, $_tmp) : smarty_modifier_lang($_tmp); ?> <?php echo $this->_tpl_vars['try']; ?> /3</span><br /><?php } ?> <?php if ($this->_tpl_vars['block_left']) { ?> <span class='errored'><?php echo is_array($_tmp = $this->_tpl_vars['block_left']) ? $this->_run_mod_handler('date2word', true, $_tmp, true) : smarty_modifier_date2word($_tmp, true); ?> <?php echo is_array($_tmp = '_REMAINING') ? $this->_run_mod_handler('lang', true, $_tmp) : smarty_modifier_lang($_tmp); ?> </span><br /><?php } ?> </table> </fieldset> </form> </td> </tr> </table>