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

85 lines
3.5KB

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