📄 sysset.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 "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
end if
%>
<%dim action
action=request.QueryString("action")
'//保存信息
if action="save" then
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_sys ",conn,1,3
rs("sm1")=trim(request("sm1"))
rs("sm2")=trim(request("sm2"))
rs("sm3")=trim(request("sm3"))
rs("py1")=trim(request("py1"))
rs("py2")=trim(request("py2"))
rs("py3")=trim(request("py3"))
rs("ems1")=trim(request("ems1"))
rs("ems2")=trim(request("ems2"))
rs("ems3")=trim(request("ems3"))
rs("vipid")=trim(request("vipid"))
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('系统参数修改成功!');history.go(-1);</script>"
end if%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{font-size:9pt;line-height:120%}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body bgcolor="#D9E6FF">
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="16">
<div align="center"><font color="#000000">系统参数设置</font></div>
</td>
</tr>
<tr>
<td height="107">
<table width="88%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<form name="form1" method="post" action="sysset.asp?action=save">
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_sys",conn,1,1%>
<tr bgcolor="#E8F1FF">
<td width="196" bgcolor="#E8F1FF" align="center">送货上门<br>
收费标准</td>
<td width="448">
<input name="sm1" type="text" size="8" value="<%=trim(rs("sm1"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元/订单<br>
普通会员用户购满
<input name="sm2" type="text" size="8" value="<%=trim(rs("sm2"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元/订单免送货费<br>
VIP用户购满
<input name="sm3" type="text" size="8" value="<%=trim(rs("sm3"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元/订单免送货费 </td>
</tr>
<tr bgcolor="#E8F1FF">
<td width="196" bgcolor="#E8F1FF" align="center">普通平邮<br>
收费标准</td>
<td width="448"> 基价
<input name="py1" type="text" size="4" value="<%=trim(rs("py1"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元<br>
VIP用户可享受购满
<input name="py2" type="text" size="4" value="<%=trim(rs("py2"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元免
<input name="py3" type="text" size="4" value="<%=trim(rs("py3"))%>" onKeyPress="event.returnValue=IsDigit();" >
元基价的优惠</td>
</tr>
<tr bgcolor="#E8F1FF">
<td width="196" bgcolor="#E8F1FF" align="center">邮政速递<br>
(EMS)<br>
收费标准</td>
<td width="448"> 基价
<input name="ems1" type="text" size="4" value="<%=trim(rs("ems1"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元<br>
VIP用户可享受购满
<input name="ems2" type="text" size="4" value="<%=trim(rs("ems2"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
元免
<input name="ems3" type="text" size="4" value="<%=trim(rs("ems3"))%>" onKeyPress="event.returnValue=IsDigit();" >
元基价的优惠 </td>
</tr>
<tr bgcolor="#E8F1FF">
<td width="196" bgcolor="#E8F1FF" align="center">VIP会员卡的商品ID绑定号</td>
<td width="448">
<input name="VIPID" type="text" size="10" value="<%=trim(rs("VIPID"))%>" ONKEYPRESS="event.returnValue=IsDigit();" >
</td>
</tr>
<tr bgcolor="#E8F1FF">
<td height="22" colspan="2">
<div align="center">
<input type="submit" name="Submit" value="提 交">
<input type="reset" name="Submit2" value="恢 复">
</div>
</td>
</tr>
</form>
</table>
<%rs.Close
set rs=nothing%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<div align="center"><font color="#000000">操作注意事项及说明</font></div>
</td>
</tr>
<tr>
<td>
<table width="80%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td height="16"><font color="#FF0000">·请注意所有必须要填写数字,没有也要填0。<br>
·请在“商品管理”里确定VIP会员卡的ID号,填在这里,在普通会员的VIP的页面里用。<br>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<script>
function IsDigit()
{return ((event.keyCode >= 48) && (event.keyCode <= 57));}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -