国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

126 lines
5.0KB

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