{template 'common/header'}
{if $do == 'list'} {if !empty($data)} {loop $data $da} {/loop} {else} {/if}
名称 类型 发布时间
{$da['title']} 新闻 {$da['createtime']}
暂无数据
{$pager}
{/if} {if $do == 'detail'}

{$news['title']}

作者:{$news['author']} 来源:{$news['source']} 时间:{php echo date('Y-m-d H:i', $news['createtime']);} 阅读:{$news['click']}次
{php echo html_entity_decode($news['content'], ENT_QUOTES)}
{/if}
{template 'common/footer'}