{template "content","header"}
{pc:content action="position" posid="14" order="listorder DESC" num="1"} {loop $data $r}

  ### {$r['title']}

  {str_cut($r[description],82)}视频详情>> 评论>>
  播放:{get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$r['id'])} 评论:{get_comments(id_encode("content_$r[catid]",$r[id],$siteid))}

{/loop} {/pc}

{pc:content action="position" posid="15" order="listorder DESC" num="4"} {loop $data $r}
- [{$CATEGORYS[$r[catid]][catname]}]{str_cut($r[title],82)}
{/loop} {/pc}

{pc:content action="position" posid="16" order="listorder DESC" num="6"} {loop $data $r} {php $video_info = get_vid($r[id], $r[catid], $isspecial = 0);}
- {dataformat($video_info['timelen'])}
    {$r['title']}
    播放:{get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$r['id'])} 评论:{get_comments(id_encode("content_$r[catid]",$r[id],$siteid))}
{/loop} {/pc}

{loop subcat($catid,0,0,$siteid) $r} {php $num++}
{pc:content action="position" posid="10" catid="$r[catid]" order="listorder DESC" num="1" return="info"}
{loop $info $v}

##### {str_cut($v[title],26)}

{str_cut($v[description],56)} 评论>>

{/loop} {/pc}

{pc:content action="position" posid="10" catid="$r[catid]" order="listorder DESC" num="4" return="info"} {loop $info $r} {if $n!=1}
- {str_cut($r[title],32)}
{/if} {/loop} {/pc}

{pc:content action="lists" catid="$r[catid]" num="6" order="id DESC" return="info"} {loop $info $v} {php $video_info = get_vid($v[id], $v[catid], $isspecial = 0);}
- {dataformat($video_info['timelen'])}
  {str_cut($v[title],30,false)}
  播放数：{get_views('c-'.$CATEGORYS[$v[catid]][modelid].'-'.$v['id'])}评论：{get_comments(id_encode("content_$v[catid]",$v[id],$siteid))}
{/loop} {/pc}

{pc:content action="hits" catid="$r[catid]" num="6" order="dayviews DESC" return="info" cache="0"} {loop $info $v} {php $contentid = explode("-",$v[hitsid]);$video_info = get_vid($contentid[2], $v[catid], $isspecial = 0);}
- {dataformat($video_info['timelen'])}
  {str_cut($v[title],18,false)}
  播放数：{get_views('c-'.$CATEGORYS[$v[catid]][modelid].'-'.$v['id'])}评论：{get_comments(id_encode("content_$v[catid]",$v[id],$siteid))}
{/loop} {/pc}

{if $num%2 ==0}
{/if} {/loop}
{php $category_nums = count(subcat($catid,0,0,$siteid));$num=0;} {loop subcat($catid,0,0,$siteid) $r} {php $num++} {if $num<4}

###### {$r[catname]}

{pc:content action="position" posid="17" catid="$r[catid]" order="listorder DESC" num="5" return="info"} {loop $info $v} {if $n==1}

{else}
- {str_cut($v['title'],22,false)}
{/if} {/loop} {/pc}

{/if} {/loop}

{pc:content action="hits" catid="$catid" num="10" order="views DESC"} {loop $data $r} {php $ids = explode('-',$r[hitsid]); $pic = get_pic($ids[2],$catid);} {if $n==1}
- 1
  {str_cut($r[title],22,false)}
  {str_cut($r[description],44)}
{else}
- {str_cut($r[title],36,false)}
{/if} {/loop} {/pc}

{pc:comment action="bang" num="$catid" cache="3600"} {loop $data $r} {if $n==1}
- 1
  {$r[title]}
  {str_cut($r[description],45,false)}
{else}
- {str_cut($r[title],36,false)}
{/if} {/loop} {/pc}

{pc:content action="hits" catid="$catid" num="10" order="views DESC"} {loop $data $r} {if $n==1}
- 1
  {$r[title]}
  {str_cut($r[description],45,false)}
{else}
- {str_cut($r[title],36,false)}
{/if} {/loop} {/pc}

{pc:special action="lists" siteid="$siteid" listorder="2" num="6"}

{loop $data $r} {if $n==1}
- 1
  {str_cut($r[title],22,false)}
  {str_cut($r[title],22,false)}
{else}
- {str_cut($r[title],22,false)}
{/if} {/loop}

{/pc}
{loop subcat($catid,0,0,$siteid) $r} {php $num++}
{pc:content action="hits" catid="$r[catid]" num="8" order="dayviews DESC" cache="0"}

{loop $data $r} {if $n==1}
- 1
  {str_cut($r[title],22,false)}
  {str_cut($r[title],26,false)}
{else}
- {str_cut($r[title],36,false)}
{/if} {/loop}

{/pc} {pc:content action="hits" catid="$r[catid]" num="8" order="weekviews DESC" cache="0"}

{loop $data $r} {if $n==1}
- 1
  {str_cut($r[title],22,false)}
  {str_cut($r[title],26,false)}
{else}
- {str_cut($r[title],38,false)}
{/if} {/loop}

{/pc} {pc:content action="hits" catid="$r[catid]" num="8" order="monthviews DESC" cache="0"}

{loop $data $r} {if $n==1}
- 1
  {str_cut($r[title],22,false)}
  {str_cut($r[title],26,false)}
{else}
- {str_cut($r[title],38,false)}
{/if} {/loop}

{/pc}
{/loop} {/pc}
{template "content","footer"}