{template 'header', $module} {if $action == 'add'}
* 接收号码
[一行一个手机号码]   [我的商友]
* 短信内容
当前已输入0字,计0条({$DT[sms_len]}字/条),可用{$_sms}
      
{elseif $action == 'buy'}
帐户可用余额 {$_money} {$DT[money_unit]}
短信单价 {$fee} {$DT[money_unit]}/条
剩余短信 {$_sms}
* 购买数量 条 
* 支付密码 {template 'password', 'chip'} 
      
{elseif $action == 'record'}
关键词:  {dcalendar('fromtime', $fromtime)} 至 {dcalendar('totime', $totime)}   
{loop $lists $k $v} {/loop}
流水号 发送时间 内容 字数 分条 状态
{$v[itemid]} {$v[sendtime]} {$v[message]} {$v[word]} {$v[num]} {$v[code]}
{$pages}
{elseif $action == 'send'}
关键词:  {dcalendar('fromtime', $fromtime)} 至 {dcalendar('totime', $totime)}   
{loop $lists $k $v} {/loop}
流水号 发送时间 内容 字数 分条 状态
{$v[itemid]} {$v[sendtime]} {$v[message]} {$v[word]} {$v[num]} {$v[code]}
{$pages}
{else}
{$fields_select}      {dcalendar('fromtime', $fromtime)} 至 {dcalendar('totime', $totime)}    
{loop $lists $k $v} {/loop}
流水号 增加 扣除 剩余 发生时间 事由 备注
{$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[addtime]}
小计 {$income} {$expense}  
{$pages}
{/if} {template 'footer', $module}