<!--#include file=CONN.ASP-->
<%
dim id
id=trim(request("id"))
if not isnumeric(id) or id="" then
response.write "<li>参数错误！"
cl
response.end
end if
if request.cookies("fox")("username")="" or request.cookies("fox")("domain")="" or request.cookies("fox")("id")="" then 
response.write "<br>"
response.write "<li>你还没有登陆！"
cl
response.end
end if
if request("fox")="chk" then
call fox()
response.end
end if
%>
<meta http-equiv="Content-Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="fox.CSS">
<title>我要回复</title>
<style type="text/css">
<!--
body {
	background-color: #F2F2F2;
}
-->
</style><body topmargin="3" leftmargin="0">
<div align="center">
  <center>
  <br>
  <br>
  <table width="352" height="64" border="0" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#F2F2F2" style="border-collapse: collapse">
    <form action="?id=<%=id%>&fox=chk" method="POST">
    <tr>
      <td width="353" height="25" style="border-bottom-style: none; border-bottom-width: medium" colspan="2">
      <p align="center">回答信息提问者</td>
    </tr>
    <tr>
      <td width="80" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <p align="center"><font color="#FF0000">回答内容：</font></td>
      <td width="273" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <textarea class="inputa" crows="16" name="neirong" cols="37" style="height:101 ; width:240"></textarea></td>
    </tr>
    <tr>
      <td width="353" height="35" colspan="2" style="border-top-style: none; border-top-width: medium">
      <p align="center">
      <input class="inputb" type="submit" value="回答" name="B1"></td>
    </tr>
    </form>
  </table>
  </center>
</div>
<%
sub fox()
dim rs,sql,neirong
if len(trim(request("neirong")))<2 then
response.write "<li>回复内容没有填写！"
cl
response.end
end if
set rs=server.createobject("adodb.recordset")
sql = "select * from FOX_hf where id="&id&""
rs.open sql,conn,1,3
rs("hfneirong")=trim(request("neirong"))
rs.update
rs.close
set rs=nothing 
response.write "<li>回复成功！"
closedb
cl
end sub
%>
<%sub cl()%>
<body onLoad="setTimeout(window.close, 1000)">
<%end sub%>