热点视频
-
{tag_视频首页热点视频}
{tag_视频首页焦点幻灯片}
最新专题
{get sql="SELECT * FROM phpcms_video_special WHERE disabled=0 ORDER BY specialid DESC" rows="11"}
{if $n==1}
-
{else}
- {$r[title]} {/if} {/get}
{php $catids = get_sql_catid($catid);}
{get sql="SELECT * FROM $video_table WHERE status=99 $catids ORDER BY vid DESC" rows="3"}
{if $n==1}
-
{else}
- {str_cut($r[title],26,'')} {/if} {/get}
-
{get sql="SELECT * FROM `phpcms_video` a,`phpcms_video_count` b WHERE a.vid=b.vid AND a.status=99 $catids ORDER BY a.vid DESC" rows="11"}
{if $n<4}
- {format_time($r[timelen])}
{str_cut($r[title],36,'')}
播放:{$r[hits]}次
时长:{format_time($r[timelen])}
{if $n==3}
- {/if}
{else}
- {str_cut($r[title],32,'')} {/if} {/get}
排行榜
- 本周
- 本月
- 今日
-
{get sql="SELECT * FROM phpcms_video a,phpcms_video_count b WHERE a.vid=b.vid AND status=99 $catids AND hits_time>$week_time ORDER BY b.hits_week DESC" rows="10"}
- {str_pad($n, 2, 0, STR_PAD_LEFT)}{str_cut($r[title],36,'')} {/get}