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

88 lines
3.6KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>点卡产品分类</title>
  7. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css" />
  10. </head>
  11. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  12. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"
  13. style=" background:#cfcfcf;">
  14. <form name="form1" action="cards_type.php" method="post">
  15. <input type="hidden" name="dopost" value="save">
  16. <tr>
  17. <td height="28" colspan="4" bgcolor="#EDF9D5" background="images/tbg.gif"> &nbsp;<strong>点卡产品分类: </strong></td>
  18. </tr>
  19. <tr bgcolor="#FBFCE2">
  20. <td width="26%" height="24" align="center" valign="top">产品名称</td>
  21. <td width="27%" align="center" valign="top">点数(金币数)</td>
  22. <td width="30%" align="center">价格</td>
  23. <td width="17%" align="center">状态</td>
  24. </tr>
  25. <?php
  26. $dsql->SetQuery("Select * From #@__moneycard_type");
  27. $dsql->Execute();
  28. $k=0;
  29. while($row = $dsql->GetObject())
  30. {
  31. $k++;
  32. ?>
  33. <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>">
  34. <tr align="center" bgcolor="#FFFFFF">
  35. <td height="24" valign="top">
  36. <input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>"
  37. class='pubinputs' style="width:90%" />
  38. </td>
  39. <td height="24" valign="top">
  40. <input name="num_<?php echo $k?>" value="<?php echo $row->num?>" type="text" id="num_<?php echo $k?>"
  41. class='pubinputs' style="width:80%" />
  42. </td>
  43. <td>
  44. <input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>"
  45. class='pubinputs' style="width:80%" />
  46. (元)
  47. </td>
  48. <td>
  49. <input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1'
  50. class='np' />
  51. 保留
  52. </td>
  53. </tr>
  54. <?php
  55. }
  56. ?>
  57. <input type="hidden" name="idend" value="<?php echo $k?>">
  58. <tr bgcolor="#F8FCF1">
  59. <td height="24" colspan="4" valign="top" bgcolor="#F9FCEF" style="padding-left:10px;">
  60. <strong>新增一个点卡产品类型:</strong></td>
  61. </tr>
  62. <tr height="24" align="center" bgcolor="#FFFFFF">
  63. <td valign="top">
  64. <input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%" />
  65. </td>
  66. <td valign="top">
  67. <input name="num_new" value="100" type="text" id="num_new" class='pubinputs' style="width:80%" />
  68. </td>
  69. <td valign="top">
  70. <input name="money_new" type="text" id="money_new" class='pubinputs' style='width:80%' value="30" />
  71. (元)
  72. </td>
  73. <td align="center" bgcolor="#FFFFFF">
  74. <input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' />
  75. 新增 </td>
  76. </tr>
  77. <tr>
  78. <td height="34" colspan="4" align="center" bgcolor="#F9FCEF">
  79. <button type="submit" class="btn btn-success">确定</button>
  80. </td>
  81. </tr>
  82. </form>
  83. </table>
  84. </body>
  85. </html>