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

📄 whosonline.htm

📁 xm2sv1.0寻梦二手网 v1.0,一个经过我调试的PHP原代码,有机会大家多交流哈
💻 HTM
字号:
{template header}
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed"> 
<tr><td class="nav" width="90%" nowrap>&nbsp;<a href="index.php">$bbname</a> &raquo; {lang whosonline}</td>
<td align="right" width="10%"><a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>        
</tr></table><br>

<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
<tr><td class="multi">$multipage</td></tr>
<tr><td height="3"></td></tr></table>

<!--{if $isadmin}-->
	<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
	<tr><td bgcolor="{BORDERCOLOR}">
	<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
	<tr class="header">
	<td align="center" nowrap>{lang username}</td>
	<td align="center" nowrap>{lang time}</td>
	<td align="center" nowrap>{lang online_action}</td>
	<td align="center" nowrap>{lang online_in_forum}</td>
	<td align="center" nowrap>{lang online_in_thread}</td>
	<td align="center" nowrap>{lang online_ip}</td>
	</tr>
	<!--{loop $onlinelist $online}-->
		<tr align="center">
		<td bgcolor="{ALTBG1}"><!--{if $online[username]}--><a href="viewpro.php?username=$online[usernameenc]">$online[username]</a><!--{else}-->{lang guest}<!--{/if}--></td>
		<td bgcolor="{ALTBG2}">$online[lastactivity]</td>
		<td bgcolor="{ALTBG1}">$online[action]</td>
		<td bgcolor="{ALTBG2}"><!--{if $online[fid]}--><a href="forumdisplay.php?fid=$online[fid]">$online[name]</a><!--{/if}--></td>
		<td bgcolor="{ALTBG1}"><!--{if $online[tid]}--><a href="viewthread.php?tid=$online[tid]">$online[subject]</a><!--{/if}--></td>
		<td bgcolor="{ALTBG2}">$online[ip]</td>
		</tr>
	<!--{/loop}-->
	</table></td></tr></table>
<!--{else}-->
	<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
	<tr><td bgcolor="{BORDERCOLOR}">
	<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
	<tr class="header">
	<td align="center" nowrap>{lang username}</td>
	<td align="center" nowrap>{lang time}</td>
	<td align="center" nowrap>{lang online_action}</td>
	<td align="center" nowrap>{lang online_in_forum}</td>
	<td align="center" nowrap>{lang online_in_thread}</td>
	</tr>
	<!--{loop $onlinelist $online}-->
		<tr align="center">
		<td bgcolor="{ALTBG1}"><!--{if $online[username]}--><a href="viewpro.php?username=$online[usernameenc]">$online[username]</a><!--{else}-->{lang guest}<!--{/if}--></td>
		<td bgcolor="{ALTBG2}">$online[lastactivity]</td>
		<td bgcolor="{ALTBG1}">$online[action]</td>
		<td bgcolor="{ALTBG2}"><!--{if $online[fid]}--><a href="forumdisplay.php?fid=$online[fid]">$online[name]</a><!--{/if}--></td>
		<td bgcolor="{ALTBG1}"><!--{if $online[tid]}--><a href="viewthread.php?tid=$online[tid]">$online[subject]</a><!--{/if}--></td>
		</tr>
	<!--{/loop}-->
	</table></td></tr></table>
<!--{/if}-->

<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
<tr><td class="multi">$multipage</td></tr>
<tr><td height="3"></td></tr></table>
{template footer}

⌨️ 快捷键说明

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