{template 'header', 'member'}
返回
{if $action == 'buy'}短信购买{elseif $action == 'record'}发送记录{else}短信记录{/if}
{if $action == 'buy'} 取消 {elseif $action == 'record'} 发送 {else} 购买 {/if}
{if $action == 'buy'}

- {$_sms}条可用短信
- {$fee}{$DT[money_unit]}/条短信单价
- 0.00{$DT[money_unit]}应付总额

- {$_money}{$DT[money_unit]}账户余额

{php $PAYLIST = get_paylist();}

{loop $PAYLIST $k $v}
- {$v[name]} {if $v[percent]>0}手续费 {$v[percent]}%{/if}
{/loop}

{elseif $action == 'record'}

- 短信记录
- 发送记录

{if $lists} {loop $lists $v}

- {$v[word]}字/{$v[num]}条 {$v[mobile]}
- {$v[code]}{$v[sendtime]}

{$v[message]}
{/loop} {/if} {if $pages}
{$pages}
{/if} {else}

- 短信记录
- 发送记录

{if $lists} {loop $lists $v}

- 余额:{$v[balance]} {if $v[amount] < 0} {$v[amount]} {else} +{$v[amount]} {/if}
- {$v[reason]} / {$v[note]}{$v[addtime]}

{/loop} {/if} {if $pages}
{$pages}
{/if} {/if} {if $action == 'buy'}
{/if} {template 'footer', 'member'}