mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Small error in viewonline fixed
git-svn-id: file:///svn/phpbb/trunk@285 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
99fbeda889
commit
a325e482a8
1 changed files with 6 additions and 20 deletions
|
@ -88,25 +88,11 @@ if($online_count)
|
||||||
|
|
||||||
if(!(ix % 2))
|
if(!(ix % 2))
|
||||||
{
|
{
|
||||||
if(isset($theme['td_color1']))
|
$row_color = "#".$theme['td_color1'];
|
||||||
{
|
|
||||||
$row_color = "#".$theme['td_color1'];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$row_color = "#DDDDDD";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(isset($theme['td_color2']))
|
$row_color = "#".$theme['td_color2'];
|
||||||
{
|
|
||||||
$row_color = "#".$theme['td_color2'];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$row_color = "#CCCCCC";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if($onlinerow[$i]['user_id'] != ANONYMOUS && $onlinerow[$i]['user_id'] != DELETED)
|
if($onlinerow[$i]['user_id'] != ANONYMOUS && $onlinerow[$i]['user_id'] != DELETED)
|
||||||
|
@ -178,12 +164,12 @@ if($online_count)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for($j = 0; $j < count($forumrow); $j++)
|
for($j = 0; $j < count($forumsrow); $j++)
|
||||||
{
|
{
|
||||||
if($onlinerow[$i]['session_page'] == $forumrow[$j]['forum_id'])
|
if($onlinerow[$i]['session_page'] == $forumsrow[$j]['forum_id'])
|
||||||
{
|
{
|
||||||
$location_url = append_sid("viewforum.".$phpEx."?".POST_FORUM_URL."=".$forumrow[$j]['forum_id']);
|
$location_url = append_sid("viewforum.".$phpEx."?".POST_FORUM_URL."=".$forumsrow[$j]['forum_id']);
|
||||||
$location = $forumrow[$j]['forum_name'];
|
$location = $forumsrow[$j]['forum_name'];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue