<!--#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>
function CheckForm()
{
   if(document.form3.banzhishu.value=="")
   { alert("板纸数不能为空！");
     return (false);
   }
   
   
  if(isNaN(document.form3.banzhishu.value))
   { alert("板纸数不是数字！");
     return (false);
   }
   


   if(document.form3.yinjuanshu.value=="")
   { alert("试卷数量不能为空！");
     return (false);
   }
   
   
   if(isNaN(document.form3.yinjuanshu.value))
   { alert("试卷数量不是数字！");
     return (false);
   }
   
   
   
   
   if(document.form3.grade.value=="")
   { alert("年级不能为空！");
     return (false);
   }


    if(document.form3.file1.value=="")
   { alert("附件不能为空！");
     return (false);
   }


   return (true);
}

</script>
<body>
<table width="99%" height="500" 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="shenqing.asp" target="_self">申请印刷资料</a></div></td>
       <td width="100" class="NemuNot" ><div align="center"><a href="main.asp" target="_self">印刷资料审批</a></div></td>
       <td width="100" class="NemuNot" ><div align="center"><a href="jiketongji.asp?qdtype=未处理" target="_self">印刷资料统计</a></div></td>
       <td    class="NemuLine">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="470" valign="top"   class="NemuMainBox">
	 <br>
	
     
	 
<form method="post" ENCTYPE="multipart/form-data" name="form3" action="savefile.asp" onSubmit="return CheckForm();">
  <p>&nbsp;</p>
  <table width="489" height="331" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="30" class="STYLE1"><div align="right">年&nbsp;&nbsp;级</div></td>
      <td class="STYLE1">&nbsp;</td>
      <td class="STYLE1">
	  <select name="grade" id="grade">
          <option selected value=<%=strGrade%>><%=strGrade%></option>
          <% Set RSsel = Conn.Execute("select vname from  varset where name='beikeji'")
                   While NOT RSsel.EOF %>
          <option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
          <% RSsel.MoveNext
                  Wend
                  RSsel.Close%>
				  <option value=行政>行政</option>  
      </select>	  </td>
    </tr>
    <tr>
      <td height="33" class="STYLE1"><div align="right">科&nbsp;&nbsp;组</div></td>
      <td class="STYLE1">&nbsp;</td>
      <td class="STYLE1"><select name="subject" id="subject">
        <option selected value=<%=strGrade%>><%=strGrade%></option>
        <% Set RSsel = Conn.Execute("select vname from  varset where name='beikezu'")
                   While NOT RSsel.EOF %>
        <option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
        <% RSsel.MoveNext
                  Wend
                  RSsel.Close%>
				   <option value=其他>其他</option>
      </select></td>
    </tr>
    <tr>
      <td class="STYLE1"><div align="right">规&nbsp;&nbsp;格</div></td>
      <td class="STYLE1">&nbsp;</td>
      <td class="STYLE1"><select name="guige" id="guige">
       
		<option value=8K>8K</option>
		<option value=A4>16K</option>
         <% Set RSsel = Conn.Execute("select vname from  varset where name='印刷资料规格'")
                   While NOT RSsel.EOF %>
        <option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
        <% RSsel.MoveNext
                  Wend
                  RSsel.Close%>
	  
        
      </select></td>
    </tr>
    <tr>
      <td height="33" class="STYLE1"><div align="right">单双面</div></td>
      <td class="STYLE1">&nbsp;</td>
      <td class="STYLE1"><select name="danshuangmian" id="danshuangmian">
       <option value=双面>双面</option>
       <option value=单面>单面</option>
      </select></td>
    </tr>
    <tr>
      <td height="30" class="STYLE1"><div align="right">板纸数</div></td>
      <td class="STYLE1">&nbsp;</td>
      <td class="STYLE1"><label>
        <input   onKeyUp="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"   name="banzhishu" type="text" class="input" id="banzhishu" size="10">
      纯数字，不带单位</label></td>
    </tr>
    <tr>
      <td class="STYLE1"><div align="right">印卷数</div></td>
      <td class="STYLE1">&nbsp;</td>
      <td class="STYLE1"><input name="yinjuanshu"    onKeyUp="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"    type="text" class="input" id="yinjuanshu" size="10">
      纯数字，不带单位</td>
    </tr>
    <tr>
      <td width="155" class="STYLE1"><div align="right" class="STYLE1">资料文件</div></td>
      <td width="40" class="STYLE1">&nbsp;</td>
      <td width="434" class="STYLE1"><label>
      <input name="file1" type="file" class="text" style="WIDTH: 100%" size="30">
      </label></td>
    </tr>
    
    
    <tr>
      <td height="62" colspan="3"><p>&nbsp;</p>      </td>
    </tr>
    <tr>
      <td colspan="3"><div align="center"><span class="STYLE3"><b>
        <input name="submit" type="submit" class="topanniu" title="保存表单" value="保存表单">
      </b></span></div></td>
    </tr>
  </table>
</form>    </td>
  </tr>
</table>
</body>
</html>
