{extend name='main'} {block name="button"} {if auth("add_message")} {/if} {/block} {block name="content"}
{notempty name='list'} {/notempty} {foreach $list as $key=>$vo} {/foreach}
ID 标题 发表时间 查看内容
{$vo.id} {$vo.title} {$vo.addtime|format_datetime} {if auth("edit_message")} 编辑 删除 {/if}
{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}