query("select classid,classname,bclassid from {$dbtbpre}enewsinfoclass where bclassid='$bclassid' order by classid"); $returnstr=""; while($r=$empire->fetch($sql)) { if($r[classid]==$obclassid) {$select=" selected";} else {$select="";} $returnstr.=""; $returnstr.=ShowClass_AddInfoClass($obclassid,$r[classid],$exp,$enews); } return $returnstr; } $enews=ehtmlspecialchars($_GET['enews']); $r[newsclassid]=(int)$_GET['newsclassid']; /* if(empty($r[newsclassid])&&($enews=="AddInfoClass"||empty($enews))) { echo""; exit(); } */ if($_GET['from']) { $listclasslink="ListPageInfoClass.php"; } else { $listclasslink="ListInfoClass.php"; } $docopy=ehtmlspecialchars($_GET['docopy']); $url="采集 > 管理节点 > 增加节点"; //初使化数据 $r[startday]=date("Y-m-d"); $r[endday]="2099-12-31"; $r[num]=0; $r[renum]=2; $r[relistnum]=1; $r[insertnum]=10; $r[keynum]=0; $r[keeptime]=0; $r[smalltextlen]=200; $r[titlelen]=0; $r['getfirstspicw']=$public_r['spicwidth']; $r['getfirstspich']=$public_r['spicheight']; $r['repf']=',title,newstext,'; $r['repadf']=',newstext,'; $r['loadkeeptime']=0; $r['isnullf']=',newstext,'; $pagetype0=""; $pagetype1=" checked"; //复制结点 if($docopy) { $classid=(int)$_GET['classid']; $r=$empire->fetch1("select * from {$dbtbpre}enewsinfoclass where classid='$classid'"); //采集节点 if($r[newsclassid]) { $ra=$empire->fetch1("select * from {$dbtbpre}ecms_infoclass_".$r[tbname]." where classid='$classid'"); $r=TogTwoArray($r,$ra); } if(empty($r[pagetype])) { $pagetype0=" checked"; $pagetype1=""; } else { $pagetype0=""; $pagetype1=" checked"; } $url="采集 > 管理节点 > 复制节点:".$r[classname]; $r[classname].="(1)"; } //修改节点 if($enews=="EditInfoClass") { $classid=(int)$_GET['classid']; $r=$empire->fetch1("select * from {$dbtbpre}enewsinfoclass where classid='$classid'"); //采集节点 if($r[newsclassid]) { $ra=$empire->fetch1("select * from {$dbtbpre}ecms_infoclass_".$r[tbname]." where classid='$classid'"); $r=TogTwoArray($r,$ra); } if(empty($r[pagetype])) { $pagetype0=" checked"; $pagetype1=""; } else { $pagetype0=""; $pagetype1=" checked"; } $url="采集 > 管理节点 > 修改节点"; } //模型 $modid=$class_r[$r[newsclassid]][modid]; $modr=$empire->fetch1("select enter from {$dbtbpre}enewsmod where mid='$modid'"); //栏目 $options=ShowClass_AddClass("",$r[newsclassid],0,"|-",$class_r[$r[newsclassid]][modid],4); if($r[retitlewriter]) { $retitlewriter=" checked"; } if($r[copyimg]) { $copyimg=" checked"; } if($r[copyflash]) {$copyflash=" checked";} //节点 $infoclass=ShowClass_AddInfoClass($r[bclassid],0,"|-",0); //采集表单文件 $cjfile="../data/html/cj".$class_r[$r[newsclassid]][modid].".php"; ?>
位置:=$url?> |