hf.asp
来自「百堂数字点卡程序v1.0后台路径:http://域名/admin 管理帐号和密码」· ASP 代码 · 共 85 行
ASP
85 行
<!--#include file="top.asp"-->
<% if session("user_name")="" then
response.write "<script language=javascript>alert('请先登陆后操作,谢谢合作!');history.go(-1);</script>"
response.End
end if%>
<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>
</div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?