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

128 lines
5.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. <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 background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
  11. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3">
  12. <form name="form1" action="member_type.php" method="post">
  13. <input type="hidden" name="dopost" value="save">
  14. <tr>
  15. <td height="26" colspan="5" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif'>
  16. <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  17. <tr>
  18. <td width="30%" style="padding-left:10px">会员产品分类:</td>
  19. <td align="right" style="padding-top:4px;">
  20. <button type="button" class="btn btn-success" onClick="location='member_rank.php';">会员级别管理</button>
  21. <button type="button" class="btn btn-success" onClick="location='member_operations.php';">会员业务记录</button>
  22. </td>
  23. </tr>
  24. </table>
  25. </td>
  26. </tr>
  27. <tr bgcolor="#FBFCE2">
  28. <td width="22%" height="26" align="center" valign="top">产品名称</td>
  29. <td width="23%" align="center" valign="top">会员级别</td>
  30. <td width="21%" align="center">产品价格</td>
  31. <td width="18%" align="center">会员期限(天)</td>
  32. <td width="16%" align="center">状态</td>
  33. </tr>
  34. <?php
  35. $dsql->SetQuery("Select * From #@__member_type");
  36. $dsql->Execute();
  37. $k=0;
  38. while($row = $dsql->GetObject())
  39. {
  40. $k++;
  41. ?>
  42. <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->aid?>">
  43. <tr align="center" bgcolor="#FFFFFF">
  44. <td height="26" valign="top">
  45. <input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>"
  46. style="width:90%" class='pubinputs' />
  47. </td>
  48. <td height="26" valign="top">
  49. <select name='rank_<?php echo $k?>' id='rank_<?php echo $k?>' style='width:90%' />
  50. <?php
  51. foreach($arcranks as $kkk=>$vvv){
  52. if($row->rank==$kkk) echo " <option value='{$kkk}' selected>{$vvv}</option>\r\n";
  53. else echo " <option value='{$kkk}'>{$vvv}</option>\r\n";
  54. }
  55. ?>
  56. </select>
  57. </td>
  58. <td>
  59. <input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>"
  60. style="width:80%" class='pubinputs' />
  61. (元)
  62. </td>
  63. <td>
  64. <select name='exptime_<?php echo $k?>' id='exptime_<?php echo $k?>' style='width:90%'>
  65. <?php
  66. foreach($times as $kkk=>$vvv){
  67. if($row->exptime==$kkk) echo " <option value='{$kkk}' selected>{$vvv}</option>\r\n";
  68. else echo " <option value='{$kkk}'>{$vvv}</option>\r\n";
  69. }
  70. ?>
  71. </select>
  72. </td>
  73. <td>
  74. <input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1'
  75. class='np' />
  76. 保留
  77. </td>
  78. </tr>
  79. <?php
  80. }
  81. ?>
  82. <input type="hidden" name="idend" value="<?php echo $k?>">
  83. <tr bgcolor="#f6f6f6">
  84. <td height="26" colspan="5" valign="top">&nbsp;新增一个会员产品类型:</td>
  85. </tr>
  86. <tr height="26" align="center" bgcolor="#FFFFFF">
  87. <td valign="top">
  88. <input name="pname_new" type="text" id="pname_new" style="width:90%" class='pubinputs' />
  89. </td>
  90. <td valign="top">
  91. <select name='rank_new' id='rank_new' style='width:90%'>
  92. <?php
  93. foreach($arcranks as $kkk=>$vvv){
  94. echo " <option value='{$kkk}'>{$vvv}</option>\r\n";
  95. }
  96. ?>
  97. </select>
  98. </td>
  99. <td valign="top">
  100. <input name="money_new" type="text" id="money_new" style='width:80%' value="100" class='pubinputs' />
  101. (元)
  102. </td>
  103. <td valign="top">
  104. <select name='exptime_new' id='exptime_new' style='width:90%'>
  105. <?php
  106. foreach($times as $kkk=>$vvv){
  107. echo " <option value='{$kkk}'>{$vvv}</option>\r\n";
  108. }
  109. ?>
  110. </select>
  111. </td>
  112. <td align="center" bgcolor="#FFFFFF">
  113. <input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' />
  114. 新增
  115. </td>
  116. </tr>
  117. <tr>
  118. <td height="26" colspan="5" bgcolor="#ffffff"></td>
  119. </tr>
  120. <tr>
  121. <td height="30" colspan="5" align="center" bgcolor="#f6f6f6">
  122. <button type="submit" class="btn btn-success">确定</button>
  123. </td>
  124. </tr>
  125. </form>
  126. </table>
  127. </body>
  128. </html>