This commit is contained in:
Lanta 2023-10-04 08:53:48 +02:00
parent 11937cb8c0
commit 4a484901a6

View file

@ -45,7 +45,7 @@ $lastMatches = array_slice($allMatches, 0, 7);
<table border="1"> <table border="1">
<thead> <thead>
<tr> <tr>
<th>Match Date</th> <!-- <th>Match Date</th> -->
<th>Player Name</th> <th>Player Name</th>
<th>Game Mode</th> <th>Game Mode</th>
<th>MatchType</th> <th>MatchType</th>
@ -75,7 +75,7 @@ $lastMatches = array_slice($allMatches, 0, 7);
foreach($lastMatches as $match) { foreach($lastMatches as $match) {
?> ?>
<tr> <tr>
<td><?php echo date("Y-m-d", strtotime($match['createdAt'])); ?></td> <!-- <td><?php echo date("Y-m-d", strtotime($match['createdAt'])); ?></td> -->
<td><?php echo $match['playername']; ?></td> <td><?php echo $match['playername']; ?></td>
<td><?php echo $match['gameMode']; ?></td> <td><?php echo $match['gameMode']; ?></td>
<td><?php echo $match['matchType']; ?></td> <td><?php echo $match['matchType']; ?></td>