diff --git a/matchinfo.php b/matchinfo.php index cab46ed..dd323c3 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -41,6 +41,20 @@ $lastMatches = array_slice($allMatches, 0, 8); "Erangel", + "Chimera_Main" => "Paramo", + "Desert_Main" => "Miramar", + "DihorOtok_Main" => "Vikendi", + "Erangel_Main" => "Erangel", + "Heaven_Main" => "Haven", + "Kiki_Main" => "Deston", + "Range_Main" => "Camp Jackal", + "Savage_Main" => "Sanhok", + "Summerland_Main" => "Karakin", + "Tiger_Main" => "Taego" + ); // Check if a match ID is provided in the GET request if (isset($_GET['matchid'])) { $matchId = $_GET['matchid']; @@ -52,9 +66,10 @@ $lastMatches = array_slice($allMatches, 0, 8); $jsonData = json_decode(file_get_contents($filename), true); $matchinfo = $jsonData['data']['attributes']; $matchdata = $jsonData['data']; - echo ""; + echo "
matchTypedurationgameModemapNamecreatedAtid
"; echo ""; echo ""; + echo ""; echo ""; echo ""; echo "";
matchTypegameModedurationgameModemapNamecreatedAtid
" . htmlspecialchars($matchinfo['matchType']) . "" . htmlspecialchars($matchinfo['gameMode']) . "" . htmlspecialchars($matchinfo['duration']) . "" . htmlspecialchars($matchinfo['gameMode']) . "" . htmlspecialchars($matchinfo['mapName']) . "