<!--#include file="../conn/conn1.asp"-->
<!--#include file="inc.asp"-->
<!--#include file="../inc/ubbcode.asp"-->
<!--#include file="../config.asp"-->
<%
dim rs
dim sql
dim id
dim body_text
dim replybm
id=request("id")
body_text=Server.Htmlencode(request("body_text"))
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<%
 sql="select * from gbook where id="&id&""                     
     set rs=server.createobject("ADODB.recordset")
	 rs.open sql,conn,3,2
	   rs("reply") = body_text
	   rs("replytime") = now()
	   rs("flag") = 1
	   rs.update
	   rs.close
	   set rs = nothing
	   conn.close
	   set conn = nothing
	   Response.Write "<script language=javascript>{window.alert('回复成功！');window.location.href='gbookgl.asp';}</script>"
	   %>
<body>
</body>
</html>
