<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<%
if issession=0 then
if request.Cookies("Yxmemberid")="" then
response.write "<script language='javascript'>"
response.write"parent.location.href='../login/login1.asp';</SCRIPT>"
response.end
end if
username=Replace_Text(request.Cookies("Yxmember"))
gsid=Replace_Text(request.Cookies("Yxmemberid"))
else
if session("id")="" then
response.write "<script language='javascript'>"
response.write"parent.location.href='../login/login1.asp';</SCRIPT>"
response.end
end if
username=session("user")
gsid=session("id")
end if

on error resume next
orderid=request("id")
recontent=request("recontent")
sql="update yixiang_order_temp set viewre='"&recontent&"',viewkey=1 where id="&orderid&""
conn.execute sql
if err.number<>0 then
	response.Write("<script language='javascript'>alert('回复失败，未知错误！');</script>")
	response.End
else
	response.Write("<script language='javascript'>alert('回复成功！');window.close();</script>")
end if
%>