115 lines
4.2 KiB
Smarty
115 lines
4.2 KiB
Smarty
{ $method->exe("login_log","search_form") }
|
|
{ if ($method->result == FALSE) }
|
|
{ $block->display("core:method_error") }
|
|
{else}
|
|
|
|
<form name="search_form" method="post" action="">
|
|
|
|
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
<tr valign="top">
|
|
<td width="65%" class="table_heading">
|
|
<div align="center">
|
|
{translate module=login_log}
|
|
title_search
|
|
{/translate}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="65%" class="row1">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate module=login_log}
|
|
field_account_id
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
{html_select_account name="login_log_account_id" default=$VAR.login_log_account_id}
|
|
</td>
|
|
</tr>
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate module=login_log}
|
|
field_ip
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
<input type="text" value="{$VAR.login_log_ip}" name="login_log_ip" size="24">
|
|
{translate}
|
|
search_partial
|
|
{/translate}
|
|
</td>
|
|
</tr>
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate module=login_log}
|
|
field_date_orig
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
{ $list->calender_search("login_log_date_orig", $VAR.login_log_date_orig, "form_field", "") }
|
|
</td>
|
|
</tr>
|
|
<!-- Define the results per page -->
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate module=login_log}
|
|
field_status
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
{ $list->bool("login_log_status", "all", "form_menu") }
|
|
</td>
|
|
</tr>
|
|
<!-- Define the order by field per page -->
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate}
|
|
search_results_per
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
<input type="text" name="limit" size="5" value="{$login_log_limit}">
|
|
</td>
|
|
</tr>
|
|
<tr class="row1" valign="top">
|
|
<td width="35%">
|
|
{translate}
|
|
search_order_by
|
|
{/translate}
|
|
</td>
|
|
<td width="65%">
|
|
<select name="order_by">
|
|
{foreach from=$login_log item=record}
|
|
<option value="{$record.field}">
|
|
{$record.translate}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr class="row1" valign="top">
|
|
<td width="35%"></td>
|
|
<td width="65%">
|
|
<input type="submit" name="Submit" value="{translate}search{/translate}" class="form_button">
|
|
<input type="hidden" name="_page" value="core:search">
|
|
<input type="hidden" name="_escape" value="Y">
|
|
<input type="hidden" name="module" value="login_log">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
{ $block->display("core:saved_searches") }
|
|
{ $block->display("core:recent_searches") }
|
|
{/if}
|