reply.asp

来自「1、全面展示宾馆的自然情况和服务内容; 2、介绍宾馆信息,帮助客人了解宾馆相」· ASP 代码 · 共 56 行

ASP
56
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
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 %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body text="12">
 <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>&gt;&gt;留言回复</strong></td>
  </tr>
    <tr> 
      <td width="120" height="50" align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><strong><font color="#FFFFFF" size="3">留言人</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="47" align="center" bgcolor="#FFFFFF"><font size="2"><%=rs("name")%></font></td>
      <td bgcolor="#FFFFFF"><font size="2"><%=rs("liuyan")%></font></td>
  </tr>
    <tr> 
      <td height="30" align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><strong><font color="#FFFFFF" size="3">回复人</font></strong></td>
      <td align="center" background="../images/pics/tile_sub.gif" bgcolor="#FFFFFF"><font color="#FFFFFF">回复内容</font></td>
  </tr>
    <tr> 
      <td height="30" align="center" bgcolor="#FFFFFF"><font size="3">管理员</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" 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 type="submit" name="Submit" value="回复">        
        <input name="action" type="hidden" id="action" value="save">
      <input type="reset" value="重置" name="B22">    </td>
  </tr>
</table>
</form>
</body>
</html>
<% end if %>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?