mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-18 23:14:41 +01:00
Another bodge to fix a problem temporarily
git-svn-id: file:///svn/phpbb/trunk@698 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5e80be9bf6
commit
0da3c2d0df
@ -96,18 +96,10 @@ $guest_users = 0;
|
||||
$online_count = $db->sql_numrows($result);
|
||||
if($online_count)
|
||||
{
|
||||
$count = 0;
|
||||
|
||||
for($i = 0; $i < $online_count; $i++)
|
||||
{
|
||||
|
||||
if(!($i % 2))
|
||||
{
|
||||
$row_color = "#" . $theme['td_color1'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$row_color = "#" . $theme['td_color2'];
|
||||
}
|
||||
|
||||
if($onlinerow[$i]['user_id'] != ANONYMOUS)
|
||||
{
|
||||
if($onlinerow[$i]['session_logged_in'])
|
||||
@ -206,6 +198,16 @@ if($online_count)
|
||||
|
||||
if( $logged_on && ( !$hidden || $userdata['user_level'] == ADMIN ) )
|
||||
{
|
||||
if($count % 2))
|
||||
{
|
||||
$row_color = "#" . $theme['td_color1'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$row_color = "#" . $theme['td_color2'];
|
||||
}
|
||||
$count++;
|
||||
|
||||
$template->assign_block_vars("userrow", array(
|
||||
"ROW_COLOR" => $row_color,
|
||||
"USERNAME" => $username,
|
||||
|
Loading…
x
Reference in New Issue
Block a user