📄 user_hf.asp
字号:
<!--#include file="top.asp"-->
<html>
<% if session("user_name")="" then
response.write "<script language=javascript>alert('请先登陆后操作,谢谢合作!');history.go(-1);</script>"
response.End
end if%>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<td width="15" height="3"> </td>
<!--#include file="leftuser.asp"--></td>
<td width="15" height="30"> </td>
<td width="600" valign="top">
<table border="0" width="600" cellspacing="0" cellpadding="0" height="379">
<tr>
<td height="100%" width="613" valign="top">
<div align="center">
<table border="0" width="95%" cellpadding="0" id="table1" height="368" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" cellspacing="0">
<tr>
<td valign="top" height="36">
<%
sql="select * from ts where user_name='"&session("user_name")&"' order by id DESC"
rs.open sql,conn,3,3
if rs.eof then
response.write "暂且没有最新留言/投诉"
response.end
end if
rs.pagesize=10
page = cint(request("page"))
if page = "" then page = 1
if not(isnumeric(page)) then page=1
if page<1 then page=1
if page >= rs.pagecount then page = rs.pagecount
rs.absolutepage = page
%>
<div align="center">
<table border="1" width="80%" cellspacing="0" height="205" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" cellpadding="0">
<tr>
<td width="100" align="center" height="35">
<b>留言编号</b></td>
<td width="464" align="center" height="35">
<b>内 容</b></td>
</tr>
<%
for i=1 to rs.pagesize
%>
<tr>
<td width="100" align="center" height="127">
<%=rs("id")%></td>
<td width="464" align="center" height="127">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td height="23" valign="top" bgcolor="#EDEFEE"><b><font color="#FF6600">标题:</font></b><%=rs("title")%> </td>
</tr>
<tr>
<td valign="top"><b><font color="#FF6600">内容:</font></b><%=rs("content")%></td>
</tr>
<tr>
<td valign="top" bgcolor="#E9FCEA"><b>回复:</b><%if rs("hf_content")<>"" then%><%=rs("hf_content")%><%else%>正在处理中...!<%end if%></td>
</tr>
</table>
</td>
</tr>
<%
rs.movenext
if rs.eof then exit for
next
%>
<tr>
<td width="-5" style="padding-left: 10px" colspan="2" height="41">
<p align="center">共有记录<%=rs.recordcount%>条
<%=page%>/<%=rs.pagecount%> <A href="<%request.servervariables("document_name")%>?page=<%=page-1%>">上一页</A> <A href="<%request.servervariables("document_name")%>?page=<%=page+1%>">下一页</A> 转到第 <SELECT onchange="window.location='?page='+this.value" name=gopage>
<%for x=1 to rs.pagecount%>
<OPTION <%if x=page then%>selected<%end if%> value=<%=x%>><%=x%></OPTION>
<%next%>
</SELECT> 页
</div>
<%rs.close%>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td width="1" background="images/line.jpg"></td>
</tr>
</table>
</div>
</body>
</html>
<!--#include file="copy.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -