www.gusucode.com > 掌柜网店购物系统 4.0码程序 > admin/sysset_fudong.asp
<!--#include file="conn.asp"--> <%if session("admin")="" then response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>" response.End else if session("flag")>1 then response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>" response.End end if end if %> <html><head><title>浮动价</title> <script> function IsDigit() { return ((event.keyCode >= 48) && (event.keyCode <= 57)); } </script> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <link href="../img/css.css" rel="stylesheet" type="text/css"> <style> BODY { SCROLLBAR-FACE-COLOR: #e7e7e7; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #d4d0c8; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #f7f7f7; SCROLLBAR-DARKSHADOW-COLOR: #e7e7e7; } .style3 {color: #FF6600} </style> </head> <body> <table class="tableBorder" width="96%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <form method="post" action="fudongSet.asp?action=update"> <tr> <td colspan="10" align="center" bgcolor="#dfdfdf"><b>浮动价设置</font></b></td> </tr> <tr align=center bgcolor="#f2f2f2"> <td>序 号</td> <td>说 明</td> <td>送货上门<br><font color=#ff0000>VIP 价</font></td> <td>普通平邮<br><font color=#ff0000>VIP 价</font></td> <td>E M S<br><font color=#ff0000>VIP 价</font></td> <td>送货上门<br>普通会员价</td> <td>普通平邮<br>普通会员价</td> <td>E M S<br>普通会员价</td> <td>删 除</td> </tr> <% Set rs = Server.CreateObject("ADODB.Recordset") rs.open "SELECT * From shop_fudong order by id",conn,1,1 if rs.recordcount=0 then %> <tr align=center bgcolor="#f2f2f2"> <td colspan="10" align="center" width="100%"> 还没有添加设置</td> </tr> <% else do while not rs.eof %> <tr align=center bgcolor="#f2f2f2"> <td align=center><%=rs("ID")%></td> <td align=center> <input type="hidden" name="id" value="<%=rs("id")%>"> <input class=text type="text" name="shuoming" size="12" value="<%=trim(rs("shuoming"))%>"> </td> <td align=center> <input class=text type="text" name="smvip" size="6" value="<%=trim(rs("smvip"))%>" ONKEYPRESS="event.returnValue=IsDigit();" > </td> <td align=center> <input class=text type="text" name="pyvip" size="6" value="<%=trim(rs("pyvip"))%>" ONKEYPRESS="event.returnValue=IsDigit();" > </td> <td align=center> <input class=text type="text" name="emsvip" size="6" value="<%=trim(rs("emsvip"))%>" ONKEYPRESS="event.returnValue=IsDigit();" > </td> <td align=center> <input class=text type="text" name="smhy" size="6" value="<%=trim(rs("smhy"))%>" ONKEYPRESS="event.returnValue=IsDigit();" > </td> <td align=center> <input class=text type="text" name="pyhy" size="6" value="<%=trim(rs("pyhy"))%>" ONKEYPRESS="event.returnValue=IsDigit();" > </td> <td align=center> <input class=text type="text" name="emshy" size="6" value="<%=rs("emshy")%>" ONKEYPRESS="event.returnValue=IsDigit();" > </td> <td align=center> <a href="fudongKill.asp?id=<%=rs("id")%>">删除</a> </td> </tr> <% rs.MoveNext Loop %> <tr> <td colspan="10" bgcolor="#f2f2f2" align="center" width="100%"> <input type="submit" name="Submit2" value="保存修改" style="font-family: 宋体; font-size: 9pt"> <input type="reset" value="重新设定" style="font-family: 宋体; font-size: 9pt" name="重置" > </td> </tr> <% end if rs.close set rs=nothing conn.close set conn=nothing %> </form> </table><br> <table class="tableBorder" width="96%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td colspan="9" align="center" bgcolor="#dfdfdf"><b>商品查讯</font></b></td> </tr> <form method="post" action="fudongSet.asp?action=add"> <tr align=center bgcolor="#f2f2f2"> <td>序 号</td> <td>说 明</td> <td>送货上门<br><font color=#ff0000>VIP 价</font></td> <td>普通平邮<br><font color=#ff0000>VIP 价</font></td> <td>E M S<br><font color=#ff0000>VIP 价</font></td> <td>送货上门<br>普通会员价</td> <td>普通平邮<br>普通会员价</td> <td>E M S<br>普通会员价</td> <td>删 除</td> </tr> <tr align=center bgcolor="#f2f2f2"> <td align=center></td> <td align=center> <input class=text type="text" name="shuoming" size="12"> </td> <td align=center> <input class=text type="text" name="smvip" size="6" ONKEYPRESS="event.returnValue=IsDigit();" value="0" > </td> <td align=center> <input class=text type="text" name="pyvip" size="6" ONKEYPRESS="event.returnValue=IsDigit();" value="0" > </td> <td align=center> <input class=text type="text" name="emsvip" size="6" ONKEYPRESS="event.returnValue=IsDigit();" value="0" > </td> <td align=center> <input class=text type="text" name="smhy" size="6" ONKEYPRESS="event.returnValue=IsDigit();" value="0" > </td> <td align=center> <input class=text type="text" name="pyhy" size="6" ONKEYPRESS="event.returnValue=IsDigit();" value="0" > </td> <td align=center> <input class=text type="text" name="emshy" size="6" ONKEYPRESS="event.returnValue=IsDigit();" value="0"> </td> <td align=center> <input type="submit" name="Submit2" value="添加" style="font-family: 宋体; font-size: 9pt"> </td> </tr> </form> </table> <!--#include file="copyright.asp"--> </body> </html>