<!--#include file="../include/Conn.asp"-->
<!--#include file="../Include/Char.asp" -->
<!-- #include file="../Include/enpasswd.inc" -->
<%
    pwd=mistake(request("pwd"))
     email = checkStr(Trim(Request.Form("email")))
     address = checkStr(Trim(Request.Form("address")))	   
	 phone = checkStr(Trim(Request.Form("phone")))
	 
	 if pwd<>"" then 
      sql="update person set pwd='"&pwd&"' where id="&request("id")
      conn.execute sql
	  end if
      sql="update person set email='"&email&"' where id="&request("id")
      conn.execute sql
      sql="update person set address='"&address&"' where id="&request("id")
      conn.execute sql
      sql="update person set phone='"&phone&"' where id="&request("id")
      conn.execute sql
	  


	 
response.write "<br><br><br><br><br><br><center><font color='ff0000'>恭喜您，个人资料修改成功,"

%>
<link href="Images/Style.css" rel="stylesheet" type="text/css">
请 <font color="#FF0000">【<a href="Admin_puser.asp">返回</a>】</font></center></font>