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

58 lines
2.3KB

  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/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. </head>
  10. <body>
  11. <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-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="../static/web/img/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">系统用户组管理 </td>
  19. <td width="76%" align="right">
  20. <a href="sys_group_add.php" class="btn btn-success btn-sm">增加一个用户组</a>
  21. <a href="sys_admin_user.php" class="btn btn-success btn-sm">管理系统用户</a>
  22. </td>
  23. </tr>
  24. </table>
  25. </td>
  26. </tr>
  27. <tr bgcolor="#FBFCE2" align="center">
  28. <td width="20%" height="26">等级</td>
  29. <td width="45%">组名称</td>
  30. <td width="35%">管理</td>
  31. </tr>
  32. <?php
  33. $dsql->SetQuery("Select `rank`,typename,`system` From #@__admintype");
  34. $dsql->Execute();
  35. while($row = $dsql->GetObject())
  36. {
  37. ?>
  38. <tr align="center">
  39. <td height="26">
  40. <?php echo $row->rank?>
  41. </td>
  42. <td height="26">
  43. <?php echo $row->typename?>
  44. </td>
  45. <td>
  46. <a href='sys_group_edit.php?rank=<?php echo $row->rank?>' class="btn btn-success btn-sm">权限设定</a>
  47. <a href='sys_admin_user.php?rank=<?php echo $row->rank?>' class="btn btn-success btn-sm">组用户</a>
  48. <?php if($row->system==0){ ?><a
  49. href='sys_group_edit.php?dopost=del&rank=<?php echo $row->rank; ?>'>[删除组]</a><?php } ?>
  50. </td>
  51. </tr>
  52. <?php
  53. }
  54. ?>
  55. </form>
  56. </table>
  57. </body>
  58. </html>