{extend name='akszadmin@main'} {block name="content"}
{include file='sms/class_search'}

{notempty name='list'}
短信名称 | 短信内容 | 状态 | 备注 | 操作
--- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.type|default=''} | {$vo.msg} | {if $vo.status == 0} 已关闭 {/if} {if $vo.status == 1} 已开启 {/if} | {$vo.code} | {if $vo.status eq 1 and auth("forbid")} 关 闭 {elseif auth("resume")} 启 用 {/if} {if auth("edit")} 编 辑 {/if}
{/foreach}

{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}