last stats
This commit is contained in:
parent
76a4165d8a
commit
fc182750ca
5 changed files with 185 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ error_reporting(E_ALL);
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>DTCH - PUBG Clan - Match Stats</title>
|
||||
<link rel="stylesheet" href="./includes/styles.css">
|
||||
<script src="./lib/sorttable.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -39,7 +40,7 @@ error_reporting(E_ALL);
|
|||
foreach ($players_matches as $player_data) {
|
||||
if ($player_data['playername'] === $selected_player) {
|
||||
echo "<h2>Recent Matches for $selected_player</h2>";
|
||||
echo "<table border='1'>";
|
||||
echo "<table border='1' class='sortable'>";
|
||||
echo "<tr><th>Match Date</th><th>Game Mode</th><th>MatchType</th><th>Map</th><th>Kills</th><th>Damage Dealt</th><th>Time Survived</th><th>winPlace</th></tr>";
|
||||
foreach ($player_data['player_matches'] as $match) {
|
||||
$date = new DateTime($match['createdAt']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue