diff --git a/index.php b/index.php
index 648e350..58a902e 100644
--- a/index.php
+++ b/index.php
@@ -30,19 +30,25 @@ if($conn->connect_error){
Erstelldatum |
VAC-Ban |
-
+
query($sql);
$number = 1;
-
+$getplayersummarie ="http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=E8D51260E5DF95AE8A6DA139D6C80288&steamids=";
while($row = $result->fetch_assoc()){
if($row['deleted'])
continue;
+ $id = explode( "/", $row['url']);
+ $comburl_summarie = $getplayersummarie . end($id);
+ $summarie = file_get_contents($comburl_summarie);
+ $temp_summarie = json_decode($summarie, true);
+ $avatarurl = $temp_summarie["response"]["players"][0]["avatarmedium"];
+
$output = "
".$number." |
- ".$row['url']." |
+ ".$row['url']." |
".$row['author']." |
".$row['addtime']." | ";
if($row['banned'] == 0){
@@ -87,7 +93,7 @@ echo '' .
'' .
'
';
?>
-
-
+
+