📄 replysave.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Inc/AdminChk.asp"-->
<!--#include file="Conn.asp"-->
<!--#include file="../inc/ubbcode.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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -