{template "content","header"}
{pc:content action="position" posid="$posid" catid="$catid" thumb="1" order="listorder desc" num="6"} {/pc}
{$catname}
{pc:content action="lists" catid="$catid" num="13" order="id DESC" page="$page"}
    {loop $data $r}
  • {$r[title]}

    {str_cut($r[description],250,'..')}
    {date('Y-m-d',$r[inputtime])} 分类:{$CATEGORYS[$r[catid]][catname]} {php $h_md=pc_base::load_model('hits_model');$get_db=$h_md->get_one(array('hitsid'=>"c-".$modelid."-".$r[id]));$views=$get_db[views];} 点击:{$views} {php $keywords = explode(' ',$r[keywords]);} 标签:{loop $keywords $keyword} {$keyword} {/loop}

  • {/loop}
{$pages}
{/pc}
热点:广告
{show_ad(1, 11)}
热点:月排行
    {pc:content action="hits" catid="$catid" num="10" order="monthviews DESC" cache="3600"} {loop $data $v}
  • {str_cut($v['title'],40)}{number_format($v[monthviews])}
  • {/loop} {/pc}
热点:总排行
    {pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"} {loop $data $v}
  • {str_cut($v['title'],40)}{number_format($v[views])}
  • {/loop} {/pc}
{template "content","footer"}