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

76 lines
3.3KB

  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="cards_type.php" method="post">
  11. <input type="hidden" name="dopost" value="save">
  12. <tr>
  13. <td height="28" colspan="4" bgcolor="#EDF9D5" background="images/tbg.gif"> &nbsp;<strong>点卡产品分类: </strong></td>
  14. </tr>
  15. <tr bgcolor="#FBFCE2">
  16. <td width="26%" height="24" align="center" valign="top">产品名称</td>
  17. <td width="27%" align="center" valign="top">点数(金币数)</td>
  18. <td width="30%" align="center">价格</td>
  19. <td width="17%" align="center">状态</td>
  20. </tr>
  21. <?php
  22. $dsql->SetQuery("Select * From #@__moneycard_type");
  23. $dsql->Execute();
  24. $k=0;
  25. while($row = $dsql->GetObject())
  26. {
  27. $k++;
  28. ?>
  29. <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>">
  30. <tr align="center" bgcolor="#FFFFFF">
  31. <td height="24" valign="top">
  32. <input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%" />
  33. </td>
  34. <td height="24" valign="top">
  35. <input name="num_<?php echo $k?>" value="<?php echo $row->num?>" type="text" id="num_<?php echo $k?>" class='pubinputs' style="width:80%" />
  36. </td>
  37. <td>
  38. <input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" class='pubinputs' style="width:80%" />
  39. (元)
  40. </td>
  41. <td>
  42. <input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np' />
  43. 保留
  44. </td>
  45. </tr>
  46. <?php
  47. }
  48. ?>
  49. <input type="hidden" name="idend" value="<?php echo $k?>">
  50. <tr bgcolor="#F8FCF1">
  51. <td height="24" colspan="4" valign="top" bgcolor="#F9FCEF" style="padding-left:10px;"><strong>新增一个点卡产品类型:</strong></td>
  52. </tr>
  53. <tr height="24" align="center" bgcolor="#FFFFFF">
  54. <td valign="top">
  55. <input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%" />
  56. </td>
  57. <td valign="top">
  58. <input name="num_new" value="100" type="text" id="num_new" class='pubinputs' style="width:80%" />
  59. </td>
  60. <td valign="top">
  61. <input name="money_new" type="text" id="money_new" class='pubinputs' style='width:80%' value="30" />
  62. (元)
  63. </td>
  64. <td align="center" bgcolor="#FFFFFF">
  65. <input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' />
  66. 新增 </td>
  67. </tr>
  68. <tr>
  69. <td height="34" colspan="4" align="center" bgcolor="#F9FCEF">
  70. <input name="imageField" type="submit" class="np coolbg" value="确定" />
  71. </td>
  72. </tr>
  73. </form>
  74. </table>
  75. </body>
  76. </html>