<!--#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,baohu,rs,sql,k
username=trim(request("username"))
baohu=trim(request("baohu"))
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("baohu")=baohu
rs.update
rs.close
set rs=nothing
Response.cookies("fox")("xerr")=k+1
closedb
Response.Redirect "baohu.asp"
%></body></html>