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

## {get_catname($catid)}

当前位置：{get_location($catid)}

# {$title}

更新时间：{date('Y-m-d H:i:s',$updatetime)} 编辑：{$nickname} 浏览：{$click}
{$description}
{if $allow_read} {$content} {else}

阅读此内容需要您支付{$readpoint}{if $paytype==1}点积分{else}元{/if}，点击支付

{/if}
{m:centent_tag modelid="$modelid" id="$id" limit="10"} {loop $data $v} {$v[tag]} {/loop}
收藏 打印

上一篇：{$pre}

下一篇：{$next}

## 相关内容

{m:relation field="title,url,color,updatetime" modelid="$modelid" id="$id" limit="5"} {loop $data $v}
- {date('Y-m-d', $v['updatetime'])} {title_color($v['title'], $v['color'])}
{/loop}

## 文章评论

表情 {if $site['comment_code']} {/if}

{m:comment_list modelid="$modelid" catid="$catid" id="$id" limit="20"}
共 {get_comment_total($id, $catid, $modelid)} 条评论，查看全部

{loop $data $v}
- {if $v['userid']} {else} {/if}
  {if $v['userid']} {$v[username]} {else} 游客 {/if}

  {nl2br($v['content'])}

  {date('Y-m-d H:i:s',$v['inputtime'])} 回复

  {if $site['comment_code']} {/if}
{/loop} {if empty($data)}
- 这篇文章还没有收到评论，赶紧来抢沙发吧~
{/if}

## 点击排行

{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:content_archives modelid="$modelid" type="2" limit="10" cache="3600"} {loop $data $v}
- {$v[pubtime]}({$v[total]})
{/loop}

PC+WAP+微信三站合一

YzmCMS开源CMS

## 评论排行榜

{m:comment_ranking modelid="1" limit="10" cache="3600"} {loop $data $v}
- {$v[title]}
{/loop}

## 热门标签

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

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