This commit is contained in:
Lanta 2023-11-28 14:25:52 +01:00
commit 76249a7d5c
2 changed files with 4 additions and 4 deletions

View file

@ -51,9 +51,9 @@ $ogDescription = "Explore detailed player statistics over the past month includi
<th>Player</th>
<th>Win %</th>
<th>K/D Human</th>
<th>Human Kills</th>
<th>K/D All</th>
<th>Kills</th>
<th>Human Kills</th>
<th>Mtchs</th>
<th>Wins</th>
<th>Deaths</th>
@ -127,9 +127,9 @@ $ogDescription = "Explore detailed player statistics over the past month includi
<td><a href='latestmatches.php?selected_player=$player_name'>$player_name</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$winratio</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$KD_H</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$humankills</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$KD_ALL</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$kills</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$humankills</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$matches</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$wins</a></td>
<td><a href='latestmatches.php?selected_player=$player_name'>$deaths</a></td>
@ -161,4 +161,4 @@ $ogDescription = "Explore detailed player statistics over the past month includi
</body>
</html>
</html>

View file

@ -32,7 +32,7 @@ include './includes/header.php';
</form><br>";
// Displaying top 10 comparisons for each attribute
$attributes = ['dBNOs', 'damageDealt', 'roadKills', 'teamKills','headshotKills','roundMostKills','kills','wins','top10s'];
$attributes = ['wins','top10s','kills','dBNOs','damageDealt','headshotKills','roadKills','teamKills','roundMostKills'];
foreach ($attributes as $attribute) {
echo "<h3>Top 10 $attribute</h3>";
uasort($players_data[$selected_mode], function ($a, $b) use ($attribute) {