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

92 lines
4.4KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>会员权限管理</title>
  7. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css">
  10. </head>
  11. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  12. <form name="form1" action="member_rank.php" method="post">
  13. <input type="hidden" name="dopost" value="save">
  14. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3">
  15. <tr height="28">
  16. <td colspan="6" background='images/tbg.gif'><strong><u>会员管理</u> &gt; 会员级别设置:</strong></td>
  17. </tr>
  18. <tr bgcolor="#F8FCF1" height="24">
  19. <td colspan="6"><strong>级别名称和级别值:(注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能)</strong></td>
  20. </tr>
  21. <tr bgcolor="#FDFEE9" height="24" 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 align="center" bgcolor="#FFFFFF" height="24">
  36. <td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id; ?>"><input
  37. name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" type="text" id="name_<?php echo $k?>"
  38. class='autoinput alltxt' /></td>
  39. <td><input name="rank_<?php echo $k?>" value="<?php echo $row->rank; ?>" type="text" id="rank_<?php echo $k?>"
  40. class='autoinput alltxt' /></td>
  41. <td><input name="money_<?php echo $k?>" value="<?php echo $row->money; ?>" type="text"
  42. id="money_<?php echo $k?>" class='autoinput alltxt' /></td>
  43. <td><input name="scores_<?php echo $k?>" value="<?php echo $row->scores; ?>" type="text"
  44. id="scores_<?php echo $k?>" class='autoinput alltxt' /></td>
  45. <td align="center">
  46. <?php
  47. if($row->id<=5) { echo "系统"; }
  48. else { echo "用户"; }
  49. ?></td>
  50. <td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>"
  51. <?php if($row->id == 3) echo 'disabled="disabled"';?> class="np" value="1" checked='checked' />
  52. 正在使用 </td>
  53. </tr>
  54. <?php
  55. }
  56. ?>
  57. <input type="hidden" name="idend" value="<?php echo $k; ?>">
  58. <tr bgcolor="#F8FCF1" height="24">
  59. <td colspan="6"><strong>新增一个级别:</strong>(由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<font color='red'>
  60. <u>如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员。</u></font>) </td>
  61. </tr>
  62. <tr bgcolor="#FFFFFF" align="center" height="24">
  63. <td> 级别名称 </td>
  64. <td> 级别值(待审为0,注册会员为10) </td>
  65. <td> 默认金币 </td>
  66. <td> 默认积分 </td>
  67. <td> 操作设置 </td>
  68. <td>&nbsp;</td>
  69. </tr>
  70. <tr bgcolor="#FFFFFF" align="center" height="24">
  71. <td><input name="name_new" type="text" id="name_new" class='autoinput alltxt' /></td>
  72. <td><input name="rank_new" type="text" id="rank_new" value='20' class='autoinput alltxt' /></td>
  73. <td><input name="money_new" type="text" id="money_new" value='0' class='autoinput alltxt' /></td>
  74. <td><input name="scores_new" type="text" id="scores_new" value='100' class='autoinput alltxt' /></td>
  75. <td><input name="check_new" type="checkbox" id="check_new" class="np" value="1" checked />
  76. 增加等级 </td>
  77. <td>&nbsp;</td>
  78. </tr>
  79. <tr>
  80. <td height="24" colspan="6" bgcolor="#F8FCF1">&nbsp;</td>
  81. </tr>
  82. <tr>
  83. <td height="36" colspan="6" align="center" bgcolor="#FFFFFF"><button type="submit" class="btn btn-success">保存</button></td>
  84. </tr>
  85. </table>
  86. </form>
  87. </body>
  88. </html>