<%
'商易仿淘宝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"-->
<%
dim action,jiaoyi
action=shopnet("action")
jiaoyi=shopnet("jiaoyi")
if jiaoyi="" then
	response.Write("<Script>alert('请确定您的交易，没进行过交易的会员不能投诉，请使用举报！');window.location='jubao.asp';</script>")
	response.end()
end if
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")=0
	rs("jiaoyi")=jiaoyi
	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>
    <td width="582" height="280" valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0">
      <tbody>
        <tr>
          <td align="middle"><table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr bgcolor="#b3f2fb">
                  <td align="middle" width="84%" bgcolor="#61c4f9" height="30"><table cellspacing="0" cellpadding="0" width="100%" background="../images/mytaobaobj1_1.gif" border="0">
                      <tbody>
                        <tr>
                          <td width="239">&nbsp;我要举报 </td>
                          <td width="358"></td>
                          <td align="right" width="5"><img height="30" src="../images/mytaobaobj3_1.gif" width="3" /></td>
                        </tr>
                      </tbody>
                  </table></td>
                </tr>
              </tbody>
          </table></td>
        </tr>
      </tbody>
    </table>
      <br />
      <table cellspacing="0" cellpadding="2" width="100%" border="0">
        <tbody>
          <tr>
            <td align="middle" height="10"><div align="center"><br />
                    <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="0" height="0" border="0" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td>投诉内容：</td>
                                    <td><textarea name="content" cols="40" rows="6"></textarea><input name="jiaoyi" type="hidden" value=<%=jiaoyi%>></td>
                                  </tr>
                                  <tr>
                                    <td colspan="2">
                                      <div align="center"><br>                                      
                                        <input type="submit" name="Submit" value="提交投诉" onClick="javascript:return checksignup()">
&nbsp;&nbsp;                                        <input type="reset" name="Submit2" value="重新输入">                                    
                                      </div></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>
<script language="javascript">
<!--//
function checksignup() {
if ( document.form1.content.value == '' ) {
window.alert('请输入您的投诉内容!!');
document.form1.content.focus();
return false;}
return true;}
//-->
</script> 
<!--#include file="../bottom.asp"-->
