⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 online.asp

📁 购物系统(本版为正式商业版
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="../webconfig.asp"-->
<!--#include file="../fuction.asp"-->
<html>
<head>
<title><%=bbsname%>-论坛中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="SHORTCUT ICON" href="/shortcut.ico">
<meta name="generator" content="snsn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="../webtop.asp"-->

<table width="940" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6" colspan="3"></td>
  </tr>
  <tr>
    <td width="17"><img src="/img/index_1.gif" width="15" height="16"></td>
    <td valign="bottom">您现在的位置是:<a href="<%=weburl%>"><%=webname%></a> -> <span class="table-shangxia"><span class="b14"><a href=index.asp><%=bbsname%></a> → 在线用户列表</span></span></td>
    <td valign="bottom"></td>
  </tr>
  <tr>
    <td height="6" colspan="3"></td>
  </tr>
</table>
<!--#include file="top.asp"-->
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td valign="top">
            <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
            <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#73D1E9">
              <tr bgcolor="C0E9F5">
                <td width="188">
                <p align="center">用户名</td>
                <td width="188">
                <p align="center">ip地址</td>
                <td width="189">
                <p align="center">登陆时间</td>
              </tr>
              <%
Set rs = Server.CreateObject("ADODB.Recordset")                     
                                                                                                                         
sql = "SELECT * FROM online order by ltime desc"                             
                                                                                                                   
rs.open sql, conn, 1, 3                                            
shownum=20                                                                                                                             
totalrecord=rs.recordcount                                                                                                                             
rs.pagesize=shownum                                                                                                                             
maxpage=rs.pagecount                                                                                                                             
                                                                                                                             
requestpage=clng(request.querystring("page"))                                                                                                                             
                                                                                                                             
if requestpage="" or requestpage=0 then                                                                                                                             
   requestpage=1                                                                                                                             
end if                                                                                                                             
if resquestpage>maxpage then                                                                                                                             
    resquestpage=maxpage                                                                                                                             
end if                                                                                                                             
                                                                                                                             
if not requestpage=1 then                                                                                                                             
rs.move (requestpage-1)*rs.pagesize                                                                                                                             
end if                                                                                                                             
for i=1 to rs.pagesize and not rs.bof %>
              <script>online("<%=rs("name")%>","<%=left(trim(rs("ip")),7)%>","<%=rs("ltime")%>");</script>
              <%                                                                                                                          
rs.movenext                                                                                                                          
if rs.eof then exit for                                                                                                                          
next                                                                                                                        
                                                                                                                        
%>
            </table>
            <table width="100%" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="50%"></td>
                <td width="50%"></td>
              </tr>
              <tr>
                <td width="50%">页次:
                    <%if request.querystring("page")="" then %>
                    1
                    <%else%>
                    <%=request.querystring("page")%>
                    <%end if%>
      / <%=maxpage%>页 每页:<%=shownum%> </td>
                <td width="50%">
                  <p align="right">
                    <%                                                                                                                          
if requestpage-1 mod 10=0 then                                                                                                                          
 p=(requestpage-1) \ 10                                                                                                                          
else                                                                                                                          
 p=(requestpage-1) \ 10                                                                                                                          
end if                                                                                                                          
if requestpage=1 then                                                                                                                          
 response.write "<font face=webdings color=""#FF0000"">9</font>"                                                                                                                          
else                                                                                                                          
 response.write "<a href=?page=1 title=首页><font face=webdings>9</font></a>"                                                                                                                          
end if                                                                                                                          
if p*10>0 then response.write "<a href=?page="&p*10&" title=上十页><font face=webdings>7</font></a>"                                                                                                                          
response.write "<b>"                                                                                                                          
for ii=p*10+1 to P*10+10                                                                                                                          
   if ii=requestpage then                                                                                                                          
  response.write "<font color=""#FF0000"">"&ii&"</font> "                                                                                                                          
 else                                                                                                                          
  response.write "<a href=?page="&ii&">"&ii&"</a>   "                                                                                                                          
 end if                                                                                                                          
 if ii=maxpage then exit for                                                                                                                          
next                                                                                                                          
response.write "</b>"                                                                                                                          
if ii<maxpage then response.write "<a href=?page="&ii&" title=下十页><font face=webdings>8</font></a>"                                                                                                                          
if requestpage=maxpage then                                                                                                                          
 response.write "<font face=webdings color=""#FF0000"">:</font>   "                                                                                                                          
else                                                                                                                          
 response.write "<a href=?page="&maxpage&" title=尾页><font face=webdings>:</font></a>"                                                                                                                          
end if                                                                                                                          
response.write"    总共有"&maxpage&"页   "                                                                                                                           
rs.Close                                                                                                                                      
set rs=nothing                                                                                                                          
%>
                </td>
              </tr>
            </table>
            <p>&nbsp;</p></td>
        </tr>
    </table></td>
  </tr>
</table>
<!--#include file="../copyright.asp"-->                                                             

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -