<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">
<div align="center" title="提示信息框">
<span style="BACKGROUND:#EEEEFF;COLOR:#FF6633;margin: 10px;border:1px dotted #FF6633;font-weight:bold;padding:8px;width=140">
保存成功</span>
</div>
</p>
<p align="center"><span class="STYLE1">
  <input name="button" type="button" class="topanniu" onclick="window.close();" value="关闭" />
</span></p>
<% 

      '检查权限
       tname=request.cookies("tname") 
       Set MyOAASPObj= Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           if MyOAASPObj.QuanXian(tname,"系统参数")=0 then 
		    response.redirect  "../NoPower.asp"
           end if 
		   set MyOAASPObj=nothing

       '检查权限结束



    strId=request("id")
    Tno=request("Tno")
    Tname=request("Tname")
    powdergroup=request("powdergroup")
  
   set RsPlan=server.createobject("adodb.recordset")
       RsPlansql="select * from Teachers  where tid='"&strId& "'"
       RsPlan.open RsPlansql,conn,1,3
      

       RsPlan("Tno")=Tno
	   RsPlan("Tname")=Tname
	  
	   RsPlan("powdergroup")=powdergroup

       RsPlan.update
       RsPlan.close
	   
%>
 <script language="Jscript"> {   //刷新母窗口
       window.opener.location.reload();} 
 </script><style type="text/css">
