<!--#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" />
  <script charset="utf-8" src="../kindeditor3/kindeditor.js"></script>
		<script>
			KE.show({
				id : 'content2',
				resizeMode : 1,
				allowPreviewEmoticons : false,
				allowUpload : false,
				items : [
				'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
			});
		</script>
<style type="text/css">
<!--
.STYLE3 {color: #990033}
-->
</style>
</head>
<body>
	<%
	bid=request("bid")
	curpage=Request.QueryString("curpage") '将URL参数curpage传给curpage变量
Set rs=Server.CreateObject("Adodb.Recordset")
   sql="SELECT  * from studentBBS  where bid='"&bid&"'"
   rs.open sql,conn,1,1

%>

<table width="99%" height="500" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="28%" height="30"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="29" class="STYLE1" style="border-bottom:1px solid #6D8DD8;"><div align="center"><a href="addfile.asp">新建作业</a></div></td>
        <td class="STYLE1" style="border-bottom:1px solid #6D8DD8;border-right:1px solid #6D8DD8;"><div align="center"><a href="ZuoYeList.asp">作业列表</a></div></td>
        <td class="STYLE1" style="border-top:1px solid #6D8DD8;border-right:1px solid #6D8DD8;"><div align="center">学生留言</div></td>
      </tr>
    </table></td>
    <td width="35%"  style="border-bottom:1px solid #6D8DD8;">&nbsp;</td>
    <td width="37%"  style="border-bottom:1px solid #6D8DD8;">&nbsp;</td>
  </tr>
  <tr>
    <td height="470" colspan="3" valign="top"   style="border-left:1px solid #6D8DD8;border-right:1px solid #6D8DD8;border-bottom:1px solid #6D8DD8;"><p>&nbsp;</p>
   
     <form method="post" ENCTYPE="multipart/form-data" name="form3" action="saveBBS.asp" onSubmit="return form_check();">
      <br><div align="center">
     	<table width="97%" border="0" align="center" cellspacing="8" class="mtablemain">


      	<tr>
      	  <td width="11%" height="30" class="STYLE1"><%=rs("grade")%></td>
    	  <td width="10%" class="STYLE1"><%=rs("class")%></td>
    	  <td width="64%" class="STYLE1"><span class="STYLE1 STYLE3"><%=rs("Studentname")%><input  type="hidden"  name="bid" value='<%=rs("bid")%>'><input  type="hidden"  name="curpage" value='<%=curpage%>'></span></td>
    	  <td width="15%" class="STYLE1">&nbsp;</td>
      	</tr>
      	
      	<tr>
      	  <td height="49" colspan="4" class="STYLE1"><table width="97%" border="0" cellspacing="3" cellpadding="0">
            <tr>
              <td><div align="left"><%=rs("Content")%> </div></td>
            </tr>
          </table></td>
      	</tr>
      	<tr>
      	<td height="49" colspan="4">
       <!--免费文本编辑器-->
       	<div class="editor">
      	<textarea id="content2" name="content" style="width:100%;height:100px;visibility:hidden;"><%=rs("answer")%></textarea>
      	</div>
      	<!--免费文本编辑器-->     </td>
      	</tr>
      	<tr>
      	  <td height="49" colspan="4" class="STYLE1">
      	    <div align="center">
			<input name="submit11" type="submit111" class="topanniu"  onClick="location='StudentBBS.asp?curpage=<%=curpage%>';"  value="不保存返回">&nbsp;&nbsp;&nbsp;&nbsp;
      	      <input name="submit" type="submit" class="topanniu" onClick="javascript:KindSubmit();" value="保存答复">
   	        </div>       </td></tr>
       	</table>
      </div>

      	</form>
   
   
	</td>
  </tr>
</table>
</body>
</html>
