📄 reply.asp
字号:
<%
if session("admin_name")="" then
response.redirect "../index.asp"
response.end
end if
%>
<!--#include file="../inc/adconn.asp"-->
<% dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="Select * from guestbook where id="&request("id")&""
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'>对不起,暂时还没有相关信息!!!</p>"%>
<% else %>
<form method="post" action="reply_ok.asp?id=<%=request("id")%>">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="336699">
<tr>
<td height="30" colspan="2" bgcolor="#E3E3E3"> <strong>>><font size="2">网站留言回复:</font></strong></td>
</tr>
<tr>
<td width="120" height="30" align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><strong><font color="#FFFFFF" size="2">留言人</font></strong></td>
<td align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><strong><font color="#FFFFFF" size="2">留言内容</font></strong></td>
</tr>
<tr>
<td height="30" align="center" bgcolor="#FFFFFF"><font size="2"><%=rs("名字")%></font></td>
<td bgcolor="#FFFFFF"><font size="2"><%=rs("留言")%></font></td>
</tr>
<tr>
<td height="30" align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><strong><font color="#FFFFFF" size="2">回复人</font></strong></td>
<td align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><strong><font color="#FFFFFF" size="2">回复内容</font></strong></td>
</tr>
<tr>
<td height="30" align="center" bgcolor="#FFFFFF"><font size="2">版主回复</font></td>
<td align="center" bgcolor="#FFFFFF">
<textarea name="reply" style="display:none"><%=rs("reply")%></textarea>
<IFRAME ID="eWebEditor1" SRC="../eWebEditor/ewebeditor.asp?id=reply&style=standard_coolblue" FRAMEBORDER="0" SCROLLING="no" WIDTH="550" HEIGHT="350"></IFRAME></td>
</tr>
<tr background="../images/pics/tile_sub.gif">
<td height="30" colspan="2" align="center">
<input name=submit2 type=image src="../IMAGES/pics/s_button000.gif" alt=进入 align=absMiddle width="45" height="20" cache tppabs="">
<input name="action" type="hidden" id="action" value="save">
<input type="reset" value="全部重写" name="B22">
</td>
</tr>
</table></form>
<% end if %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -