📄 list_count.asp
字号:
<!--#include file="Connections.asp" -->
<%
set count = Server.CreateObject("ADODB.Recordset")
count.ActiveConnection = datalink
count.Source = "SELECT * FROM count ORDER BY rq DESC"
count.CursorType = 1
count.CursorLocation = 2
count.LockType = 3
count.Open()
%>
<table width="26%" border="0" align="center">
<tr>
<td width="49%">
<div align="center">日期</div>
</td>
<td width="51%">
<div align="center">访问次数</div>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#000000">
</td>
</tr>
<tr>
<%
While Not count.Eof%>
<td width="49%">
<div align="center"><%=count("rq")%></div>
</td>
<td width="51%">
<div align="center"><%=count("count")%></div>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#000000"></td>
</tr>
<%
all=all+count("count")
count.MoveNext()
Wend%>
</table>
总计数:<%=all%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -