{template 'common/header-cms'}
{if $do == 'list'}
所有新闻 {loop $categroys $key $categroy} {if $key} {$categroy['title']} {/if} {/loop}

##### 新闻列表

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

{$pager} {/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-cms'}