<!--#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"/>
  <link rel="stylesheet" href="../kindeditor3/themes/default/default.css" />
    <script charset="utf-8" src="../kindeditor3/kindeditor.js"></script>
    <script charset="utf-8" src="../kindeditor3/lang/zh_CN.js"></script>
	<script>
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					resizeType : 1,
					allowPreviewEmoticons : false,
					allowImageUpload : false,
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|',  '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 height="30"><table width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td  class="NemuNot"  width="100" height="33"  ><div   align="center"><a href="addfile.asp">新建作业</a></div></td>
        <td width="100"  class="NemuNot" ><div   align="center"><a href="ZuoYeList.asp">作业列表</a></div></td>
        <td class="Nemuselect"   width="100"><div    align="center">回复留言</div></td>
        <td class="NemuNot" width="100" ><div     align="center"><a href="XuanKe.asp">学生选课</a></div></td>
        <td class="NemuLine" >&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="470" 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="content1" 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>
