HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/htdocs/discuz/templates/default/whosonline.htm
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang whosonline}</div>
<div id="wrap" class="wrap s_clear">
	<div class="main">
		<div class="content">
			<h1>{lang whosonline}</h1>
			<div class="datalist">
				<!--{if $allowviewip}-->
					<table summary="" cellpadding="0" cellspacing="0" class="datatable">
						<thead class="colplural">
							<tr>
								<td>{lang username}</td>
								<td class="time">{lang time}</td>
								<td>{lang online_action}</td>
								<td>{lang online_in_forum}</td>
								<td>{lang online_in_thread}</td>
								<td class="time">{lang online_ip}</td>
							</tr>
						</thead>
						<tbody>
						<!--{loop $onlinelist $online}-->
							<tr class="{echo swapclass('colplural')}">
								<td><!--{if $online['uid']}--><a href="space.php?uid=$online[uid]">$online[username]</a><!--{else}-->{lang guest}<!--{/if}-->&nbsp;</td>
								<td class="time">$online[lastactivity]&nbsp;</td>
								<td>$online[action]&nbsp;</td>
								<td><!--{if $online['fid']}--><a href="forumdisplay.php?fid=$online[fid]">$online[name]</a><!--{/if}-->&nbsp;</td>
								<td><!--{if $online['tid']}--><a href="viewthread.php?tid=$online[tid]">$online[subject]</a><!--{/if}-->&nbsp;</td>
								<td>$online[ip]&nbsp;</td>
							</tr>
						<!--{/loop}-->
						</tbody>
					</table>
				<!--{else}-->
					<table summary="" cellpadding="0" cellspacing="0" class="datatable">
						<thead class="colplural">
							<tr>
								<td>{lang username}</td>
								<td class="time">{lang time}</td>
								<td>{lang online_action}</td>
								<td>{lang online_in_forum}</td>
								<td>{lang online_in_thread}</td>
							</tr>
						</thead>
						<tbody>
						<!--{loop $onlinelist $online}-->
							<tr class="{echo swapclass('colplural')}">
								<td><!--{if $online['uid']}--><a href="space.php?uid=$online[uid]">$online[username]</a><!--{else}-->{lang guest}<!--{/if}-->&nbsp;</td>
								<td class="time">$online[lastactivity]&nbsp;</td>
								<td>$online[action]&nbsp;</td>
								<td><!--{if $online['fid']}--><a href="forumdisplay.php?fid=$online[fid]">$online[name]</a><!--{/if}-->&nbsp;</td>
								<td><!--{if $online['tid']}--><a href="viewthread.php?tid=$online[tid]">$online[subject]</a><!--{/if}-->&nbsp;</td>
							</tr>
						<!--{/loop}-->
						</tbody>
					</table>
				<!--{/if}-->
				<!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
			</div>
		</div>
	</div>
</div>
{subtemplate footer}