<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->

<%
if Not ChkPost then response.redirect"../login/chklogin.asp?login=4"

pjrname=Replace_Text(request.form("pjrname"))
pjremail=Replace_Text(request.form("pjremail"))
pj_name=Replace_Text(request.form("pj_name"))
pj_count=Replace_Text(request.form("pj_count"))
bpjid=Replace_Text(request.form("bpjid"))

set rs=server.createobject("adodb.recordset")
sql="select * from Yixiang_Infocom where pjrname='"&pjrname&"' and pj_name='"&pj_name&"'" 
rs.open sql,conn,1,3
if not rs.eof then
response.write"<SCRIPT language=JavaScript>alert('对不起，您已经提交过此信息！');"
response.write"javascript:window.close()</SCRIPT>"
response.end 
else

rs.addnew
rs("pjrname")=pjrname
rs("pjremail")=pjremail
rs("pj_name")=pj_name
rs("pj_count")=pj_count
rs("bpjid")=bpjid
rs("dateandtime")=now()
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>
<html>
<head>
	<title>您的信息已经成功提交_<%=webname%></title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="description" content="供求信息/ 商业公告板/商业贸易机会/进出口贸易机会/电子商务/"><meta name="keywords" content="供求信息，商业公告板，商业机会，进出口，商情公告板，商业BBS,进出口BBS,贸易机会，供求信息，贸易机会，商业机会，电子商务，免费贸易机会,供求信息，商业公告板，商业机会，进出口，商情公告板，商业BBS,进出口BBS,贸易机会，供求信息，贸易机会，商业机会，电子商务，免费贸易机会,供求信息，商业公告板，商业机会，进出口，商情公告板，商业BBS,进出口BBS,贸易机会，供求信息，贸易机会，商业机会，电子商务，免费贸易机会,求购，出售，贸易，求购，出售，贸易">
	<style type="text/css">
BODY,TD{color:#000;font-size:12px;font-family:宋体}

A:LINK{color:#cc3300}
A:VISITED{color:#909}
A:HOVER{color:#f60}

.num:LINK{color:#f60;font-size: 12px}
.num:VISITED{color:#f60;font-size: 12px}
.num:HOVER{color:#f60;font-size: 12px}

.white {FONT: 12px 宋体; COLOR: #fff; text-decoration: none; border-color:#FFAA80;}
.white:link {FONT: 12px 宋体; COLOR: #fff; text-decoration: none}
.white:visited {FONT: 12px 宋体; COLOR: #fff; text-decoration: none}
.white:hover {FONT: 12px 宋体; COLOR: #fff; text-decoration: none}

.black {FONT: 12px 宋体; COLOR: #666; text-decoration: none}
.black:link {FONT: 12px 宋体; COLOR: #666; text-decoration: none}
.black:visited {FONT: 12px 宋体; COLOR: #666; text-decoration: none}
.black:hover {FONT: 12px 宋体; COLOR: #000; text-decoration: none}

.black2 {FONT: 12px 宋体; COLOR: #000; text-decoration: none}
.black2:link {FONT: 12px 宋体; COLOR: #000; text-decoration: none}
.black2:visited {FONT: 12px 宋体; COLOR: #000; text-decoration: none}
.black2:hover {FONT: 12px 宋体; COLOR: #000; text-decoration: none}

.S{font-size:12px}
.C{font-size:14px}
.M{font:bold 14px}
.L{font:bold 16px}
.N{font:bold 20px}
.B{font:bold 24px}


select{font-size:12px}
input{font-size:12px}
.GR{color:#666;font-size:12px}

.lh13 {LINE-HEIGHT: 130%}
.lh15 {LINE-HEIGHT: 150%}

.wrapper {border: 1px solid #FD9A00}
.wrapper2 {border: 1px solid #cc3300}
.wrapper3 {border: 1px solid #B3B3B3;}

.pad{padding-left: 12px;padding-top: 10px;line-height:130%;font-size:14px}

.NOL{text-decoration: none}

.number{color:#f60;font-size: 12px}

.style2 {font: bold 14px; color: #000000; }
    </style>
</head>
  <body bgcolor="FFFFFF" text="000000" link="003399" alink="ff0000" vlink="800080" topmargin="0" marginheight="0" leftmargin="0" marginwidth="0" onLoad="opener.location.reload()">
<center>    
	<center>
  <br>
  <table width="90%" border="0" cellspacing="0" cellpadding="8" class=wrapper2>
    <tr> 
      <td align="center"><br>
        <br>
        <br>
        <br>
        <br>         <span class="style2">您的评论内容已经提交成功！<br>
         <br>
        您的评论内容我们将在审核后在相关页中显示</span><br>
        <br>
        
        <br>
        <span class=C><img src="../images/point3.gif" width="12" height="8" align="absmiddle"></span> 
        <a href="javascript:window.close()" class="m">关闭窗口</a><br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
      </td>
    </tr>
  </table>
  </center>	
</center>
</body>
</html>