<!--#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="../css/style.css" />

<style type="text/css">
<!--
.STYLE3 {color: #990033}
-->
</style>
 <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(right(document.form3.file1.value,3)=="exe"){window.alert("不能直接诶发送EXE文件，请压缩后在发送");document.form3.file1.focus();return (false);}
   if(document.form3.file1.value.length<1){window.alert("请选择文件");document.form3.file1.focus();return (false);}
 	 
 }

</script>
<body>

<table width="99%" height="499" border="0" cellpadding="0" cellspacing="0">
  <tr>
     <td height="33"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100" class="Nemuselect" ><div align="center"><a href="addfile.asp" target="_self">添加常规文件</a></div></td>
        <td width="100" class="NemuNot" > <div align="center"><a href="manage.asp" target="_self">常规文件管理</a></div></td>
        <td    class="NemuLine">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
   <td height="470" valign="top"   class="NemuMainBox">
	 <br><br><br>
	<form method="post" ENCTYPE="multipart/form-data" name="form3" action="savefile.asp" onSubmit="return form_check();">
  <% Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
       MyOAASPObj.ChangGuiAddFile
   set MyOAASPObj=nothing%>
</form>    </td>
  </tr>
</table>
</body>
</html>
