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

时间 | IP | 地区 | 结果
--- | --- | --- | ---
{loop $lists $k $v}
{$v[logintime]} | {$v[loginip]} | {$v[area]} | {$v[message]}
{/loop}

{else}
{if $action == 'pay'}
{$module_select}
{dcalendar('fromdate', $fromdate)} 至 {dcalendar('todate', $todate)}

流水号 | 金额 | 单位 | 模块 | 标题 | 支付时间
--- | --- | --- | --- | --- | ---
{loop $lists $k $v}
{$v[itemid]} | -{$v[fee]} | {if $v[currency] == 'money'}{$DT[money_unit]}{else}{$DT[credit_unit]}{/if} | {$MODULE[$v[mid]][name]} | {$v[title]} | {$v[paytime]}
{/loop}
小计 | {$fee} |

{$pages}
{elseif $action == 'award'}
{$module_select} {dcalendar('fromdate', $fromdate)} 至 {dcalendar('todate', $todate)}

流水号 | 金额 | 模块 | 标题 | 支付时间
--- | --- | --- | --- | ---
{loop $lists $k $v}
{$v[itemid]} | -{$v[fee]} | {$MODULE[$v[mid]][name]} | {$v[title]} | {$v[paytime]}
{/loop}
小计 | {$fee} |

{$pages}
{else}
{$fields_select}
{dcalendar('fromdate', $fromdate)} 至 {dcalendar('todate', $todate)}

流水号 | 收入 | 支出 | 余额 | 银行 | 发生时间 | 事由 | 备注
--- | --- | --- | --- | --- | --- | --- | ---
{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', 'member'}