<?php

$stylepath = ( $stylevar[imgdir_button][0] == "/" || $stylevar[imgdir_button][0] == "h" ? "" : "{$Globals['vbulletin']}/" );

if ( !empty($whoonline) ) {
echo<<<PPPRINT
<!-- BEGIN TEMPLATE: online.tmpl -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="{$Globals['tablewidth']}" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers');"><img id="collapseimg_forumhome_activeusers" src="{$stylepath}$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
			{$Globals['pp_lang']['whoonline']}
		</td>
	</tr>
</thead>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
	<td class="{$Style['tddetails']}" align="left">
        <span class="{$Style['small']}">$whoonline</span>
	</td>
</tr>
</tbody>
</table>
<br />
<!-- END TEMPLATE: online.tmpl -->
PPPRINT;
}

?>