|
|
|
@ -6,6 +6,9 @@
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/usergroup.inc.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Diese Funktion muss in ein Darstellungspackage hinein und muss noch verlegt werden, Gestaltung in css-Datei
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -24,13 +27,13 @@ function displayUserNameByID($userid, $showClanTags = TRUE){
|
|
|
|
|
|
|
|
|
|
$sql = 'select nickname, user.id as userid, clan.clanz_pre, clan.clanz_suff from user left join clan on user.clan = clan.id where user.id = '.$userid;
|
|
|
|
|
$user_info = mysql_fetch_assoc(mysql_query($sql));
|
|
|
|
|
if(isUserInGroup(groups, admin)){
|
|
|
|
|
if(isUserInGroup($groups, admin)){
|
|
|
|
|
$color = 'style="color:'.$GLOBALS['COLOR_GM'].'"';
|
|
|
|
|
} else if(isUserInGroup(groups, entwickler)){
|
|
|
|
|
} else if(isUserInGroup($groups, entwickler)){
|
|
|
|
|
$color = 'style="color:'.$GLOBALS['COLOR_DEVELOPER'].'"';
|
|
|
|
|
} else if(isUserInGroup(groups, designer)){
|
|
|
|
|
} else if(isUserInGroup($groups, designer)){
|
|
|
|
|
$color = 'style="color:'.$GLOBALS['COLOR_CREATIVE'].'"';
|
|
|
|
|
} else if(isUserInGroup(groups, Werbung_an)){
|
|
|
|
|
} else if(isUserInGroup($groups, Werbung_an)){
|
|
|
|
|
$color = 'style="color:'.$GLOBALS['COLOR_SUPPORTER'].'"';
|
|
|
|
|
} else{
|
|
|
|
|
$color = '';
|
|
|
|
|