<!--#include file="../checkLogin.asp"-->
<!--#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="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>


<body>

<table width="100%" height="495" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="27">
	<div class="header">
	<div class="nav">
        <ul>
		    <li class="on">新建作业</li>
            <li><a href="ZuoYeList.asp" class="tablenemu">作业列表</a></li>			
            <li><a href="StudentBBS.asp">学生留言</a></li>
			<li><a href="XuanKe.asp">学生选课</a></li>
			<li><a href="KaoShiList.asp">在线考试</a></li>
        </ul>
    </div>	
	</td>
  </tr>


  <tr>
    <td  class="NemuMainBox"  height="470" valign="top"   ><p>&nbsp;</p>
    <p>
	<form method="post" ENCTYPE="multipart/form-data" name="form3" action="savefile.asp" onSubmit="return form_check();">
	  <%
	 strftype=request("ftype")
	 %>	<div align="center">
		<p>&nbsp;</p>
		<table width="516" height="195" border="0" >
		<tr>
		<td height="25"   class="STYLE1"><div align="right">科目</div></td>
		<td colspan="3"><input
		name=subject class="text" id="subject" style="WIDTH: 100" 
		onFocus='this.style.backgroundColor="#FFFADF"' onBlur='this.style.backgroundColor="#FFFFFF"'>
		  <a href="manage.asp" target="_self"></a> </td>
		</tr>
		<tr>
		<td height="29" nowrap class="STYLE1"><div align="right" class="STYLE1">
		  <div align="right">教师</div>
		</div></td>
		<td width="205">
		<input name=teacher class=text id="teacher" style="WIDTH: 100" 
		onFocus='this.style.backgroundColor="#FFFADF"' onBlur='this.style.backgroundColor="#FFFFFF"' value=<%=request.cookies("tname")%> 	maxlength=100></td>
		<td width="114" nowrap class="STYLE1"><div align="right">时间</div></td>
		<td width="126"><input
		name=dateandtime class="text" style="WIDTH: 100" onBlur='this.style.backgroundColor="#FFFFFF"' 
		onFocus='this.style.backgroundColor="#FFFADF"'  value=<%=date()%>></td>
		</tr>
		
		<tr>
		<td width="53" height="31" nowrap class="STYLE1"><div align="right">标题</div></td>
		<td colspan="3"><textarea name="title" rows="3" class="text" style="WIDTH: 100%" onFocus="this.style.backgroundColor=&quot;#FFFADF&quot;" onBlur="this.style.backgroundColor=&quot;#FFFFFF&quot;"></textarea></td>
		</tr>
		
		
		<tr>
		<td height="48" nowrap><div align="right"><span class="STYLE1">作业附件</span></div></td>
		<td height="45" colspan="3" valign="middle" class="STYLE1"><div name="div1" id="div1" style="display:block;">
		<input type="file" name="file1"  class=text id="file1"  onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 100%"  onChange="divshow('div2')">
		</div>
		<div name="div2" id="div2" style="display:none;">
		<input type="file"  name="file2"  class=text id="file1"  onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 100%"  onChange="divshow('div3')">
		</div>
		<div name="div3" id="div3" style="display:none;">
		<input type="file" name="file3"  class=text id="file1"  onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 100%"   onChange="divshow('div4')">
		</div>
		<div name="div4" id="div4" style="display:none;">
		<input type="file"  name="file4"  class=text id="file1"  onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 100%"  onChange="divshow('div5')">
		</div>
		<div name="div5" id="div5" style="display:none;">
		<input type="file"  name="file5"  class=text id="file1"  onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 100%">
		</div></td>
		</tr>
		</table>
		</div>
		<center>
		<p>
		  <input name="submit" type="submit" class="topanniu"  onclick="javascript:KindSubmit();" value="发布作业"></p>
		</center>
</form>
	
	</td>
  </tr>
</table>
</body>
</html>
