{template "content","header"}
{template "content","nav_logo"}
{pc:content action="category" catid="$top_parentid" num="15" siteid="$siteid" order="listorder ASC"}
{loop $data $r}
  • {$r[catname]}
  • {/loop}
    {/pc} {template "content","nav_sbox"}
    {pc:content action="position" posid="1" catid="$catid" thumb="1" order="listorder DESC" num="4"}
      {loop $data $k $v}
    • {$v[title]}
    • {/loop}
    {loop $data $k $v}

    {str_cut($v[title], 40,'')}

    {/loop}
      {loop $data $k $v}
    • {$v[title]}
    • {/loop}
    {/pc}
    {pc:content action="position" posid="2" catid="$catid" order="listorder DESC" num="1"}
    {loop $data $v}

    {str_cut($v['title'],42,'')}

    {str_cut($v[description],102,'')}...

    {/loop}
    {/pc} {pc:content action="lists" catid="$catid" order="id DESC" num="12"} {/pc}
    点击排行
      {pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"} {loop $data $v}
    • {$v[title]}
    • {/loop} {/pc}

    视觉焦点

    {pc:content action="lists" catid="$catid" order="updatetime DESC" thumb="1" num="7" return="info"} {loop $info $v} {/loop} {/pc}
    960广告位
    {php $j=1;} {loop subcat($catid) $v} {php if($v['type']!=0) continue;}
    {$v[catname]}更多>>
    {pc:content action="lists" catid="$v[catid]" thumb="1" num="1" order="id DESC"}

    {loop $data $v} {str_cut($v[title], 28,'')}
    {str_cut($v[description],100,'..')} {/loop}

    {/pc}
    {if $j%2==0}
    {/if} {if $j==4}
    {/if} {$j++} {/loop}
    总排行榜
      {pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"} {loop $data $v}
    • {$v[title]}
    • {/loop} {/pc}
    本月排行
      {pc:content action="hits" catid="$catid" num="8" order="monthviews DESC" cache="3600"} {loop $data $v}
    • {number_format($v[monthviews])}{str_cut($v[title],56,'...')}
    • {/loop} {/pc}
    {template "content","footer"}