<!--#include file=CONN.ASP-->
<%
dim id,username,ts,tt
id=trim(request("id"))
ts=trim(request("ts"))
tt=trim(request("tt"))
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
dim a
a=request.cookies("fox")("username")
%>
<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" bordercolor="#CCCCCC" bgcolor="#F2F2F2" style="border-collapse: collapse">
    <form action="?id=<%=id%>&ts=<%=ts%>&fox=chk" method="POST">
    <tr>
      <td width="353" height="25" style="border-bottom-style: none; border-bottom-width: medium" colspan="2" class="tdtxt01" bgcolor="#D6D6D6">
      <p align="center">如果你发现有问题或者受蒙骗，欢迎您举报！<br>
		一旦我们查证后，我们将会删除并封其帐号！<br>
		尽最大程度的让网友们少上当受骗，还网络一干净，勤劳致富。</td>
    </tr>
    <tr>
      <td width="177" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <p align="center">标题内容：</td>
      <td width="176" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      &nbsp;<b><font color="#FF6C3B"><%=tt%></font></b></td>
    </tr>
    <tr>
      <td width="177" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <p align="center">信息所属：</td>
      <td width="176" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <input type="radio" value="0" checked name="biaoti">虚假信息&nbsp;&nbsp;&nbsp; 
		<input type="radio" name="biaoti" value="1">垃圾信息</td>
    </tr>
    <tr>
      <td width="80" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <p align="center"><font color="#FF0000">请您按<br>
		格式写</font><p align="center"><font color="#FF0000">1.举报人<br>
		2.及内容</font></td>
      <td width="273" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <textarea class="inputa" crows="16" name="memo" cols="37" style="height:87 ; width:240" rows="3">举报人用户名：<%=a%>

内容：</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,memo,biaoti,fbsj
if len(trim(request("memo")))<2 then
response.write "<li>举报内容没有填写！"
cl
response.end
end if
set rs=server.createobject("adodb.recordset")
sql = "select * from FOX_xiaog "
rs.open sql,conn,1,3
rs.addnew
rs("memo")=trim(request("memo"))
rs("xiaoid")=id
if ts=0 then
rs("biaoti")="信息"
end if
if ts=1 then
rs("biaoti")="广告"
end if
rs("fbsj")=now()
rs.update
rs.close
set rs=nothing 
response.write "<li>感谢您的举报！"
closedb
cl
end sub
%>
<%sub cl()%>
<body onLoad="setTimeout(window.close, 1000)">
<%end sub%></body></html>