国内流行的内容管理系统(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.

66 lines
2.6KB

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