<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>2 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if qx4<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
%>
<html>
<head>
<title>网软志成在线购物系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
	color: #000000;
	font-weight: bold;
}
.STYLE4 {color: #FF0000}
.STYLE3 {color: #000000}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<center>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="1%" height="28">&nbsp;</td>
      <td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
          <tr>
            <td width="77%" height="27" style="font-size:14px;color:#ffffff">&nbsp;<strong><font color="#000000">网软志成购物后台管理系统 &gt;&gt; 货运管理 &gt;&gt; 送货邮编设置</font></strong></td>
            <td width="23%" style="font-size:14px;color:#ffffff"><span class="STYLE4">* 为必添项目</span></td>
          </tr>
          <tr>
            <td height="20" colspan="2" style="font-size:12px;color:#ffffff"><span class="STYLE3">&nbsp;操作说明：当购物者输入的邮编的前四位与下面列表中的邮编前四位相同时，购物者才能使用送货上门服务！</span><br />
                </span></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table border="0" width="95%" cellspacing="1" cellpadding="3" style="border-collapse: collapse" align=center bgcolor="#999999">
    <form method="post" action="youbian_save.asp?action=update">
      <tr align=center bgcolor="#cccccc" height=25> 
        <td>序号</td>
        <td>地点</td>
        <td>邮编</td>
        <td>&nbsp;</td>
      </tr>
<%
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open "SELECT  * From shop_youbian  order by id",conn,1,1
if rs.recordcount=0 then 
%>
      <tr bgcolor="#F3F3F3"> 
        <td height=25 colspan="8" align="center"> 还没有添加邮编</td>
      </tr>
<%
else
    do while not rs.eof
%>
      <tr height=25 bgcolor="#F3F3F3"> 
        <td align=center><%=rs("ID")%></td>
        <td align=center> 
          <input type="hidden" name="id" value="<%=rs("id")%>">
          <input class="wenbenkuang" type="text" name="dizhiname" size="16" value="<%=trim(rs("dizhiname"))%>">        </td>
        <td align=center> 
          <input class="wenbenkuang" type="text" name="youbian" size="10" value="<%=rs("youbian")%>" onKeyPress="return event.keyCode>=48&&event.keyCode<=57" >        </td>
        <td align=center> <a href="youbian_kill.asp?id=<%=rs("id")%>">删除</a> </td>
      </tr>
      <%
    rs.MoveNext
    Loop
%>
      <tr bgcolor="#F3F3F3"> 
        <td width="100%" height=25 colspan="8" align="center"> 
          <input type="submit" name="Submit2" value="保存修改" class="go-wenbenkuang">
          &nbsp; 
          <input type="reset" value="重新设定" class="go-wenbenkuang" name="重置" >        </td>
      </tr>
<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
    </form>
    <form method="post" action="youbian_save.asp?action=add">
      <tr height=25 bgcolor="#F3F3F3">
        <td colspan="5" align=center bgcolor="#CCCCCC">添 加 邮 编</td>
      </tr>
      <tr height=25 bgcolor="#F3F3F3"> 
        <td align=center>&nbsp;</td>
        <td align=center> 
          <input class="wenbenkuang" type="text" name="dizhiname" size="16">        </td>
        <td align=center> 
          <input class="wenbenkuang" type="text" name="youbian" size="10" onKeyPress="return event.keyCode>=48&&event.keyCode<=57">        </td>
        <td colspan="2" align=center>&nbsp;</td>
      </tr>
      <tr height=25 bgcolor="#F3F3F3">
        <td height="25" colspan="5" align=center><input type="submit" name="Submit22" value="添 加 新 邮 编" class="go-wenbenkuang"></td>
      </tr>
    </form>
  </table>
  <br>
</center>
<!--#include file="copyright.asp"-->
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>