📄 server.asp
字号:
<head><title>申请支付列表</title>
<link href="yes2.css" rel="stylesheet" type="text/css">
</head>
<body topmargin=0>
<div align="center">
<table border="0" cellpadding="0" width="200" cellspacing="0" height="20">
<tr>
<td></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" cellpadding="0" width="200" cellspacing="0" height="20">
<tr>
<td></td>
</tr>
</table>
</div>
<!--#include file="conn.asp"-->
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="150" align="left"> >> <font color=#0080ff>申请支付列表</font></td>
<td width="350" align="right">
<a href="add.asp" title=""></a>
<%if request.cookies("wdpwd")="" then%>
<a href="login.asp" title=""></a>
<%else%>
<a href="logout.asp">退出管理</a>
<%end if%>
</td>
</tr>
</table>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td><div align="right"> </td>
</tr>
</table>
<table width="500" height="22" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#d8f0F8">
<tr>
<td width="50" align="center">序号</td>
<td width="220" align="left"> 申请人用户名</td>
<td width="*" align="left"> 申请日期</td>
<td width="70" align="center">状态</td>
</tr>
</table>
<%
sql="select * from server order by id desc"
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,3,1
if not isempty(request("page")) then
pagecount=cint(request("page"))
else
pagecount=1
end if
rs.pagesize=10
rs.AbsolutePage=pagecount
do while not rs.eof%>
<table width="500" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50" align="center"><font color="#ff0088"><%=RS("id")%></font></td>
<%if rs("content")<>"" then%>
<td width="220" align="left"> <%=RS("question")%></td>
<%else%>
<td width="220" align="left"><font color="#0080ff">- 申请已经提交待支付 -</font></td>
<%end if%>
<td width="*" align="left"><a href="list.asp?id=<%=RS("id")%>" title="来自 <%=RS("ip")%>" target="_blank"><%=RS("datetime")%></a></td>
<td width="70" align="center">
<%if rs("content")<>"" then%>
<%if request.cookies("wdpwd")="" then%>
<a href="list.asp?id=<%=RS("id")%>" title="<%=RS("content")%>"><% Response.Write("已支付")%></a>
<%else%>
<a href="admin.asp?id=<%=RS("id")%>" title="<%=RS("content")%>">再回答</a>.<a href="del.asp?id=<%=RS("id")%>">删除</a>
<%end if%>
<%else%>
<%if request.cookies("wdpwd")="" then%>
<font color="#ff0088">待支付</font>
<%else%>
<a href="admin.asp?id=<%=RS("id")%>" style="color: #ff0088">待支付</a>.<a href="del.asp?id=<%=RS("id")%>">删除</a>
<%end if%>
<%end if%></td>
</tr>
</table>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0" background="bg1.gif">
<tr>
<td><img src="bg1.gif" width="3" height="1"></td>
</tr>
</table>
<%
rs.movenext
i=i+1
if i>=rs.pagesize then exit do
loop
%>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td width="500" align="right">每页 <font color="#FF0088"><%=rs.pagesize%></font> 条纪录 共有 <font color="#FF0088"><%=rs.recordcount%></font> 条纪录 共 <font color="#FF0088"><%=rs.pagecount%></font> 页
| <a href="server.asp?page=1">第一页</a> |
<% if pagecount=1 and rs.pagecount<>pagecount and rs.pagecount<>0 then%>
<a href="?page=<%=cstr(pagecount+1)%>">下一页</a> |
<% end if %>
<% if rs.pagecount>1 and rs.pagecount=pagecount then %>
<a href="?page=<%=cstr(pagecount-1)%>">上一页</a> |
<%end if%>
<% if pagecount<>1 and rs.pagecount<>pagecount then%>
<a href="?page=<%=cstr(pagecount-1)%>">上一页</a> | <a href="?page=<%=cstr(pagecount+1)%>">下一页</a> |
<% end if%>
<a href="server.asp?page=<%=rs.pagecount%>">最后页</a> |
</td>
</tr>
</table>
<!--#include file="d.asp"-->
<div align="center">
<table border="0" cellpadding="0" width="200" cellspacing="0" height="20">
<tr>
<td></td>
</tr>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -