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

81 lines
4.0KB

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