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

101 lines
4.4KB

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