<?php if($_stats_count = count($d['stats'])) {for ($_stats_i = 0; $_stats_i < $_stats_count; $_stats_i++){ ?>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="<?php $this->_echo($d['.'][0]['U_VIEWONLINE']); ?>" class="cattitle"><?php $this->_echo($d['.'][0]['L_VIEWONLINE']); ?></a></span></td>
</tr>
<?php if($_root_count = count($d['root'])) {for ($_root_i = 0; $_root_i < $_root_count; $_root_i++){ ?>
<tr>
<td class="row1" width="50" align="center" valign="middle" rowspan="<?php if($_past_count = count($d['stats'][$_stats_i]['past'])) {for ($_past_i = 0; $_past_i < $_past_count; $_past_i++){ ?>4<?php }} else { ?>3<?php } ?>">
<img src="<?php $this->_echo($d['.'][0]['I_VIEWONLINE']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_VIEWONLINE']); ?>" title="<?php $this->_echo($d['.'][0]['L_VIEWONLINE']); ?>" />
</td>
<td class="row1" align="left"><span class="gensmall">
<?php $this->_echo($d['.'][0]['TOTAL_POSTS']); ?><br />
<?php $this->_echo($d['.'][0]['TOTAL_USERS']); ?> :: <?php $this->_echo($d['.'][0]['L_NEWEST_USER']); ?><a href="<?php $this->_echo($d['.'][0]['U_NEWEST_USER']); ?>" title="<?php $this->_echo($d['.'][0]['L_VIEW_PROFILE']); ?>" class="gensmall"<?php $this->_echo($d['.'][0]['NEWEST_STYLE']); ?>><b><?php $this->_echo($d['.'][0]['NEWEST_USERNAME']); ?></b></a><br />
<?php $this->_echo($d['.'][0]['RECORD_USERS']); ?><br />
</span></td>
</tr>
<tr>
<?php }} else { ?>
<tr>
<td class="row1" width="50" align="center" valign="middle" rowspan="2">
<img src="<?php $this->_echo($d['.'][0]['I_VIEWONLINE']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_VIEWONLINE']); ?>" />
</td>
<?php } ?>
<td class="row1">
<span class="gensmall"><?php if($_root_count = count($d['root'])) {for ($_root_i = 0; $_root_i < $_root_count; $_root_i++){$this->_echo($d['.'][0]['L_TOTAL_ONLINE']);}} else {$this->_echo($d['.'][0]['L_BROWSING_USERS']); ?>&nbsp;<?php }$this->_echo($d['.'][0]['TOTAL_USERS_ONLINE']); ?></span><hr />
<span class="gensmall"><?php $this->_echo($d['.'][0]['L_REGISTERED_USERS']); ?>&nbsp;<?php if($_online_count = count($d['stats'][$_stats_i]['online'])) {for ($_online_i = 0; $_online_i < $_online_count; $_online_i++){if($_row_count = count($d['stats'][$_stats_i]['online'][$_online_i]['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){if($_sep_count = count($d['stats'][$_stats_i]['online'][$_online_i]['row'][$_row_i]['sep'])) {for ($_sep_i = 0; $_sep_i < $_sep_count; $_sep_i++){ ?>, <?php }} ?><a href="<?php $this->_echo($d['stats'][$_stats_i]['online'][$_online_i]['row'][$_row_i]['U_VIEW_PROFILE']); ?>" title="<?php $this->_echo($d['.'][0]['L_VIEW_PROFILE']); ?>" class="gensmall"<?php $this->_echo($d['stats'][$_stats_i]['online'][$_online_i]['row'][$_row_i]['STYLE']); ?>><?php if($_hidden_count = count($d['stats'][$_stats_i]['online'][$_online_i]['row'][$_row_i]['hidden'])) {for ($_hidden_i = 0; $_hidden_i < $_hidden_count; $_hidden_i++){ ?><i><?php }}$this->_echo($d['stats'][$_stats_i]['online'][$_online_i]['row'][$_row_i]['USERNAME']);if($_hidden_count = count($d['stats'][$_stats_i]['online'][$_online_i]['row'][$_row_i]['hidden'])) {for ($_hidden_i = 0; $_hidden_i < $_hidden_count; $_hidden_i++){ ?></i><?php }} ?></a><?php }} else {$this->_echo($d['.'][0]['NO_USERS_ONLINE']);}}} ?>
</span></td>
</tr>
<?php if($_past_count = count($d['stats'][$_stats_i]['past'])) {for ($_past_i = 0; $_past_i < $_past_count; $_past_i++){ ?>
<tr>
<td class="row1" align="left"><span class="gensmall">
<?php $this->_echo($d['.'][0]['L_TOTAL_PAST']);$this->_echo($d['.'][0]['TOTAL_PAST_USERS']); ?><br /><?php $this->_echo($d['.'][0]['TOTAL_HOUR_SHORT']); ?></span><hr /><span class="gensmall">
<?php $this->_echo($d['.'][0]['L_REGISTERED_USERS']); ?>&nbsp;<?php if($_row_count = count($d['stats'][$_stats_i]['past'][$_past_i]['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){if($_sep_count = count($d['stats'][$_stats_i]['past'][$_past_i]['row'][$_row_i]['sep'])) {for ($_sep_i = 0; $_sep_i < $_sep_count; $_sep_i++){ ?>, <?php }} ?><a href="<?php $this->_echo($d['stats'][$_stats_i]['past'][$_past_i]['row'][$_row_i]['U_VIEW_PROFILE']); ?>" title="<?php $this->_echo($d['.'][0]['L_VIEW_PROFILE']); ?>" class="gensmall"<?php $this->_echo($d['stats'][$_stats_i]['past'][$_past_i]['row'][$_row_i]['STYLE']); ?>><?php if($_hidden_count = count($d['stats'][$_stats_i]['past'][$_past_i]['row'][$_row_i]['hidden'])) {for ($_hidden_i = 0; $_hidden_i < $_hidden_count; $_hidden_i++){ ?><i><?php }}$this->_echo($d['stats'][$_stats_i]['past'][$_past_i]['row'][$_row_i]['USERNAME']);if($_hidden_count = count($d['stats'][$_stats_i]['past'][$_past_i]['row'][$_row_i]['hidden'])) {for ($_hidden_i = 0; $_hidden_i < $_hidden_count; $_hidden_i++){ ?></i><?php }} ?></a><?php }} else {$this->_echo($d['.'][0]['NO_USERS_ONLINE']);} ?>
</span></td>
</tr>
<?php }} ?>
<tr>
<td class="row1"><span class="gensmall">
<b><?php $this->_echo($d['.'][0]['L_LEGEND']); ?>:</b>&nbsp;<?php if($_legend_count = count($d['stats'][$_stats_i]['legend'])) {for ($_legend_i = 0; $_legend_i < $_legend_count; $_legend_i++){ ?>[&nbsp;<?php if($_link_count = count($d['stats'][$_stats_i]['legend'][$_legend_i]['link'])) {for ($_link_i = 0; $_link_i < $_link_count; $_link_i++){ ?><a href="<?php $this->_echo($d['stats'][$_stats_i]['legend'][$_legend_i]['U_LEVEL']); ?>" class="gensmall"<?php $this->_echo($d['stats'][$_stats_i]['legend'][$_legend_i]['STYLE']); ?>><?php }} else { ?><span <?php $this->_echo($d['stats'][$_stats_i]['legend'][$_legend_i]['STYLE']); ?>><?php } ?><b><?php $this->_echo($d['stats'][$_stats_i]['legend'][$_legend_i]['LEVEL_NAME']); ?></b><?php if($_link_count = count($d['stats'][$_stats_i]['legend'][$_legend_i]['link'])) {for ($_link_i = 0; $_link_i < $_link_count; $_link_i++){ ?></a><?php }} else { ?></span><?php } ?>&nbsp;]<?php }} ?>
</span></td>
</tr>
</table>
<?php }} ?>