mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
More minor changes
git-svn-id: file:///svn/phpbb/trunk@2465 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1fdfa98674
commit
7807598bd4
1 changed files with 168 additions and 172 deletions
|
@ -90,8 +90,6 @@ if ( !($result = $db->sql_query($sql)) )
|
||||||
message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $row = $db->sql_fetchrow($result) )
|
|
||||||
{
|
|
||||||
$guest_users = 0;
|
$guest_users = 0;
|
||||||
$registered_users = 0;
|
$registered_users = 0;
|
||||||
$hidden_users = 0;
|
$hidden_users = 0;
|
||||||
|
@ -101,7 +99,7 @@ if ( $row = $db->sql_fetchrow($result) )
|
||||||
$prev_user = 0;
|
$prev_user = 0;
|
||||||
$prev_ip = 0;
|
$prev_ip = 0;
|
||||||
|
|
||||||
do
|
while ( $row = $db->sql_fetchrow($result) )
|
||||||
{
|
{
|
||||||
$view_online = 0;
|
$view_online = 0;
|
||||||
|
|
||||||
|
@ -232,7 +230,6 @@ if ( $row = $db->sql_fetchrow($result) )
|
||||||
$$which_counter++;
|
$$which_counter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while ( $row = $db->sql_fetchrow($result) );
|
|
||||||
|
|
||||||
if( $registered_users == 0 )
|
if( $registered_users == 0 )
|
||||||
{
|
{
|
||||||
|
@ -291,7 +288,6 @@ if ( $row = $db->sql_fetchrow($result) )
|
||||||
'L_NO_GUESTS_BROWSING' => $lang['No_users_browsing'])
|
'L_NO_GUESTS_BROWSING' => $lang['No_users_browsing'])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$template->pparse('body');
|
$template->pparse('body');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue