si je met <img src=".."> sa m'écrit le code et m'affiche pas l'image...
function _setPlayerDisplayName(&$playerInfo) {
// Determine the player status (U = Unregistered, R = Registered, SA = Server Admin,
// CA = Channel Admin, AO = Auto-Operator, AV = Auto-Voice, O = Operator, V = Voice)
if (($playerInfo["userstatus"] & 4) == 4) { $playerstatus = "R"; } else { $playerstatus = 'U'; }
if (($playerInfo["userstatus"] & 1) == 1) { $playerstatus .= " SA"; }
if (($playerInfo["privileg"] & 1) == 1) { $playerstatus .= " CA"; }
if (($playerInfo["privileg"] & 8) == 8) { $playerstatus .= " AO"; }
if (($playerInfo["privileg"] & 16) == 16) { $playerstatus .= " AV"; }
if (($playerInfo["privileg"] & 2) == 2) { $playerstatus .= " O"; }
if (($playerInfo["privileg"] & 4) == 4) { $playerstatus .= " V"; }
if (($playerInfo["attribute"] & 64) == 64) { $playerstatus .= " Rec"; }
// Determine the player attributes to be listed behind the player status (WV = Want Voice)
if (($playerInfo["attribute"] & 2) == 2) { $playerattributes = ' WV'; } else { $playerattributes = ''; }
$playerInfo["displayname"] = $playerInfo["playername"] . " (" . $playerstatus . ")" . $playerattributes;
}
Résultat:
Si vous voulez le fichier en entier ou il y à le code : Télécharger
en haut à gauche de ce sujet.