{template 'header', $module} {if $action == 'login'}

| IP |  |
--- | --- | --- | ---
{loop $lists $k $v}
{$v[logintime]} | {$v[loginip]} | {$v[area]} | {$v[message]}
{/loop}

{else}
{if $action == 'pay'}
{$module_select}
{dcalendar('fromtime', $fromtime)} {dcalendar('totime', $totime)}

|  | ¦Ë |  |  |
--- | --- | --- | --- | --- | ---
{loop $lists $k $v}
{$v[pid]} | {$v[fee]} | {if $v[currency] == 'money'}{$DT[money_unit]}{else}{$DT[credit_unit]}{/if} | {$MODULE[$v[moduleid]][name]} | {$v[title]} | {$v[paytime]}
{/loop}
§³ | {$fee} |

{$pages}
{else}
{$fields_select}
{dcalendar('fromtime', $fromtime)} {dcalendar('totime', $totime)}

{loop $lists $k $v}
{$v[itemid]} | {if $v[amount] > 0}{$v[amount]}{else} {/if} | {if $v[amount] < 0}{$v[amount]}{else} {/if} | {if $v[balance]}{$v[balance]}{else} {/if} | {$v[bank]} | {$v[addtime]} |  |
{/loop}
§³ | {$income} | {$expense} |

{$pages}
{/if} {/if} {template 'footer', $module}