diff --git a/index.php b/index.php index cf672b0..790faa9 100644 --- a/index.php +++ b/index.php @@ -66,20 +66,18 @@ $lastMatches = array_slice($allMatches, 0, 8); ); foreach($lastMatches as $match) { - ?> - - - - - - - - - - - + $matchid = $match['id']; + echo " + " . $match['playername'] . " + " . $match['gameMode'] . " + " . $match['matchType'] . " + " . isset($mapNames[$match['mapName']]) ? $mapNames[$match['mapName']] : $match['mapName'] . " + " . $match['stats']['kills'] . " + " . number_format($match['stats']['damageDealt'], 0, '.', '') . " + " . $match['stats']['winPlace'] . " + + "; + } ?>