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

130 lines
5.2KB

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