<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<html>
<head>
<title>新建事务</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
</head>

<% 
  
   id=request("id")
   TeacherName=request("TeacherName")
   zhixiaodate=request("zhixiaodate")
   LeiXing=request("LeiXing")
   FenShu=request("FenShu")
   ShuoMing=request("ShuoMing")
   
   
   
    
	  set RsSave=server.createobject("adodb.recordset")
	  RsSavesql="select * from teacherZhiXiaodetail where (id is null)" 
	  RsSave.open RsSavesql,conn,1,3  
	  RsSave.addnew


       RsSave("学期")=request.cookies("nowxueqi") 
	   RsSave("职效工资类型")=LeiXing
	   RsSave("姓名")=TeacherName
	   RsSave("分数")=FenShu
	   RsSave("日期")=zhixiaodate
	   RsSave("说明")=ShuoMing
	   RsSave("操作人")=request.cookies("tname")
	   RsSave("操作IP")=Request.ServerVariables("REMOTE_ADDR")
	   RsSave("操作时间")=now()

       RsSave.update
       RsSave.close
	  
  
	   set RsSave=nothing  
	   conn.close
	   set conn=nothing
	  response.redirect   "FenShuAdd.asp?id="&id
%>
<script language="Jscript">{   //刷新母窗口
       window.opener.location.reload();} 
 </script>
 <br>
 <center>
  <p>&nbsp;</p>
  <p>&nbsp;&nbsp;</p>
</center><br>

</body>
</html>