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

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>配送方式配置</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. </head>
  11. <style>
  12. .fontOrange {
  13. COLOR: #ff4e00
  14. }
  15. .npvar {
  16. width: 90%
  17. }
  18. </style>
  19. <body>
  20. <center>
  21. <form action="shops_delivery.php" method="post" name="form1">
  22. <input type="hidden" name="do" value="add">
  23. <table width="100%" cellpadding="1" cellspacing="1" class="table maintable mt-3 sysinfo">
  24. <tr align="center">
  25. <td bgcolor="#f8f8f8" colspan="2" align="left">增加一个配送方式</td>
  26. </tr>
  27. <tr align="center">
  28. <td width="10%" align="right">名称:</td>
  29. <td align="left"><input type="text" name="dname" id="dname" style="width:160px"> * 此处填写配送方式名称</td>
  30. </tr>
  31. <tr align="center">
  32. <td width="10%" align="right">手续费:</td>
  33. <td align="left"><input type="text" name="price" id="price" value="0.00" style="width:60px"> 元 * 发货时所用的手续费,若要收取,请填写(精确到小数位两位)</td>
  34. </tr>
  35. <tr align="center">
  36. <td width="10%" align="right">简要说明:</td>
  37. <td align="left"><textarea name="des" id="des" style="width:360px;height:50px"></textarea></td>
  38. </tr>
  39. <tr>
  40. <td height="50" colspan="2" align="center">
  41. <table width="200" cellspacing="1" cellpadding="1" class="table table-borderless">
  42. <tr align="center">
  43. <td>
  44. <button type="submit" class="btn btn-success btn-sm">添加</button>
  45. <button type="reset" name="button" class='btn btn-success btn-sm'>重置</button>
  46. </td>
  47. </tr>
  48. </table>
  49. </td>
  50. </tr>
  51. </table>
  52. </form>
  53. <form action="shops_delivery.php" method="post" name="form2">
  54. <input type="hidden" name="do" value="edit">
  55. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  56. <tr>
  57. <td bgcolor="#f8f8f8" colspan="2" align="left">已有配送方式列表</td>
  58. </tr>
  59. <tr>
  60. <td colspan="2" align="center" style="border-top:0">
  61. <table width="100%" cellpadding="1" cellspacing="2" class="table">
  62. <?php foreach($deliveryarr as $rs) { ?>
  63. <input type="hidden" name="pid[]" value="<?php echo $rs['pid']; ?>">
  64. <tr>
  65. <td width="30%" align="left">
  66. <input type="text" name="m_dname<?php echo $rs['pid']; ?>" value="<?php echo $rs['dname']; ?>">
  67. <a class="btn btn-success btn-sm" href="shops_delivery.php?do=del&id=<?php echo $rs['pid']; ?>" onClick="return(confirm('删除后无法恢复,您确定删除吗'))">删除</a>
  68. </td>
  69. <td width="70%" align="left">
  70. <span>手续费:<input type="text" name="m_price<?php echo $rs['pid']; ?>" id="m_price<?php echo $rs['pid']; ?>" value="<?php echo $rs['price']; ?>" style="width:60px"> 元</span>
  71. <textarea name="m_des<?php echo $rs['pid']; ?>" id="m_des<?php echo $rs['pid']; ?>" style="width:360px;height:50px"><?php echo $rs['des']; ?></textarea>
  72. </td>
  73. </tr>
  74. <?php } ?>
  75. </table>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"><button name="imageField2" type="submit" class="btn btn-success btn-sm">保存</button></td>
  80. </tr>
  81. </table>
  82. </form>
  83. </center>
  84. </body>
  85. </html>