';
eval ("\$buddys_head = \"".gettemplate("buddys_head")."\";");
echo $buddys_head;
$ergebnis=safe_query("SELECT * FROM ".PREFIX."buddys WHERE userID='$userID' AND banned='0'");
$anz=mysql_num_rows($ergebnis);
if($anz) {
$n=1;
while($ds=mysql_fetch_array($ergebnis)) {
if($n%2) {
$bg1=BG_1;
$bg2=BG_2;
}
else {
$bg1=BG_3;
$bg2=BG_4;
}
$flag = '[flag]'.getcountry($ds[buddy]).'[/flag]';
$country=flags($flag);
$nickname=getnickname($ds[buddy]);
if(isclanmember($ds[buddy])) $member=' ';
else $member='';
if(isonline($ds[buddy])=="offline") $statuspic='';
else $statuspic='';
eval ("\$buddys_content = \"".gettemplate("buddys_content")."\";");
echo $buddys_content;
$n++;
}
}
else echo' |
no users on your buddy-list. |
';
eval ("\$buddys_foot = \"".gettemplate("buddys_foot")."\";");
echo $buddys_foot;
echo' | ';
eval ("\$ignore_head = \"".gettemplate("ignore_head")."\";");
echo $ignore_head;
$ergebnis=safe_query("SELECT * FROM ".PREFIX."buddys WHERE userID='$userID' AND banned='1'");
$anz=mysql_num_rows($ergebnis);
if($anz) {
$n=1;
while($ds=mysql_fetch_array($ergebnis)) {
if($n%2) {
$bg1=BG_1;
$bg2=BG_2;
}
else {
$bg1=BG_3;
$bg2=BG_4;
}
$flag = '[flag]'.getcountry($ds[buddy]).'[/flag]';
$country=flags($flag);
$nickname=getnickname($ds[buddy]);
if(isclanmember($ds[buddy])) $member=' ';
else $member='';
if(isonline($ds[buddy])=="offline") $statuspic='';
else $statuspic='';
eval ("\$ignore_content = \"".gettemplate("ignore_content")."\";");
echo $ignore_content;
$n++;
}
}
else echo' | no users on your ignore-list. |
';
eval ("\$ignore_foot = \"".gettemplate("ignore_foot")."\";");
echo $ignore_foot;
echo'
';
}
?>