connect_error){
die("Verbindung fehlgeschlagen: " . $conn->connect_error);
}
?>
Eintrag |
Avatar |
Steam-Profil |
Ersteller |
Erstelldatum |
VAC-Ban |
query($sql);
$number = 1;
$getplayersummarie ="http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=E8D51260E5DF95AE8A6DA139D6C80288&steamids=";
$getplayerbans = "http://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key=E8D51260E5DF95AE8A6DA139D6C80288&steamids=";
$avatarid = 0;
$fullids = "";
$counter = 0;
$counter2 = 0;
?>
fetch_assoc()) {
if($row['deleted'])
continue;
$id = explode( "/", $row['url']);
$fullids = $fullids . end($id) . ",";
$counter++;
}
mysqli_data_seek($result, 0);
$fullcallurl_summarie = $getplayersummarie . $fullids;
$fullcallurl_bans = $getplayerbans . $fullids;
$summarie = file_get_contents($fullcallurl_summarie);
$temp_summarie = json_decode($summarie, true);
$bans = file_get_contents($fullcallurl_bans);
$temp_bans = json_decode($bans, true);
/*ID PICTURE SORT ALPHA*/
/*BAN Sorter*/
$pattern = explode( ",", $fullids);
while ($counter2 < $counter) {
$avaid = $temp_summarie["response"]["players"][$avatarid]["avatarmedium"];
$userid = $temp_summarie["response"]["players"][$avatarid]["steamid"];
$userid_bans = $temp_bans["players"][$avatarid]["SteamId"];
$visi = $temp_summarie["response"]["players"][$avatarid]["communityvisibilitystate"];
$personname = $temp_summarie["response"]["players"][$avatarid]["personaname"];
$sort["$userid"] = $avaid;
$sort_name["$userid"] = $personname;
if($visi > 1){
$gameban_output = $temp_bans["players"][$avatarid]["NumberOfGameBans"];
$vacban_output = $temp_bans["players"][$avatarid]["NumberOfVACBans"];
}
else{
$gameban_output = 0;
$vacban_output = 0;
}
$sort_bans["$userid_bans"]["gameban"] = $gameban_output;
$sort_bans["$userid_bans"]["vacban"] = $vacban_output;
$avatarid++;
$counter2++;
}
?>
fetch_assoc()){
if($row['deleted'])
continue;
$id = explode( "/", $row['url']);
$ida = end($id);
$avatarurl = $sort["$ida"];
$person = $sort_name["$ida"];
$gamebancheck = $sort_bans["$ida"]["gameban"];
$vacbancheck = $sort_bans["$ida"]["vacban"];
$output = "
".$number." |
|
".$person." |
".$row['author']." |
".$row['addtime']." | ";
if($gamebancheck || $vacbancheck > 0){
$output .= "
|
";
}else{
$output .= " |
";
}
echo $output;
$number++;
}
?>
×
'.
'' .
'
';
if (isset ($_SESSION['status'])){
echo $_SESSION['status'];
}
return;
}
?>
}
' .
'
' .
"".
'
';
?>
' .
'' .
'';
?>