{m:include "index","header"}
{m:search field="id,catid,title,updatetime,thumb,url,color,flag,description" keyword="$q" siteid="$siteid" modelid="$modelid" catid="$catid" limit="10" page="page"}

## “{$q}” 的搜索结果，共{$tag->total}条

{loop $data $v} {php $v['color_title'] = str_ireplace($q, "$q", $v['title']);} {php $v['description'] = str_ireplace($q, "$q", $v['description']);}
{if strstr($v['flag'],'1')}顶{/if} {$v[color_title]}

{$v[description]}

{php $tag_data = content_list_tag($v['catid'], $v['id']);} {loop $tag_data $val} {$val[tag]} {/loop}
{/loop}
{$pages}

## 点击排行

{m:hits field="title,url,color,inputtime" modelid="1" 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:lists field="title,url,color,inputtime" modelid="1" limit="10"} {loop $data $v}
- {date('m-d',$v['inputtime'])}{title_color($v['title'], $v['color'])}
{/loop}

PC+WAP+微信三站合一

YzmCMS开源CMS

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