individuel player score match data #116

Merged
OpzekerIT merged 14 commits from dev into main 2023-11-15 14:57:47 +00:00
Showing only changes of commit 659d0bbcb5 - Show all commits

View file

@ -75,6 +75,13 @@ $lastMatches = array_slice($allMatches, 0, 8);
echo $file . "\n"; 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 "<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 "<tr>";
echo "<td>" . htmlspecialchars($matchinfo['matchType']) . "</td>"; echo "<td>" . htmlspecialchars($matchinfo['matchType']) . "</td>";