=4.1) { $addsql=" and id not in (select id from {$dbtbpre}enewsztinfo where ztid='$ztid' and mid in (".eGetTableModids(0,$re[2])."))"; } $query="select id,title,ismember,username,plnum,isqf,classid,totaldown,onclick,newstime,isurl,titleurl,titlepic,havehtml,truetime,lastdotime,istop,isgood,firsttitle from {$dbtbpre}ecms_".$re[2]." where ".$re[0].$addsql; $totalquery="select count(*) as total from {$dbtbpre}ecms_".$re[2]." where ".$re[0].$addsql; if($totalnum<1) { $num=$empire->gettotal($totalquery);//取得总条数 } else { $num=$totalnum; } $query.=" order by newstime desc limit $offset,$line"; $sql=$empire->query($query); //专题子类 $zcurl=''; $zcid=(int)$_POST['zcid']; if($zcid) { $zcr=$empire->fetch1("select cname from {$dbtbpre}enewszttype where cid='$zcid'"); $zcurl=' -> '.$zcr[cname].''; } $url="专题: ".$re[3]."".$zcurl." -> 组合专题 (".$dbtbpre."ecms_".$re[2].")"; $returnpage=postpage($num,$line,$page_line,$start,$page,"document.ListZtInfo"); ?>
位置:

fetch($sql)) { //时间 $truetime=date_time($r[truetime],"Y-m-d H:i:s"); $lastdotime=date_time($r[lastdotime],"Y-m-d H:i:s"); $oldtitle=$r[title]; $r[title]=stripSlashes(sub($r[title],0,45,false)); //会员投稿 if($r[ismember]) { $r[username]="".$r[username].""; } $titleurl=sys_ReturnBqTitleLink($r); $checked=''; $bgcolor="#FFFFFF"; if(strstr(",".$_POST['inid'].",",",".$r[id].",")) { $bgcolor="#DBEAF5"; $checked=" checked"; } //是否已加入专题 $checkbox=''; if(empty($addsql)) { $num=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsztinfo where ztid='$ztid' and classid='$r[classid]' and id='$r[id]' limit 1"); if($num) { $checkbox=''; } } ?> >
选择
标题
发布者
发布时间
" target=_blank>
排除选中 组合选中
fetch1("select ztid,ztname from {$dbtbpre}enewszt where ztid='$ztid'"); if(empty($r['ztid'])) { printerror("ErrorUrl","history.go(-1)"); } //初始值 $togr[startid]=0; $togr[endid]=0; $togr[pline]=50; $togr[searchf]=",stitle,"; $togr[doecmszt]=0; $url="专题: ".$r[ztname]." -> 组合专题"; //--------------------操作的栏目 $fcjsfile='../../data/fc/cmsclass.js'; $class=GetFcfiletext($fcjsfile); $togid=(int)$_GET['togid']; if($togid) { $togr=$empire->fetch1("select * from {$dbtbpre}enewstogzts where togid='$togid'"); $class=str_replace(""; } //数据表 $tables=''; $tsql=$empire->query("select tid,tbname,tname from {$dbtbpre}enewstable order by tid"); while($tr=$empire->fetch($tsql)) { $tables.=""; } //专题子类 $zttypes=''; $zttypesql=$empire->query("select cid,cname from {$dbtbpre}enewszttype where ztid='$ztid'"); while($zttyper=$empire->fetch($zttypesql)) { $zttypes.=""; } ?>
位置:
 

组合专题
加入专题
加入专题子类
选择数据表(*)
查询栏目 (如选择大栏目,将查询所有子栏目)
组合关键字 (不填为不限制)
查询字段 > 标题 > 发布者
附加SQL条件
  (格式如:“writer='作者'”)
特殊条件 > 推荐 > 头条 > 有标题图片(不选为不限制)
> 按时间查询 之间的数据(不填将查询所有信息)
> 按ID查询 之间的数据(如两个值为0将查询所有信息)
每页显示行数 > 直接组合专题(不显示列表)
 
  参数名:
说明:此功能是将查询的信息加入专题。