📄 whosonline.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<jsp:include flush="true" page="header.jsp" />
<div id="nav"><a href="${settings.indexname}">${settings.bbname}</a>» 在线用户</div>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
<div class="mainbox">
<h1>在线用户</h1>
<c:choose>
<c:when test="${usergroups.allowviewip>0}">
<table summary="" cellpadding="0" cellspacing="0">
<thead><tr><td>用户名</td><td class="time">时间</td><td>当前动作</td><td>所在版块</td><td>所在主题</td><td class="time">IP 地址</td></tr></thead>
<tbody><c:forEach items="${onlinelist}" var="online"><tr><td><c:choose><c:when test="${online.uid>0}"><c:choose><c:when test="${spaceurlurl}"><a href="space-uid-${online.uid}.html">${online.username}</a></c:when><c:otherwise><a href="space.jsp?uid=${online.uid}">${online.username}</a></c:otherwise></c:choose></c:when><c:otherwise>游客</c:otherwise></c:choose></td><td class="time">${online.lastactivity}</td><td>${online.action}</td><td><c:if test="${online.fid>0}"><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${online.fid}-1.html">${online.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${online.fid}">${online.name}</a></c:otherwise></c:choose></c:if></td><td><c:if test="${online.tid>0}"><c:choose><c:when test="${viewthreadurl}"><a href="thread-${online.tid}-1-1.html">${online.subject}</a></c:when><c:otherwise><a href="viewthread.jsp?tid=${online.tid}">${online.subject}</a></c:otherwise></c:choose></c:if></td><td>${online.ip}</td></tr></c:forEach></tbody>
</table>
</c:when>
<c:otherwise>
<table summary="" cellpadding="0" cellspacing="0">
<thead><tr><td>用户名</td><td class="time">时间</td><td>当前动作</td><td>所在版块</td><td>所在主题</td></tr></thead>
<tbody><c:forEach items="${onlinelist}" var="online"><tr><td><c:choose><c:when test="${online.uid>0}"><c:choose><c:when test="${spaceurlurl}"><a href="space-uid-${online.uid}.html">${online.username}</a></c:when><c:otherwise><a href="space.jsp?uid=${online.uid}">${online.username}</a></c:otherwise></c:choose></c:when><c:otherwise>游客</c:otherwise></c:choose></td><td class="time">${online.lastactivity}</td><td>${online.action}</td><td><c:if test="${online.fid>0}"><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${online.fid}-1.html">${online.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${online.fid}">${online.name}</a></c:otherwise></c:choose></c:if></td><td><c:if test="${online.tid>0}"><c:choose><c:when test="${viewthreadurl}"><a href="thread-${online.tid}-1-1.html">${online.subject}</a></c:when><c:otherwise><a href="viewthread.jsp?tid=${online.tid}">${online.subject}</a></c:otherwise></c:choose></c:if></td></tr></c:forEach></tbody>
</table>
</c:otherwise>
</c:choose>
</div>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -