fetch1("select adminclass,groupid from {$dbtbpre}enewsuser where userid='$logininid'"); //用户组权限 $gr=$empire->fetch1("select doall from {$dbtbpre}enewsgroup where groupid='$user_r[groupid]'"); if($gr['doall']) { $fcfile='../data/fc/ListEnews.php'; } else { $fcfile='../data/fc/ListEnews'.$logininid.'.php'; } $fclistenews=''; if(file_exists($fcfile)) { $fclistenews=str_replace(AddCheckViewTempCode(),'',ReadFiletext($fcfile)); } //数据表 $changetbs=''; $dh=''; $tbi=0; $tbsql=$empire->query("select tbname,tname from {$dbtbpre}enewstable order by tid"); while($tbr=$empire->fetch($tbsql)) { $tbi++; $changetbs.=$dh.'new ContextItem("'.$tbr['tname'].'",function(){ parent.document.main.location="ListAllInfo.php?tbname='.$tbr['tbname'].$ecms_hashur['ehref'].'"; })'; if($tbi%3==0) { $changetbs.=',new ContextSeperator()'; } $dh=','; } ?>
![]() |
管理信息 |