This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/session/search_show.tpl
2011-05-03 09:49:01 +10:00

45 lines
1.6 KiB
Smarty

{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{$method->exe($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{include file='file:../core/search_show_pre.tpl'}
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
{$method->exe_noauth($meth.0,'tpl_search_show')}
{foreach from=$search_show item=record}
{include file='file:../core/search_show_tr_record.tpl'}
<td>{$list->date($record.date_orig)}</td>
<td>{$list->date_time($record.date_last)}</td>
<td>{$record.ip}</td>
<td>
{if $record.account_id == '0'}
{t}None{/t}
{else}
{$record.account_id}
{/if}
</td>
<td style="text-align: center;">
<a href="?_page=core:search&amp;module=account&amp;account_username={$record.account_id}"><img src="themes/{$THEME_NAME}/images/icons/user_16.gif" alt="{t}Export these search results to XML, PDF, Excel, Comma or Tab Separated Values.{/t}" width="16" height="16" style="border: 0px;"/></a>
{if $record.logged == '1'}
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" alt="Go" width="16" height="16" style="border: 0px;"/>
{else}
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" alt="Stop" width="16" height="16" style="border: 0px;"/>
{/if}
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
{include file='file:../core/search_show_post-1.tpl'}
{include file='file:../core/search_show_post-2.tpl'}
{/if}