//Useronlinefarbe_Anfang
$erg=$db->query_first("SELECT g.title FROM bb".$n."_groups g LEFT JOIN bb".$n."_users u ON (u.groupid= g.groupid) WHERE u.username = '$row[username]'");
$row['username'] = '<span class="'.($erg['title']).'">'.($row[username]);
//Useronlinefarbe_Ende |