<{if $op=="creat_newspaper" or $op=="modify"}>

<{$smarty.const._MA_TADNEWS_NP_STEP1}>

<{$nps_theme}>
<{$smarty.const._MA_TADNEWS_NP_CONTENT_HEAD_DESC}>
<{$smarty.const._MA_TADNEWS_NP_CONTENT_FOOT_DESC}>
<{$hidden}>
<{elseif $op=="add_newspaper"}>

<{$smarty.const._MA_TADNEWS_NP_STEP2}>

<{$newspaper_set_title}>




<{elseif $op=="edit_newspaper"}>

<{$smarty.const._MA_TADNEWS_NP_STEP3}>

<{$smarty.const._MA_TADNEWS_NP_SUB_TITLE}>
<{$editor}>
<{elseif $op=="sendmail"}>

<{$smarty.const._MA_TADNEWS_NP_STEP4}>

<{$total}>
<{assign var="i" value=0}> <{foreach item=log from=$log }> <{if !$i}><{/if}> <{assign var="i" value=$i+1}> <{if $i == 2}><{assign var="i" value=0}><{/if}> <{/foreach}>
<{$log.data}>
<{elseif $op=="newspaper_email"}>

<{$title}><{$smarty.const._MA_TADNEWS_NP_EMAIL}>

<{$back}>
<{assign var="i" value=0}> <{foreach item=log from=$log }> <{if !$i}><{/if}> <{if $log.edit}> <{else}> <{/if}> <{assign var="i" value=$i+1}> <{if $i == 2}><{assign var="i" value=0}><{/if}> <{/foreach}>
<{$bar}>
<{$log.email}> <{if $log.ok=="ok"}> <{$log.ok}> <{else}> <{$log.ok}> <{/if}> <{$log.order_date}> <{$smarty.const._TADNEWS_EDIT}> <{$smarty.const._TADNEWS_DEL}> <{$log.data}>
<{$bar}>

<{elseif $op=="sendmail_log"}>

<{$title}>

<{$back}>
<{if $empty}>
<{$smarty.const._MA_TADNEWS_EMPTY_LOG}>
<{else}> <{assign var="i" value=0}> <{foreach item=log from=$log }> <{assign var="i" value=$i+1}> <{if $i == 2}><{assign var="i" value=0}><{/if}> <{/foreach}>
<{$log.email}> <{$log.send_time}> <{$log.log}>
<{/if}> <{else}>

<{$smarty.const._MA_TADNEWS_NP_LIST}>

<{$js}>
<{$create_btn}> <{$del_btn}> <{$edit_btn}>
<{if $nps_sn}> <{foreach item=np from=$newspaper}> <{/foreach}>
<{$smarty.const._MA_TADNEWS_NP_TITLE}> <{$smarty.const._MA_TADNEWS_NP_DATE}> <{$smarty.const._MA_TADNEWS_FUNCTION}>
<{$np.title}><{$np.number}> <{$np.np_date}> <{$smarty.const._TADNEWS_EDIT}> <{$smarty.const._TADNEWS_DEL}> <{$smarty.const._MA_TADNEWS_SEND_LOG}> <{$smarty.const._MA_TADNEWS_SEND_NOW}>
<{/if}> <{/if}>