Eintrag |
Avatar |
Steam-Profil |
Ersteller |
Erstelldatum |
VAC-Ban |
query($sql);
$number = 1;
$getplayersummarie ="http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?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++;
}
$fullcallurl = $getplayersummarie . $fullids;
$summarie = file_get_contents($fullcallurl);
$temp_summarie = json_decode($summarie, true);
mysqli_data_seek($result, 0);
/*ID PICTURE SORT ALPHA*/
$pattern =explode( ",", $fullids);
while ($counter2 < $counter) {
$avaid = $temp_summarie["response"]["players"][$avatarid]["avatarmedium"];
$userid = $temp_summarie["response"]["players"][$avatarid]["steamid"];
$personname = $temp_summarie["response"]["players"][$avatarid]["personaname"];
$sort["$userid"] = $avaid;
$sort_name["$userid"] = $personname;
$avatarid++;
$counter2++;
}
?>
fetch_assoc()){
if($row['deleted'])
continue;
$id = explode( "/", $row['url']);
$ida = end($id);
$avatarurl = $sort["$ida"];
$person = $sort_name["$ida"];
$output = "
".$number." |
|
".$person." |
".$row['author']." |
".$row['addtime']." | ";
if($row['banned'] == 0){
$output .= "
|
";
}else{
$output .= "
";
}
echo $output;
$number++;
}
?>
|