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

*Receiving number | {$mob} [A line of a cellular phone number] [Choose partners]
* Message content | current already input0words，plan0item({$DT[sms_len]}word/item)，available{$_sms}item

{elseif $action == 'buy'}

Account balance | {$_money} {$DT[money_unit]}
unit price | {$fee} {$DT[money_unit]}/条
Remaining messages | {$_sms} item
* Quantity | 条
*PayPassword | {template 'password', 'chip'}

{elseif $action == 'record'}
Keywords： {dcalendar('fromtime', $fromtime)} to {dcalendar('totime', $totime)}

serial number | Send time | content | words | subsection | status
--- | --- | --- | --- | --- | ---
{loop $lists $k $v}
{$v[itemid]} | {$v[sendtime]} | {$v[message]} | {$v[word]} | {$v[num]} | {$v[code]}
{/loop}

{$pages}
{elseif $action == 'send'}
Keywords： {dcalendar('fromtime', $fromtime)} to {dcalendar('totime', $totime)}

serial number | Send time | content | words | subsection | status
--- | --- | --- | --- | --- | ---
{loop $lists $k $v}
{$v[itemid]} | {$v[sendtime]} | {$v[message]} | {$v[word]} | {$v[num]} | {$v[code]}
{/loop}

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

serial number | add | deduct | surplus | Occurrence time | reason | notes
--- | --- | --- | --- | --- | --- | ---
{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[addtime]} |  |
{/loop}
total | {$income} | {$expense} |

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