<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<!--#include file="top.asp"-->
<!--#include file="../include/money.asp"-->
<%
'判断是否已经登录
If Request.Cookies(Rikee)("huiyuan")="" Then 
Response.redirect "/user/login.asp"
Response.End
End if
'判断是否通过身份认证
If Request.Cookies(Rikee)("huiyuan")<>"" Then 
huiyuanname=Request.Cookies(Rikee)("huiyuan")

Set rfyz=conn.execute("select rz from huiyuan where huiyuan='"&huiyuanname&"'")

If rfyz(0)=0 Then
response.write("<script>alert(""您还没有通过身份验证！只有通过身份验证的会员才能举报！"");window.history.back();</script>")

End If
End if
dim action
action=request("action")
if action="save" then
	set rs=server.createobject("adodb.recordset")
	sql="select top 1 * from tousu" 
	rs.open sql,conn,1,3
	rs.addnew
	rs("content")=shopnet("content")
	rs("huiyuanid")=Request.Cookies(Rikee)("id")
	rs("datetime")=now()
	rs("jubao")=1
	rs.update
	rs.close
	response.Write("<Script>alert('您的信息已经提交，我们将会对您的举报进行审核！');</script>")
end if
%>
<table width="762" border="0" align="center" cellpadding="2" cellspacing="0" style='BORDER-COLLAPSE: collapse;MARGIN: 3px'>
  <tr> 
    <td height="15" colspan="2"></td>
  </tr>
  <tr> 
    <td width="180" valign="top"> 
      <!--#include file="left.asp"-->
<td width="582" height="280" valign="top"><table cellspacing="0" cellpadding="2" width="100%" border="0">
        <tbody>
          <tr>
            <td align="middle" height="10"><div align="center">
              <table cellspacing="0" cellpadding="0" width="100%" border="0">
                  <tbody>
                    <tr>
                      <td align="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td><table border="0" align="left" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="1"><IMG SRC="../images/mytaobaobj1_3.gif" WIDTH=3 HEIGHT=25 ALT=""></td>
                                  <td width="120" align="center" background="../images/mytaobaobj1_4.gif"><font color="#FFFFFF">投诉举报<font span class="C"></font></font></td>
                                  <td width="1"><IMG SRC="../images/mytaobaobj1_6.gif" WIDTH=7 HEIGHT=25 ALT=""></td>
                                </tr>
                            </table></td>
                          </tr>
                        </table>
                          <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="4" bgcolor="1E88C1"></td>
                            </tr>
                          </table>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="5"></td>
                            </tr>
                        </table></td>
                    </tr>
                  </tbody>
                </table>
              <br />

              <table cellspacing="0" cellpadding="0" width="90%" border="0">
                <tbody>
                  <tr>
                    <td align="center"><form name="form1" method="post" action="?action=save">
                      <table width="80%" height="0" border="0" cellpadding="0" cellspacing="1" bgcolor="#efefef">
                        <tr>
                          <td height="21" colspan="2" background="../image/bk.gif">&nbsp;</td>
                          </tr>
                        <tr>
                          <td align="center" bgcolor="#FFFFFF">举报内容：</td>
                                      <td bgcolor="#FFFFFF"><textarea name="content" cols="40" rows="6"></textarea></td>
                        </tr>
                        <tr>
                          <td height="21" colspan="2" bgcolor="#FFFFFF">
                            <div align="center">                                      
                              <input type="submit" name="Submit" value="提交举报" ONCLICK="javascript:return checksignup()">
  &nbsp;&nbsp;                                        <input type="reset" name="Submit2" value="重新输入" >                                    
                            </div></td>
                        </tr>
                        <tr>
                          <td height="21" colspan="2" background="../image/bk1.gif">&nbsp;</td>
                        </tr>
                      </table>
                            </form></td>
                  </tr>
                </tbody>
              </table>
              </div>
</td>
          </tr>
        </tbody>
      </table>
  
      <br>
      <table cellspacing="0" cellpadding="0" width="85%" align="center" border="0">
        <tbody>
          <tr>
            <td><div align="center">如您需要对网上达成实际交易进行投诉，请到：<br />
              &quot;<a href="buysell.asp?id=1">我是买家－已买商品</a>&quot;，或&quot;<a href="buysell.asp?id=2">我是卖家－已卖商品</a>&quot;提交投诉。</div></td>
          </tr>
        </tbody>
      </table></td></tr>
</table>
<!--#include file="../bottom.asp"-->
<script>
function checksignup() {
if ( document.form1.content.value == '' ) {
window.alert('举报内容不能为空!!');
return false;}
return true;}
</script>
