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

79 lines
4.1KB

  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. <script language="javascript" src="../static/web/js/jquery.min.js"></script>
  7. <script language="javascript" src="js/main.js"></script>
  8. <script type="text/javascript">
  9. function CheckAll(form, prefix, checkall) {
  10. var checkall = checkall ? checkall : 'chkall';
  11. for (var i = 0; i < form.elements.length; i++) {
  12. var e = form.elements[i];
  13. if (e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) {
  14. e.checked = form.elements[checkall].checked;
  15. }
  16. }
  17. }
  18. </script>
  19. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  20. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  21. <link rel="stylesheet" href="../static/web/css/admin.css">
  22. </head>
  23. <body>
  24. <form action="member_scores.php" method="post">
  25. <input name="action" type="hidden" value="save">
  26. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="tbtitle mt-3" style="border:1px solid #dee2e6;border-bottom:none">
  27. <tr>
  28. <td width="100%" height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="member_main.php">会员管理</a> &gt; 积分头衔设置</td>
  29. </tr>
  30. </table>
  31. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
  32. <tr>
  33. <td width="6%" align="center" valign="middle" bgcolor="#FEFCEF">
  34. <input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)" class='np'>
  35. 删</td>
  36. <td width="23%" align="center" bgcolor="#FEFCEF">积分大于</td>
  37. <td width="30%" align="center" bgcolor="#FEFCEF">星星数</td>
  38. <td width="23%" align="center" bgcolor="#FEFCEF">级别头衔</td>
  39. <td width="30%" align="center" bgcolor="#FEFCEF">是否默认</td>
  40. </tr>
  41. <?php
  42. foreach($Scores as $v){
  43. ?>
  44. <tr onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';">
  45. <td align="center"><input name="Ids-<?php echo $v['id']?>" type="checkbox" id="Ids-<?php echo $v['id']?>" value="1" class='np'></td>
  46. <td align="center"><input name="integral-<?php echo $v['id']?>" type="text" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td>
  47. <td align="center"><input name="icon-<?php echo $v['id']?>" type="text" id="icon-<?php echo $v['id']?>" value="<?php echo $v['icon']?>" style="width:60px"></td>
  48. <td align="center"><input name="titles-<?php echo $v['id']?>" type="text" id="titles-<?php echo $v['id']?>" value="<?php echo $v['titles']?>" style="width:160px"></td>
  49. <td align="center">
  50. <select name="isdefault-<?php echo $v['id']?>" id="isdefault-<?php echo $v['id']?>">
  51. <option value="1" <?php if($v['isdefault']) echo " selected='selected'"; ?>>是</option>
  52. <option value="0" <?php if(!$v['isdefault']) echo " selected='selected'"; ?>>否</option>
  53. </select>
  54. </td>
  55. </tr>
  56. <?php
  57. }
  58. ?>
  59. <tr>
  60. <td>新增:</td>
  61. <td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td>
  62. <td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td>
  63. <td align="center"><input name="add_titles" type="text" id="add_titles" style="width:160px"></td>
  64. <td align="center">
  65. <select name="add_isdefault" id="add_isdefault">
  66. <option value="1">是</option>
  67. <option value="0">否</option>
  68. </select>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td colspan="5" align="center" class="py-3">
  73. <button type="submit" class="btn btn-success btn-sm">提交</button>
  74. </td>
  75. </tr>
  76. </table>
  77. </form>
  78. </body>
  79. </html>