<!--#include file="../checkLogin.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>
<script Language="JavaScript">
 
 
 function form_check(){
 
   if(document.form3.grade.value.length<1){window.alert("请选择年级");document.form3.grade.focus();return (false);}
   if(document.form3.tclass.value.length<1){window.alert("请选择班别");document.form3.tclass.focus();return (false);}
   if(document.form3.tNumber.value.length<1){window.alert("请输入班中学号");document.form3.tNumber.focus();return (false);}  
   
   if(document.form3.Uname.value.length<1){window.alert("请输入姓名");document.form3.Uname.focus();return (false);}
   

}

</script>
<body>
<%
'检查权限
       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

'检查权限结束
'检查权限结束

  			Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
                MyOAASPObj.StudentsAddstudent
            set MyOAASPObj=nothing
			%>

</body> 
</html> 
