mt
This commit is contained in:
parent
2e18116c77
commit
bbca4d9a8d
2 changed files with 11 additions and 10 deletions
|
|
@ -45,15 +45,16 @@ error_reporting(E_ALL);
|
|||
$date = new DateTime($match['createdAt']);
|
||||
$formattedDate = $date->format('d F Y, H:i:s');
|
||||
|
||||
|
||||
$matchType = $match['matchType'];
|
||||
$gameMode = $match['gameMode'];
|
||||
$mapName = $match['mapName'];
|
||||
$kills = $match['stats']['kills'];
|
||||
$damage = $match['stats']['damageDealt'];
|
||||
$timeSurvived = $match['stats']['timeSurvived'];
|
||||
echo "<tr><td>$formattedDate</td><td>$gameMode</td><td>$mapName</td><td>$kills</td><td>$damage</td><td>$timeSurvived</td></tr>";
|
||||
echo "<tr><td>$formattedDate</td><td>$gameMode</td><td>$matchType</td><td>$mapName</td><td>$kills</td><td>$damage</td><td>$timeSurvived</td></tr>";
|
||||
}
|
||||
echo "</table><br>";
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue