{template 'common/header'}
{if $do == 'list'}
新闻列表
全部 {loop $categroys $key $categroy} {if $key} {$categroy['title']} {/if} {/loop}
{if !empty($data)}

{loop $data $da}
- {$da['title']} {php echo date('Y-m-d', $da['createtime']);}
{/loop}

{$pager}
{else}
暂无数据
{/if}
{/if} {if $do == 'detail'}

### {$news['title']}

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