mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
Working on getting Oracle functional. Almost there, need to deal with the 'AUTO INCREMENT' issue
git-svn-id: file:///svn/phpbb/trunk@520 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -86,11 +86,15 @@ if(!$result)
|
||||
|
||||
$logged_online = 0;
|
||||
$guests_online = 0;
|
||||
while($row = $db->sql_fetchrow($result))
|
||||
|
||||
$row = $db->sql_fetchrowset($result);
|
||||
$num_rows = $db->sql_numrows($result);
|
||||
for($x = 0; $x < $num_rows; $x++)
|
||||
{
|
||||
if($row['session_logged_in'])
|
||||
|
||||
if($row[$x]['session_logged_in'])
|
||||
{
|
||||
$userlist_ary[] = "<a href=\"".append_sid("profile." . $phpEx . "?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . "\">" . $row['username'] . "</a>";
|
||||
$userlist_ary[] = "<a href=\"".append_sid("profile." . $phpEx . "?mode=viewprofile&" . POST_USERS_URL . "=" . $row[$x]['user_id']) . "\">" . $row[$x]['username'] . "</a>";
|
||||
$logged_online++;
|
||||
}
|
||||
else
|
||||
@@ -98,6 +102,7 @@ while($row = $db->sql_fetchrow($result))
|
||||
$guests_online++;
|
||||
}
|
||||
}
|
||||
|
||||
$userlist = "";
|
||||
for($i = 0; $i < $logged_online; $i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user