管理用户 >增加用户"; if($enews=="EditUser") { $userid=(int)$_GET['userid']; $r=$empire->fetch1("select username,adminclass,groupid,checked,styleid,filelevel,truename,email,classid,wname,tel,wxno,qq from {$dbtbpre}enewsuser where userid='$userid'"); $addur=$empire->fetch1("select equestion,openip from {$dbtbpre}enewsuseradd where userid='$userid'"); $url="管理用户 >修改用户:".$r[username].""; if($r[checked]) {$checked=" checked";} } //-----------用户组 $sql=$empire->query("select groupid,groupname from {$dbtbpre}enewsgroup order by groupid desc"); while($gr=$empire->fetch($sql)) { if($r[groupid]==$gr[groupid]) {$select=" selected";} else {$select="";} $group.=""; } //-----------后台样式 $stylesql=$empire->query("select styleid,stylename,path from {$dbtbpre}enewsadminstyle order by styleid"); $style=""; while($styler=$empire->fetch($stylesql)) { if($r[styleid]==$styler[styleid]) {$sselect=" selected";} else {$sselect="";} $style.=""; } //-----------部门 $userclasssql=$empire->query("select classid,classname from {$dbtbpre}enewsuserclass order by classid"); $userclass=''; while($ucr=$empire->fetch($userclasssql)) { if($r[classid]==$ucr[classid]) {$select=" selected";} else {$select="";} $userclass.=""; } //--------------------操作的栏目 $fcfile="../../data/fc/ListEnews.php"; $fcjsfile="../../data/fc/cmsclass.js"; if(file_exists($fcjsfile)&&file_exists($fcfile)) { $class=GetFcfiletext($fcjsfile); $acr=explode("|",$r[adminclass]); $count=count($acr); for($i=1;$i<$count-1;$i++) { $class=str_replace("