{extend name='main'} {block name="button"} {if auth("add_message")}
{/if} {/block} {block name="content"}

{notempty name='list'}
ID | 标题 | 语言 | 发表时间 | 查看内容
--- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$vo.title} | {$vo.lang} | {$vo.addtime|format_datetime} | {if auth("edit_message")} 编辑 删除 {/if}
{/foreach}

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