thats why i hate copy & paste ...

main
hecht 13 years ago
parent a4b87a2e9b
commit c834d3bc9f

@ -28,7 +28,7 @@ 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; $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)); $user_info = mysql_fetch_assoc(mysql_query($sql));
if(isUserInGroup($usergroups, Werbung_an)){ if(isUserInGroup($groups, Werbung_an)){
if(isUserInGroup($groups, admin)){ if(isUserInGroup($groups, admin)){
$color = 'style="color:'.$GLOBALS['COLOR_GM'].'"'; $color = 'style="color:'.$GLOBALS['COLOR_GM'].'"';
} else if(isUserInGroup($groups, entwickler)){ } else if(isUserInGroup($groups, entwickler)){

Loading…
Cancel
Save