This commit is contained in:
Lanta 2023-11-15 14:13:37 +01:00
parent f6955d9c0e
commit 954486d1c9

View file

@ -75,6 +75,13 @@ $lastMatches = array_slice($allMatches, 0, 8);
echo $file . "\n";
}
foreach($file as $files){
$jsonData_individual_player = json_decode(file_get_contents($file), true);
echo $jsonData_individual_player['stats']['humankills'];
echo $jsonData_individual_player['stats']['kills'];
}
echo "<table class='sortable'><tr><th>matchType</th><th>gameMode</th><th>duration</th><th>mapName</th><th>createdAt</th><th>id</th></tr>";
echo "<tr>";
echo "<td>" . htmlspecialchars($matchinfo['matchType']) . "</td>";