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

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