Discuz.Web/templates/default3.1/onlineuser.htm

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%template _header%>
<div id="nav">
	<div class="wrap s_clear">
		<a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <strong>在线用户列表</strong>
	</div>
</div>

<div class="wrap s_clear" id="wrap">
<div class="main datalist">
	<h1>在线用户列表</h1>
	<div class="pages_btns">
		<div class="pages">
			共{totalonline}人在线 - {totalonlineuser}位会员 
			<%if {totalonlineinvisibleuser}>0%>
			{totalonlineinvisibleuser}隐身
			,<%/if%>{totalonlineguest}位游客 | 最高纪录是 {highestonlineusercount} 于 {highestonlineusertime}
		</div>
	</div>
	<table summary="用户列表" cellspacing="0" cellpadding="0" class="datatable">
		<thead class="colplural">
		<tr>
			<th>&nbsp;</th>
			<th>用户名</th>
			<th>时间</th>
			<th>当前动作</th>
			<th>所在论坛</th>
			<th>所在主题</th>
		</tr>
		</thead>
		<%loop onlineuserinfo onlineuserlist%>
		<tbody>
		<tr>
			<td><img src="{forumpath}images/groupicons/member.gif" alt="用户" /></td>
			<th class="datatitle">
				<%if {onlineuserinfo[userid]}=="-1"%>
					 游客
				  <%else%>
					 <%if {onlineuserinfo[invisible]}=="1"%>
					 (隐身用户)
					 <%else%>
					 <%set {aspxrewriteurl} = this.UserInfoAspxRewrite({onlineuserinfo[userid]})%>
					 <a href="{aspxrewriteurl}">{onlineuserinfo[username]}</a>
					 <%/if%>
				  <%/if%>
			</td>
			<td class="time">{onlineuserinfo[lastupdatetime]}</td>
			<td>{onlineuserinfo[action]}&nbsp;</td>
			<%set {aspxrewriteurl} = this.ShowForumAspxRewrite({onlineuserinfo[forumid]},0)%>
			<td><a href="{aspxrewriteurl}">{onlineuserinfo[forumname]}</a>&nbsp;</td>
			<%set {aspxrewriteurl} = this.ShowTopicAspxRewrite({onlineuserinfo[topicid]},0)%>
			<td><a href="{aspxrewriteurl}">{onlineuserinfo[title]}</a>&nbsp;</td>
		</tr>
		</tbody>
		<%/loop%>
	</table>
	<div class="pages_btns">
		<div class="pages">
			<em>共{onlineusernumber}名用户/{pagecount}页</em>{pagenumbers}
			<kbd>跳转<input name="gopage" type="text" id="gopage" onKeyDown="if(event.keyCode==13) {
		window.location='onlineuser.aspx?page='+this.value;}"  size="4" maxlength="9" class="colorblue2"/>页
后面还有 7 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。