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

| title | category | add time
--- | --- | --- | ---
{loop $mails $k $v}
| {$v[title]} | {$TYPE[$v['typeid']]['typename']} | {$v[adddate]}
{/loop}

{$pages}
{elseif $action == 'show'}

Mail title | {$r[title]}
Mail text | {$r[content]}
Adding time | {$r[adddate]}
Update time | {$r[editdate]}

{else}

explain | 1、choice, you are interested in the classification, click subscribe to the registered mail will you add to subscribe to list, the system will send periodic to your mailbox subscription content. 2、cancel a classification to remove its first selected (add a classification it directly chosen), and then click subscribe can be updated. 3、Click unsubscribe, the system will be canceled all of your subscription, and will be your E-mail address from the subscription list removed。 4、Subscribe to classification may will be regularly updated, please feel free to attention。 5、If unable to properly receive the email, please {$DT[mail_sender]} Join your mail white list。
*classification | {if $TYPE} {loop $TYPE $k $v} {if $k%4==0}
{/if} {$v[typename]} {if $k%4==3}
{/if} {/loop} {else} can not complete, no classification {/if}
Email address | {$_email}{if $r} [ Subscribe to time：{$addtime} Last updated：{$edittime} ]{/if}

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