From 3bc5e1936c94ffd323eecdb9b3076e7d8d6a5788 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Wed, 15 Nov 2023 11:31:20 +0100 Subject: [PATCH] clickable index --- index.php | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) 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'] . " + + "; + } ?>