<!--#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")
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>

<body>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from shjia where shjiaid="&id
rs.open sql,conn,1,3
rs("name2")=trim(request("name2"))
rs("sfzcode")=trim(request("sfzcode"))
rs("dz")=trim(request("dz"))
rs("tel")=trim(request("tel"))
rs("sfzfyj")=trim(request("sfzfyj"))
rs.update
rs.nothing
rs.close
response.Write "<script language=javascript>alert('ÈÏÖ¤³É¹¦£¡');window.location.href='help4.asp';</script>"
response.end
%>
</body>

</html>
