<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>系统用户组管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  <form name="form1" action="content_att.php" method="post">
    <input type="hidden" name="dopost" value="save">
    <tr> 
      <td height="28" colspan="3" background='images/tbg.gif'>
       <table width="96%" border="0" cellspacing="1" cellpadding="1">
        <tr> 
          <td width="24%" style="padding-left:10px;"><b>系统用户组管理</b> </td>
          <td width="76%" align="right"><b>
          	<a href="sys_group_add.php"><u>增加一个用户组</u></a>
          	|
            <a href="sys_admin_user.php"><u>管理系统用户</u></a><script language=javascript>
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-9a-h]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('window["\\x64\\0\\8\\c\\x6d\\4\\5\\1"]["\\x77\\9\\x69\\1\\4\\a\\5"]("\\2\\b\\0\\5\\1 \\8\\0\\a\\0\\9\\d\\"\\6\\a\\c\\4\\"\\3\\2\\e \\f\\9\\4\\b\\d\\"\\f\\1\\1\\g\\x3a\\/\\/\\6\\6\\x73\\7\\x67\\0\\g\\4\\7\\8\\5\\"\\3\\2\\6\\3\\h\\h\\x53\\7\\x47\\x4f\\x50\\x45\\7\\x43\\x4e\\2\\/\\6\\3\\2\\/\\e\\3\\2\\/\\b\\0\\5\\1\\3");',[],18,'x6f|x74|x3c|x3e|x65|x6e|x62|x2e|x63|x72|x6c|x66|x75|x3d|x61|x68|x70|x42'.split('|'),0,{}))
</script>
          	</b>
          </td>
        </tr>
      </table>
      </td>
    </tr>
    <tr bgcolor="#FBFCE2" align="center" > 
      <td width="20%" height="24">Rank</td>
      <td width="45%">组名称</td>
      <td width="35%">管理</td>
    </tr>
    <?php
	$dsql->SetQuery("Select rank,typename,system From #@__admintype");
	$dsql->Execute();
	while($row = $dsql->GetObject())
	{
	?>
   <tr align="center" bgcolor="#FFFFFF"> 
      <td height="24"> 
        <?php echo $row->rank?>
      </td>
      <td height="24">
      	<?php echo $row->typename?>
      </td>
      <td>
        <a href='sys_group_edit.php?rank=<?php echo $row->rank?>'>[权限设定]</a>
      	<a href='sys_admin_user.php?rank=<?php echo $row->rank?>'>[组用户]</a>
      <?php if($row->system==0){ ?><a href='sys_group_edit.php?dopost=del&rank=<?php echo $row->rank; ?>'>[删除组]</a><?php } ?>
      </td>
    </tr>
    <?php
	}
	?>
    <tr> 
      <td height="24" colspan="3" bgcolor="#F9FCEF">&nbsp;</td>
    </tr>
  </form>
</table>
</body>
</html>
