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

<head>

<title>科研文件</title>


<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body  topmargin="5" leftmargin="5">


<script Language="JavaScript">
function right(mainStr,lngLen) {
// alert(mainStr.length)
 if (mainStr.length-lngLen>=0 && mainStr.length>=0 && mainStr.length-lngLen<=mainStr.length) {
 return mainStr.substring(mainStr.length-lngLen,mainStr.length)}
 else{return null}
 }


 function form_check(){
   if(document.form3.ftype.value.length<1){window.alert("请选择类别");document.form3.ftype.focus();return (false);} 
   if(document.form3.file1.value.length<1){window.alert("请选择文件");document.form3.file1.focus();return (false);}
    
	 
 }

</script>
<br>
<table  border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
		<tr>
		<td height="150"><p align="center">           

<form method="post" ENCTYPE="multipart/form-data" name="form3" action="savefile.asp" onSubmit="return form_check();">
<%
			strftype = TRIM( Request( "ftype" ) )
			tname=request.cookies("tname")
			strguanjianci = TRIM( Request( "guanjianci" ) )
			Set MyOAASPObj = Server.CreateObject("YFSchoolOApro2.YFSchoolDll2")
        call    MyOAASPObj.KeYanAddFile(tname,strftype)
            set MyOAASPObj=nothing
			%>

</form>
	</p></td>
		</tr>
		</table>

</body>  
  
</html>  


