onlineList.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:3k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8"
  2.  session="true" errorPage="err.jsp" %>
  3. <%@ include file="./GVinc/gvImport.jsp" %>
  4. <%@ include file="GVinc/gvOnlineArea.jsp" %>
  5. <%
  6. boolean listip = false;
  7. listip = isPass(gvUserGradeTxt,10);
  8. int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
  9. if(iPage<1){iPage = 1;}
  10. %>
  11. <html xmlns="http://www.w3.org/1999/xhtml">
  12. <head>
  13. <title><%=clubTitle%></title>
  14. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  15. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  16. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  17. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  18. <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
  19. </head>
  20. <body>
  21. <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0  height=0></IFRAME>
  22. <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 20%; TEXT-ALIGN: center">
  23. <TABLE cellPadding=6 border=0>
  24. <TBODY><TR><TD align=middle>
  25. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  26. <BR>
  27. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  28. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  29. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  30. <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
  31. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  32. <tr align="center" class="tr">
  33. <td width="160" height="22"><strong>用户</strong></td>
  34. <td width="120" height="22"><strong>位置</strong></td>
  35. <td width="130"><strong>时间</strong></td>
  36. <td width="120"><strong>IP</strong></td>
  37. <td width="">&nbsp;</td>
  38. </tr>
  39. <c:forEach var="o" items="<%=col.onlineList(iPage,30)%>">
  40. <tr class="tab2">
  41. <td height="25" align="center">
  42. <a href="userInfo.jsp?userID=<c:out value="${o.onUserID}" />" target="_blank">
  43. <c:out value="${o.userName}" />
  44. </a>
  45. </td>
  46. <td align="center">
  47. <c:out value="${o.userArea}" escapeXml="false"/>
  48. </td>
  49. <td align="center">
  50. <span class="smallTxt"><club:users type="userRegTime" value="${o.lastTime}"/></span>
  51. </td>
  52. <td align="center">
  53. <% if(listip){%>
  54. <c:out value="${o.userip}" />
  55. <%}else{%>
  56. ***
  57. <%}%>
  58. </td>
  59. <td align="center">
  60. </td>
  61. </tr>
  62. </c:forEach>
  63. </table>
  64. <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="0">
  65.   <tr>
  66.     <td>
  67. <%=OutPrint.pageJump(onlines,30, iPage, "onlineList.jsp?")%>
  68. </td>
  69.   </tr>
  70. </table>
  71. <%=Gfoot()%>
  72. </body>
  73. </html>