
08-30-2002, 07:35 AM
|
 |
|
|
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
What does this do?
Quote:
Originally posted by Gohan
Avatar buddy for online
PHP Code:
if ($buddy['lastactivity'] > $datecut and (!$buddy['invisible'] or $bbuserinfo['usergroupid'] == 6) and $buddy['lastvisit'] != $buddy['lastactivity']) {
$onoff="on";
} else {
$onoff="off";
$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'">';
}
change to:
PHP Code:
if ($buddy['lastactivity'] > $datecut and (!$buddy['invisible'] or $bbuserinfo['usergroupid'] == 6) and $buddy['lastvisit'] != $buddy['lastactivity']) {
$onoff="on";
$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'">';
} else {
$onoff="off";
$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'">';
}
|
|