📄 look.asp
字号:
<!-- #include file="inc/conn.asp" -->
<!-- #include file="inc/top.asp" -->
<!-- #include file="inc/stumenu.asp" --><div align="center">
<%
page=request("page")
id=request("id")
if id="" or not isNumeric(id) then
response.Write("<script>alert('参数错误');location.replace('feedback.asp?page="&page&"');</script>")
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from liuyan where id="&id&"",conn,1,1
if not(rs.eof and rs.bof) then
set r=conn.execute("select xm from user where xh='"&rs("xh")&"'")
if not(r.eof and r.bof ) then
xm=r("xm")
end if
r.close
set r=nothing
%>
<table width="768" border="0" cellspacing="1" cellpadding="0" bgcolor="#EEEEEE">
<tr>
<td bgcolor="#FFFFFF"> 留言人:
<input type="text" readonly="1" size="30" name="n" value="<%=xm%>"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> 主题:
<input type="text" readonly="1" size="50" name="n2" value="<%=rs("title")%>"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> 留言内容:
<textarea name="textarea" cols="50" rows="5" readonly="1"><%=rs("content")%></textarea></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> <a href="javascript:history.back();">|返回|</a></td>
</tr>
</table>
<%end if
rs.close
set rs=nothing
conn.close
set conn=nothing%>
</div>
<!-- #include file="inc/copyr.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -