<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<%if request.cookies("bjx")("shjianame")="" then
response.Redirect "admin_login.asp"
response.End
end if
%>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from [shjia] where username='"&request.cookies("bjx")("shjianame")&"' ",conn,1,1
id=rs("shjiaid")
%>
<%
set rsu=server.CreateObject("adodb.recordset")
rsu.open "select * from [shjia] where username='"&request.cookies("bjx")("shjianame")&"' ",conn,1,1
lx=rsu("lx")
%>
<%
if request.querystring("maction")="save" then
if trim(request("PayMail"))=""  then
response.write("<script>alert('对不起，支付宝账户不能为空！');history.back();</script>")
response.end 
end if
if instr(request("PayMail"),"@")<=1 or instr(request("PayMail"),"@.") then
response.write("<script>alert('对不起，支付宝账户错误！');history.back();</script>")
response.end 
end if
if trim(request("PayPassword"))="" then
response.write("<script>alert('对不起，安全校验码不能为空！');history.back();</script>")
response.end 
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from [shjia] where username='"&request.cookies("bjx")("shjianame")&"' ",conn,1,3
rs("PayMail")=trim(request("PayMail"))
rs("PayPassword")=trim(request("PayPassword"))
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('保存成功！');history.back();</script>"
response.end
end if
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../mt_style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
.STYLE3 {color: #0000FF}
-->
</style>
</head>
<body>
<p><b><font size="6" color="#FF0000">如果有需要，请和我联系！</font></b></p>
<p><b><font size="6" color="#FF0000">联系电话：0591-85253050</font></b></p>
<p><b><font size="6" color="#FF0000">联系QQ：34734852</font></b></p>
<p><b><font size="6" color="#FF0000">联系人：成先生&nbsp; </font></b></p>
<p><b><font size="6" color="#FF0000">演示网址：<a href="http://www.guluu.com">http://www.guluu.com</a></font></b></p>
</body>
