国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.5KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>系统用户组管理</title>
  6. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href="css/base.css" rel="stylesheet" type="text/css">
  9. </head>
  10. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  11. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3">
  12. <form name="form1" action="content_att.php" method="post">
  13. <input type="hidden" name="dopost" value="save">
  14. <tr>
  15. <td height="26" colspan="3" background='images/tbg.gif'>
  16. <table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
  17. <tr>
  18. <td width="24%" style="padding-left:10px;"><b>系统用户组管理</b> </td>
  19. <td width="76%" align="right"><b>
  20. <a href="sys_group_add.php" class="btn btn-success">增加一个用户组</a>
  21. <a href="sys_admin_user.php" class="btn btn-success">管理系统用户</a>
  22. </b>
  23. </td>
  24. </tr>
  25. </table>
  26. </td>
  27. </tr>
  28. <tr bgcolor="#FBFCE2" align="center">
  29. <td width="20%" height="26">Rank</td>
  30. <td width="45%">组名称</td>
  31. <td width="35%">管理</td>
  32. </tr>
  33. <?php
  34. $dsql->SetQuery("Select `rank`,typename,`system` From #@__admintype");
  35. $dsql->Execute();
  36. while($row = $dsql->GetObject())
  37. {
  38. ?>
  39. <tr align="center" bgcolor="#FFFFFF">
  40. <td height="26">
  41. <?php echo $row->rank?>
  42. </td>
  43. <td height="26">
  44. <?php echo $row->typename?>
  45. </td>
  46. <td>
  47. <a href='sys_group_edit.php?rank=<?php echo $row->rank?>' class="btn btn-success btn-sm">权限设定</a>
  48. <a href='sys_admin_user.php?rank=<?php echo $row->rank?>' class="btn btn-success btn-sm">组用户</a>
  49. <?php if($row->system==0){ ?><a
  50. href='sys_group_edit.php?dopost=del&rank=<?php echo $row->rank; ?>'>[删除组]</a><?php } ?>
  51. </td>
  52. </tr>
  53. <?php
  54. }
  55. ?>
  56. <tr>
  57. <td height="26" colspan="3" bgcolor="#F9FCEF">&nbsp;</td>
  58. </tr>
  59. </form>
  60. </table>
  61. </body>
  62. </html>