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

59 lines
2.2KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>系统用户组管理</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. </head>
  11. <body>
  12. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  13. <form name="form1" action="content_att.php" method="post">
  14. <input type="hidden" name="dopost" value="save">
  15. <tr>
  16. <td height="26" colspan="3" background="../static/web/img/tbg.gif">
  17. <table width="96%" cellspacing="1" cellpadding="1" class="table table-borderless">
  18. <tr>
  19. <td width="24%" style="padding-left:10px">系统用户组管理 </td>
  20. <td width="76%" align="right">
  21. <a href="sys_group_add.php" class="btn btn-success btn-sm">增加一个用户组</a>
  22. <a href="sys_admin_user.php" class="btn btn-success btn-sm">管理系统用户</a>
  23. </td>
  24. </tr>
  25. </table>
  26. </td>
  27. </tr>
  28. <tr bgcolor="#F8FCF1" align="center">
  29. <td width="20%" height="26">等级</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">
  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. </form>
  57. </table>
  58. </body>
  59. </html>