Index und Viewbody funktionieren bereits komplett wie sie sollen

Code: Alles auswählen
<table width="98%" cellspacing="1" cellpadding="3" border="0" align="left" class="forumline" dwcopytype="CopyTableRow">
<tr>
<th>{L_WHO_IS_ONLINE}</th>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{RECORD_USERS}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
Code: Alles auswählen
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];
if( $total_posts == 0 )
{
$l_total_post_s = $lang['Posted_articles_zero_total'];
}
else if( $total_posts == 1 )
{
$l_total_post_s = $lang['Posted_article_total'];
}
else
{
$l_total_post_s = $lang['Posted_articles_total'];
}
if( $total_users == 0 )
{
$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
$l_total_user_s = $lang['Registered_user_total'];
}
else
{
$l_total_user_s = $lang['Registered_users_total'];
}