抢先看资源
- 按频道
- 抢先看资源
$result = mysql_query('select * from xtcms_vod_class where c_pid=0 order by c_id asc');
while ($row = mysql_fetch_array($result)){
echo '
'.$row['c_name'].'';}
?>
if (isset($_GET['cid'])) {
if ($_GET['cid'] != 0){
$sql = 'select * from xtcms_vod where d_parent in ('.$_GET['cid'].') order by d_id desc';
$pager = page_handle('page',24,mysql_num_rows(mysql_query($sql)));
$result = mysql_query($sql.' limit '.$pager[0].','.$pager[1].'');
}else{
$sql = 'select * from xtcms_vod order by d_id desc';
$pager = page_handle('page',24,mysql_num_rows(mysql_query($sql)));
$result = mysql_query($sql.' limit '.$pager[0].','.$pager[1].'');
}
}
while($row= mysql_fetch_array($result)){
$cc="./bplay.php?bf=";
$dd="./bplay/";
if ($xtcms_wei==1){
$ccb=$dd.$row['d_id'];
}
else{
$ccb=$cc.$row['d_id'];
}
echo '
';} ?>
一键复制
编辑
Web IDE
原始数据
按行查看
历史