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

106 lines
5.2KB

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