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

82 lines
3.8KB

  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. <form name="form1" action="member_rank.php" method="post">
  13. <input type="hidden" name="dopost" value="save">
  14. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  15. <tr>
  16. <td colspan="6" background="../static/web/img/tbg.gif">会员管理 &gt; 会员级别设置</td>
  17. </tr>
  18. <tr bgcolor="#F8FCF1" height="26">
  19. <td colspan="6">级别名称和级别值:(注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能)</td>
  20. </tr>
  21. <tr bgcolor="#FDFEE9" height="26" align="center">
  22. <td width="20%">级别名称</td>
  23. <td width="18%">会员等级值</td>
  24. <td width="15%">默认金币</td>
  25. <td width="15%">默认积分</td>
  26. <td width="16%">类型</td>
  27. <td width="16%">状态</td>
  28. </tr>
  29. <?php
  30. $k=0;
  31. while($row = $dsql->GetObject())
  32. {
  33. $k++;
  34. ?>
  35. <tr height="26" align="center">
  36. <td>
  37. <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id; ?>">
  38. <input name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" type="text" id="name_<?php echo $k?>" class='autoinput alltxt'>
  39. </td>
  40. <td><input name="rank_<?php echo $k?>" value="<?php echo $row->rank; ?>" type="text" id="rank_<?php echo $k?>" class='autoinput alltxt'></td>
  41. <td><input name="money_<?php echo $k?>" value="<?php echo $row->money; ?>" type="text" id="money_<?php echo $k?>" class='autoinput alltxt'></td>
  42. <td><input name="scores_<?php echo $k?>" value="<?php echo $row->scores; ?>" type="text" id="scores_<?php echo $k?>" class='autoinput alltxt'></td>
  43. <td align="center">
  44. <?php
  45. if($row->id<=5) { echo "系统"; }
  46. else { echo "用户"; }
  47. ?></td>
  48. <td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>"
  49. <?php if($row->id == 3) echo 'disabled="disabled"'; ?> class="np" value="1" checked='checked'>
  50. 正在使用 </td>
  51. </tr>
  52. <?php
  53. }
  54. ?>
  55. <input type="hidden" name="idend" value="<?php echo $k; ?>">
  56. <tr bgcolor="#F8FCF1" height="26">
  57. <td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<span style='color:#e74d58'> 如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</span></td>
  58. </tr>
  59. <tr height="26" align="center">
  60. <td> 级别名称 </td>
  61. <td> 级别值(待审为0,注册会员为10)</td>
  62. <td> 默认金币 </td>
  63. <td> 默认积分 </td>
  64. <td> 操作设置 </td>
  65. <td></td>
  66. </tr>
  67. <tr height="26" align="center">
  68. <td><input name="name_new" type="text" id="name_new" class='autoinput alltxt'></td>
  69. <td><input name="rank_new" type="text" id="rank_new" value='20' class='autoinput alltxt'></td>
  70. <td><input name="money_new" type="text" id="money_new" value='0' class='autoinput alltxt'></td>
  71. <td><input name="scores_new" type="text" id="scores_new" value='100' class='autoinput alltxt'></td>
  72. <td><input name="check_new" type="checkbox" id="check_new" class="np" value="1" checked /> 增加等级</td>
  73. <td></td>
  74. </tr>
  75. <tr>
  76. <td colspan="6" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td>
  77. </tr>
  78. </table>
  79. </form>
  80. </body>
  81. </html>