} //修改专题 if ($enews == "EditZt" || $copyclass) { $ecmsfirstpost = 0; if ($copyclass) { $thisdo = "复制"; } else { $thisdo = "修改"; } $r = $empire->fetch1("select * from {$dbtbpre}enewszt where ztid='{$ztid}'"); $addr = $empire->fetch1("select * from {$dbtbpre}enewsztadd where ztid='{$ztid}'"); $usernames = substr($r['usernames'], 1, -1); $url = "<a href=ListZt.php" . $ecms_hashur['whehref'] . ">管理专题</a> > " . $thisdo . "专题:" . $r[ztname]; $postword = $thisdo . '专题'; //专题目录 $mycr = GetPathname($r[ztpath]); $pripath = $mycr[1]; $ztpath = $mycr[0]; //复制专题 if ($copyclass) { $r[ztname] .= '(1)'; $ztpath .= '1'; } } //列表模板 $msql = $empire->query("select mid,mname from {$dbtbpre}enewsmod order by myorder,mid"); while ($mr = $empire->fetch($msql)) { $listtemp_options .= "<option value=0 style='background:#99C4E3'>" . $mr[mname] . "</option>"; $l_sql = $empire->query("select tempid,tempname from " . GetTemptb("enewslisttemp") . " where modid='{$mr['mid']}'"); while ($l_r = $empire->fetch($l_sql)) { if ($l_r[tempid] == $r[listtempid]) {
$filename2 = " checked"; } else { } if ($r[openpl]) { $openpl0 = ""; $openpl1 = " checked"; } if ($r[checkpl]) { $checkpl = " checked"; } if ($r[openadd]) { $openadd0 = ""; $openadd1 = " checked"; } //栏目目录 $mycr = GetPathname($r[classpath]); $pripath = $mycr[1]; $classpath = $mycr[0]; $read = ""; //复制栏目 if ($copyclass) { $r[classname] .= "(1)"; $classpath .= "1"; $read = ""; $islast = "<input name=islast type=checkbox id=islast onclick='small_class(this.checked)' value='1'" . $islastcheck . ">是"; } if ($r[checked]) { $checked = " checked"; } else { $checked = ""; }