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