
<%data_path="../"%>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->

<%
	if issession=0 then
 	yxflag=Replace_Text(request.Cookies("yxflag"))
	gsid=Replace_Text(request.Cookies("Yxmemberid"))
 	else
 	yxflag=session("yxflag")
	gsid=session("id")
 	end if 

  Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
 
if Not ChkPost then 
response.redirect ("../../login/chklogin.asp?login=4")
response.end
end if

if yxflag<>1 then 
response.Redirect("../../login/login1.asp")
response.end
end if

if Chkrequest(request("id")) then
bprid=Replace_Text(request("id"))
else
Response.Redirect ("../login/chklogin.asp?login=4")
end if

role=Replace_Text(request.form("role"))
type1=Replace_Text(request.form("type"))
content=Replace_Text(request.form("content"))
pjrid=gsid

conn.execute("Insert into Websen_trustadv(role,type,content,bprid,pjrid) values('"&role&"','"&type1&"','"&content&"',"&bprid&","&pjrid&")")

%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webname%></title>
<link href="<%=HOPE_InstallDir%>images/css.css" rel="stylesheet" type="text/css">
</head>
<BODY style="BACKGROUND-REPEAT: no-repeat" text=#000000 bgColor=#ffff99 
background=images/bg.gif>
<table border="0" cellspacing="0" width="100%" cellpadding="0" height="418" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" height="418" valign="middle" align="center">
<b>您的评价已经成功发送，我们将在二十四小时内进行审核！<br><br>
<a href="javascript:window.close()">关闭此窗口</a></b></td>
</tr>
</table>
</body>
</html>
<%
conn.close
set conn=nothing
%>