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

95 line
4.7KB

  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="js/main.js"></script>
  7. <script type="text/javascript">
  8. function CheckAll(form, prefix, checkall) {
  9. var checkall = checkall ? checkall : 'chkall';
  10. for(var i = 0; i < form.elements.length; i++) {
  11. var e = form.elements[i];
  12. if(e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) {
  13. e.checked = form.elements[checkall].checked;
  14. }
  15. }
  16. }
  17. </script>
  18. <link href="css/base.css" rel="stylesheet" type="text/css" />
  19. <style type="text/css">
  20. .rb{ border-right:1px solid #98CAEF }
  21. .tb{ border-top:1px solid #98CAEF }
  22. td{ padding-left:10px}
  23. </style>
  24. <body background="images/allbg.gif" >
  25. <div class="bodytitle">
  26. <div class="bodytitleleft"></div>
  27. <div class="bodytitletxt" style="padding-left:10px;">积分头衔设置</div>
  28. </div>
  29. <form action="member_scores.php" method="post" >
  30. <input name="action" type="hidden" value="save" />
  31. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="border:1px solid #CFCFCF;border-bottom:none;">
  32. <tr bgcolor="#EDF9D5">
  33. <td width="100%" height="24" background='images/tbg.gif' style="padding-left:10px;">
  34. <b><a href="member_main.php"><U>会员管理</U></a> &gt; 积分头衔设置:</b>
  35. </td>
  36. </tr>
  37. </table>
  38. <table width="98%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CFCFCF" align="center">
  39. <tr>
  40. <td width="6%" height="30" align="center" valign="middle" bgcolor="#FBFCE2">
  41. <input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)" class='np' />
  42. 删?</td>
  43. <td width="23%" height="30" align="center" bgcolor="#FEFCEF">积分大于</td>
  44. <td width="24%" height="30" align="center" bgcolor="#FEFCEF">星星数</td>
  45. <td width="23%" height="30" align="center" bgcolor="#FEFCEF">级别头衔</td>
  46. <td width="24%" height="30" align="center" bgcolor="#FEFCEF">是否默认</td>
  47. </tr>
  48. <?php
  49. foreach($Scores as $v){
  50. ?>
  51. <tr height="28" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  52. <td height="28" align="center" >
  53. <input name="Ids-<?php echo $v['id']?>" type="checkbox" id="Ids-<?php echo $v['id']?>" value="1" class='np' />
  54. </td>
  55. <td height="28" align="left" style="padding:5px;">
  56. <input name="integral-<?php echo $v['id']?>" type="text" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" size="10" /></td>
  57. <td height="28" align="left" style="padding:5px;">
  58. <input name="icon-<?php echo $v['id']?>" type="text" id="icon-<?php echo $v['id']?>" value="<?php echo $v['icon']?>" size="3" /></td>
  59. <td height="28" align="left" style="padding:5px;">
  60. <input name="titles-<?php echo $v['id']?>" type="text" id="titles-<?php echo $v['id']?>" value="<?php echo $v['titles']?>" size="20" /></td>
  61. <td height="28" align="left" style="padding:5px;">
  62. <select name="isdefault-<?php echo $v['id']?>" id="isdefault-<?php echo $v['id']?>">
  63. <option value="1" <?php if($v['isdefault']) echo " selected='selected'";?>>是</option>
  64. <option value="0" <?php if(!$v['isdefault']) echo " selected='selected'";?>>否</option>
  65. </select>
  66. </td>
  67. </tr>
  68. <?php
  69. }
  70. ?>
  71. <tr bgcolor="#F9FCEF">
  72. <td height="28">&nbsp;&nbsp;新增:</td>
  73. <td height="28" style="padding:5px;"><input name="add_integral" type="text" id="add_integral" size="10" /></td>
  74. <td height="28" style="padding:5px;"><input name="add_icon" type="text" id="add_icon" size="3" /></td>
  75. <td height="28" style="padding:5px;"><input name="add_titles" type="text" id="add_titles" size="20" /></td>
  76. <td height="28" style="padding:5px;">
  77. <select name="add_isdefault" id="add_isdefault">
  78. <option value="1" >是</option>
  79. <option value="0" >否</option>
  80. </select></td>
  81. </tr>
  82. </table>
  83. <br />
  84. <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  85. <tr>
  86. <td height="40" align="center">
  87. <input name="imageField" type="submit" class="np coolbg" value="提交" id="imageField"/>
  88. </td>
  89. </tr>
  90. </table>
  91. </form>
  92. </body>
  93. </html>