{m:include "index","header"}

## {get_catname($catid)}

{m:lists field="title,updatetime,url,color,flag" catid="$catid" limit="20" page="page"} {loop $data $v}
- {date('Y-m-d', $v['updatetime'])} {if strstr($v['flag'],'1')}顶{/if} {title_color($v['title'], $v['color'])}
{/loop}

{$pages}

## 点击排行

{m:hits field="title,url,color,inputtime" catid="$catid" limit="10" cache="3600"} {loop $data $k=>$v} {php $k=$k+1;}
- {$k}{date('m-d',$v['inputtime'])}{title_color($v['title'], $v['color'])}
{/loop}

## 热门标签

{m:tag field="id,tag,total,remarks" catid="$catid" limit="30"} {loop $data $v}
- {$v[tag]}({$v[total]})
{/loop}

{m:include "index","footer"}