📄 huifu.asp
字号:
<!--#include file="conn.asp"-->
<%call time_out()%>
<%
if instr(session("proview"),"s4")=0 then
response.Write "<script language=javascript>alert('您无权操作!');window.location.href='index.asp';</script>"
response.end
end if%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查看与回复</title>
</head>
<body>
<%
action=trim(request("action"))
id=trim(request("id"))
if action="huifu" then
sqlf="select * from shequ where id="&id
set rsf=server.createobject("adodb.recordset")
rsf.open sqlf,conn,1,3
rsf("replay")=trim(Request("replay"))
rsf.update
rsf.close:set rsf=nothing
response.Write "<script language=javascript>alert('回复成功!');window.opener.location.reload();window.close();</script>"
end if
sql="select * from shequ where id="&id
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1%>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<form name="form1" method="post" action="huifu.asp?action=huifu&id=<%=id%>">
<tr>
<td height="30" align="center">回复:<%=rs("sq_title")%></td>
</tr>
<tr>
<td align="center"><textarea name="textarea" cols="70" rows="10" readonly>问题:<%=rs("sq_content")%></textarea></td>
</tr>
<tr>
<td align="center">
<textarea name="replay" cols="70" rows="10">回复:<%=rs("replay")%></textarea> </td>
</tr>
<tr>
<td height="25" align="center"><input type="submit" name="Submit" value="确认回复"></td>
</tr>
</form>
</table>
<%rs.close:set rs=nothing%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -