更新专题"; $time=time(); //类别 $zcid=(int)$_GET['zcid']; if($zcid) { $add=" and zcid=$zcid"; $search.="&zcid=$zcid"; } //分类 $zcstr=""; $csql=$empire->query("select classid,classname from {$dbtbpre}enewsztclass order by classid"); while($cr=$empire->fetch($csql)) { $select=""; if($cr[classid]==$zcid) { $select=" selected"; } $zcstr.=""; } $totalquery="select count(*) as total from {$dbtbpre}enewszt where usernames like '%$loginin%' and (endtime=0 or endtime>$time)".$add; $query="select * from {$dbtbpre}enewszt where usernames like '%$loginin%' and (endtime=0 or endtime>$time)".$add; $num=$empire->gettotal($totalquery);//取得总条数 $query=$query." order by myorder,ztid desc limit $offset,$line"; $sql=$empire->query($query); $returnpage=page2($num,$line,$page_line,$start,$page,$search); ?> 更新专题
位置:
限制显示:

fetch($sql)) { if($r[zturl]) { $ztlink=$r[zturl]; } else { $ztlink="../../../".$r[ztpath]; } ?>
ID
专题名
操作
更新专题 刷新