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/view.tpl
2011-05-03 09:49:01 +10:00

101 lines
3.7 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/view_pre.tpl'}
<!-- Display the field validation -->
{if $form_validation}
{$block->display('core:alert_fields')}
{/if}
<!-- Display each record -->
<form id="view" method="post" action="" enctype="multipart/form-data">
<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 class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=date_orig}</td>
<td style="width: 65%;">{$list->date_time($record.date_orig)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=date_last}</td>
<td style="width: 65%;">{$list->date_time($record.date_last)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=date_expire}</td>
<td style="width: 65%;">{$list->date_time($record.date_expire)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=logged}</td>
<td style="width: 65%;">
{if $record.logged == "1"}
{t}True{/t}
{else}
{t}False{/t}
{/if}
</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=ip}</td>
<td style="width: 65%;">{$record.ip}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=theme_id}</td>
<td style="width: 65%;">{$list->menu_files('','session_theme_id',$record.theme_id,'theme','','.user_theme','form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=country_id}</td>
<td style="width: 65%;">{osb f=html_select_name name='session_country_id' table='country' method='country' default=$record.country_id}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=language_id}</td>
<td style="width: 65%;">{$list->menu_files('no','session_language_id',$record.language_id,'language','','_core.xml','form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=currency_id}</td>
<td style="width: 65%;">{$list->menu('no','session_currency_id','currency','name',$record.currency_id,'form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=account_id}</td>
<td style="width: 65%;">{osb f=html_select_account name='session_account_id' default=$record.account_id}</td>
</tr>
{if $list->is_installed('affiliate')}
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=affiliate_id}</td>
<td style="width: 65%;">{osb f=html_select_affiliate name='session_affiliate_id' default=$record.affiliate_id}</td>
</tr>
{/if}
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="6" cellpadding="1" class="row1">
<tr class="row1">
<td>&nbsp;</td>
{include file='file:../core/view_td_delete.tpl'}
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{include file='file:../core/view_post.tpl'}
</form>
{/if}