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

54 lines
2.0KB

  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 bgcolor="#f8f8f8" colspan="3">
  17. <table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless">
  18. <tr>
  19. <td width="30%">系统用户组管理 </td>
  20. <td width="70%" 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="#FBFCE2" align="center">
  29. <td width="20%">等级</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><?php echo $row->rank?></td>
  41. <td><?php echo $row->typename?></td>
  42. <td>
  43. <a href="sys_group_edit.php?rank=<?php echo $row->rank?>" class="btn btn-success btn-sm">权限设定</a>
  44. <a href="sys_admin_user.php?rank=<?php echo $row->rank?>" class="btn btn-success btn-sm">组用户</a>
  45. <?php if($row->system==0){ ?><a href='sys_group_edit.php?dopost=del&rank=<?php echo $row->rank; ?>'>[删除组]</a><?php } ?>
  46. </td>
  47. </tr>
  48. <?php
  49. }
  50. ?>
  51. </form>
  52. </table>
  53. </body>
  54. </html>