This commit is contained in:
Lanta 2023-11-14 21:45:06 +01:00
parent bdded9b74b
commit 9e948a56ed

View file

@ -37,14 +37,20 @@ $lastMatches = array_slice($allMatches, 0, 8);
<section> <section>
<h2>Latest Matches</h2> <h2>Latest Matches</h2>
<table border='1' class='sortable'> <table class='sortable'>
<thead>
<tr> <tr>
<!-- <th>Match Date</th> --> <!-- <th>Match Date</th> -->
<tr><th>Player Name</th><th>Kills</th><th>Damage Dealt</th><th>Time Survived</th><th>Rank</th></tr> <tr>
<th>Player Name</th>
<th>Kills</th>
<th>Damage Dealt</th>
<th>Time Survived</th>
<th>Rank</th>
</tr> </tr>
</thead> </tr>
<tbody>
<?php <?php
// Check if a match ID is provided in the GET request // Check if a match ID is provided in the GET request
if (isset($_GET['matchid'])) { if (isset($_GET['matchid'])) {
@ -77,7 +83,7 @@ $lastMatches = array_slice($allMatches, 0, 8);
echo "No match ID provided."; echo "No match ID provided.";
} }
?> ?>
</tbody>
</table> </table>