commit
12ebdb2622
5 changed files with 25 additions and 41 deletions
|
|
@ -60,6 +60,7 @@ $map_map = @{
|
||||||
"Savage_Main" = "Sanhok"
|
"Savage_Main" = "Sanhok"
|
||||||
"Summerland_Main" = "Karakin"
|
"Summerland_Main" = "Karakin"
|
||||||
"Tiger_Main" = "Taego"
|
"Tiger_Main" = "Taego"
|
||||||
|
"Neon_Main" = "Rondo"
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
18
includes/mapsmap.php
Normal file
18
includes/mapsmap.php
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$mapNames = array(
|
||||||
|
"Baltic_Main" => "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",
|
||||||
|
"Neon_Main" => "Rondo"
|
||||||
|
);
|
||||||
|
|
||||||
|
?>
|
||||||
15
index.php
15
index.php
|
|
@ -52,19 +52,8 @@ $lastMatches = array_slice($allMatches, 0, 8);
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$mapNames = array(
|
include './includes/mapsmap.php';
|
||||||
"Baltic_Main" => "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"
|
|
||||||
);
|
|
||||||
|
|
||||||
foreach ($lastMatches as $match) {
|
foreach ($lastMatches as $match) {
|
||||||
$matchid = $match['id'];
|
$matchid = $match['id'];
|
||||||
|
|
|
||||||
|
|
@ -44,19 +44,7 @@ $ogDescription = "Dive into the detailed match stats of DTCH Clan in PUBG. Explo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$mapNames = array(
|
include './includes/mapsmap.php';
|
||||||
"Baltic_Main" => "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"
|
|
||||||
);
|
|
||||||
// Display the player's match stats
|
// Display the player's match stats
|
||||||
echo "<h2>Recent Matches for $selected_player</h2>";
|
echo "<h2>Recent Matches for $selected_player</h2>";
|
||||||
echo "<table border='1' class='sortable'>";
|
echo "<table border='1' class='sortable'>";
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,10 @@ $lastMatches = array_slice($allMatches, 0, 8);
|
||||||
<?php include './includes/head.php'; ?>
|
<?php include './includes/head.php'; ?>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
include './includes/navigation.php';
|
include './includes/navigation.php';
|
||||||
include './includes/header.php';
|
include './includes/header.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
@ -47,19 +47,7 @@ $lastMatches = array_slice($allMatches, 0, 8);
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$mapNames = array(
|
include './includes/mapsmap.php';
|
||||||
"Baltic_Main" => "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
|
// Check if a match ID is provided in the GET request
|
||||||
if (isset($_GET['matchid'])) {
|
if (isset($_GET['matchid'])) {
|
||||||
$matchId = $_GET['matchid'];
|
$matchId = $_GET['matchid'];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue