管理会员访问组 -> 增加会员访问组";
if($enews=="EditViewGroup")
{
$vgid=(int)$_GET['vgid'];
$postword='修改';
$r=$empire->fetch1("select * from {$dbtbpre}enewsvg where vgid='$vgid'");
$url="管理会员访问组 -> 修改会员访问组:".$r[gname]."";
}
//会员组
$i=0;
$membergroup='';
$mgsql=$empire->query("select groupid,groupname from {$dbtbpre}enewsmembergroup order by level");
while($level_r=$empire->fetch($mgsql))
{
$i++;
$br='';
if($i%6==0)
{
$br='
';
}
if(strstr($r['gids'],','.$level_r['groupid'].','))
{$checked=" checked";}
else
{$checked="";}
$membergroup.="".$level_r[groupname]." ".$br;
}
//内部组
$i=0;
$ingroup='';
$minsql=$empire->query("select gid,gname from {$dbtbpre}enewsingroup order by myorder");
while($min_r=$empire->fetch($minsql))
{
$i++;
$br='';
if($i%6==0)
{
$br='
';
}
if(strstr($r['ingids'],','.$min_r['gid'].','))
{$checked=" checked";}
else
{$checked="";}
$ingroup.="".$min_r[gname]." ".$br;
}
//管理组
$i=0;
$madmingroup='';
$agsql=$empire->query("select agid,agname from {$dbtbpre}enewsag order by isadmin");
while($ag_r=$empire->fetch($agsql))
{
$i++;
$br='';
if($i%6==0)
{
$br='
';
}
if(strstr($r['agids'],','.$ag_r['agid'].','))
{$checked=" checked";}
else
{$checked="";}
$madmingroup.="".$ag_r[agname]." ".$br;
}
db_close();
$empire=null;
?>
位置:=$url?> |