<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<br><br><br><br><br><br><br>
<% 
  
   old=request("old") 
   new1=request("new1") 
   tname=request.cookies("tname")
 
  
 
      Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
        call       MyOAASPObj.SetPassWord(tname,new1,old)
           set MyOAASPObj=nothing
	%>
	
	
	  <p>&nbsp;</p>
  <p>&nbsp;</p>
</center>
<div align="center"><br> 
</div>
<div align="center">

 
<%  if old="888" then 
		  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="STYLETITLE2">请重新登录</a>
	 <% end  if%>

</div>
