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

<html>

<head>
<title>宿舍管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function CheckForm()
{

  if(document.form1.memo.value=="")
   { alert("情况说明不能空！");
     return (false);
   }

   return (true);
}


function inputname(strname,fenshu)
{
	  document.form1.memo.value=strname;
	  document.form1.fenshu.value=fenshu;
}

</script>


<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
.STYLE2 {color: #FF0000}
-->
</style>
</head>

<body> 
<%

  louhao = TRIM( Request( "louhao"))
  shehao = TRIM( Request( "shehao"))

  strId=request("id")
  tname=request.cookies("tname")
  fenlei = TRIM( Request( "fenlei" ) )
  strYears = request.cookies("nowxueqi")
  strGrade = TRIM( Request( "strGrade" ) )
  strClass = TRIM( Request( "strClass" ) )
  strrizhitype = TRIM( Request( "strrizhitype" ))
  rizhidate=Request("rizhidate")
  Set rs = Server.CreateObject("ADODB.Recordset")
      sql="select * from banwurizhi where id='"&strId& "'"
      rs.open sql,conn,1,1
  
%>
<form name="form1" method="post" action="RiZhiSaveChange.asp?louhao=<%=louhao%>&id=<%=strId%>&shehao=<%=shehao%>"  onSubmit="return CheckForm();">
  <p>&nbsp;</p>
   <%    
      	  
	   Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
       call  MyOAASPObj.banwurizhi_changerizhi(fenlei,strYears,strGrade,strClass,strrizhitype,rizhidate,tname,strid)
       set MyOAASPObj=nothing
		   
	%>
 

 
 
</form>   
  
<div align="center"></div>
</body>
</html>