{template "content","header"}
{template "content","left_nav"}

最新{$tag}

    {php $categorys = getcache('category_content_'.$siteid,'commons');} {loop $datas $v} {php $category = $categorys[$v[catid]];} {php $modelid = $category['modelid'];} {php $db = pc_base::load_model('hits_model'); $_r = $db->get_one(array('hitsid'=>'c-'.$modelid.'-'.$v[id])); $views = $_r[views]; } {php $comment_tag = pc_base::load_app_class("comment_tag", "comment"); $comment_total = $comment_tag->count(array('commentid'=>'content_'.$v[catid].'-'.$v[id].'-'.$modelid));}
  • {$v['title']}
  • {/loop}

应用推荐 TOP 20

    {pc:content action="hits" catid="$catid" num="20" order="views DESC" where="`thumb`!='' AND `status`=99" moreinfo="1" return="info"} {php $categorys = getcache('category_content_'.$siteid,'commons');} {loop $info $v} {php $category = $categorys[$v[catid]];} {php $modelid = $category['modelid'];} {php $db = pc_base::load_model('hits_model'); $_r = $db->get_one(array('hitsid'=>'c-'.$modelid.'-'.$v[id])); $views = $_r[views]; } {php $comment_tag = pc_base::load_app_class("comment_tag", "comment"); $comment_total = $comment_tag->count(array('commentid'=>'content_'.$v[catid].'-'.$v[id].'-'.$modelid));}
  • {$v['title']}
  • {/loop} {/pc}
{template "content","footer"}