<!--#include file="../SQLconn.asp"-->

<% 
   new1=request("new1")
 
  tname=request.cookies("tname")
 
  
   
   set RsPlan=server.createobject("adodb.recordset")
       RsPlansql="select * from Teachers where tname='"&tname& "'"
       RsPlan.open RsPlansql,conn,1,3
	   RsPlan("TPassWord")=new1
       RsPlan.update
       RsPlan.close
	
%>
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<style type="text/css">
<!--
body {
	background-image: url(../images/table/line.JPG);
}
-->
</style> 

<br>

<br>
<br>
<br>

<div align="center" title="提示信息框">
<span style="BACKGROUND:#EEEEFF;COLOR:#FF6633;margin: 10px;border:1px dotted #FF6633;font-weight:bold;padding:8px;width=340">
保存成功,请记住您的新密码</span>
</div>
<br><center>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</center>
<div align="center"><br> 
</div>
<div align="center">
<%  
		  Set RsZhuJi=Server.CreateObject("Adodb.Recordset")
		  sqlZhuJi="select vname,shuoming from  varset where name='学校OA网地址' order by vid"
		  RsZhuJi.open sqlZhuJi,conn,1,1
		  if RsZhuJi("vname")="" then
			  response.cookies("Fuwuqiwangzhi") ="http://"&Request.ServerVariables("Local_Addr")&":"&Request.ServerVariables("SERVER_PORT")
		   else 
			  response.cookies("Fuwuqiwangzhi")=RsZhuJi("vname")
		  end if 
  %>
       <a href="<%=request.cookies("Fuwuqiwangzhi")%>" target="_top" class="STYLE1">请重新登录</a>

</div>
