<!--#include file=CONN.ASP-->
<!--#include file=foxx.asp-->
<!--#include file="config.asp"-->
<!--#include file="usercookies.asp"-->
<link href="fox.css" rel="stylesheet" type="text/css">
<%
dim username,lxrname,usertel,phone,qq,email,dizhi,code,card,rs,sql,k
username=trim(request("username"))
lxrname=trim(request("lxrname"))
usertel=trim(request("usertel"))
phone=trim(request("phone"))
qq=trim(request("qq"))
email=trim(request("email"))
dizhi=trim(request("dizhi"))
code=trim(request("code"))
card=trim(request("card"))
if request.cookies("fox")("xerr")="" then
k=0
else
k=request.cookies("fox")("xerr")
end if
if request.cookies("fox")("xerr")>2 then
response.Write "<script LANGUAGE='javascript'>alert('您修改的次数够多了，系统停止您的操作！');history.go(-1);</script>"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from [FOX_user] where UserName='"&UserName&"'"
rs.open sql,conn,1,3
rs("lxrname")=lxrname
rs("usertel")=usertel
rs("phone")=phone
rs("qq")=qq
rs("email")=email
rs("dizhi")=dizhi
rs("code")=code
rs("card")=card
rs("jf")=rs("jf")-zlhjf
rs.update
rs.close
set rs=nothing
Response.cookies("fox")("xerr")=k+1
closedb
Response.Redirect "useredit.asp"
%></body></html>