Merge branch 'main' of https://github.com/OpzekerIT/pubg
BIN
images/ranks/Bronze-1.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
images/ranks/Bronze-2.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
images/ranks/Bronze-3.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
images/ranks/Bronze-4.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
images/ranks/Bronze-5.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
images/ranks/Diamond-1.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
images/ranks/Diamond-2.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/ranks/Diamond-3.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/ranks/Diamond-4.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/ranks/Diamond-5.webp
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
images/ranks/Gold-1.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
images/ranks/Gold-2.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
images/ranks/Gold-3.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
images/ranks/Gold-4.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
images/ranks/Gold-5.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
images/ranks/Master.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
images/ranks/Platinum-1.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/ranks/Platinum-2.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/ranks/Platinum-3.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/ranks/Platinum-4.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/ranks/Platinum-5.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/ranks/Silver-1.webp
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
images/ranks/Silver-2.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
images/ranks/Silver-3.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
images/ranks/Silver-4.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
images/ranks/Silver-5.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
images/ranks/Unranked.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -108,11 +108,11 @@ $lastMatches = array_slice($allMatches, 0, 8);
|
||||||
if (isset($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp'])) {
|
if (isset($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp'])) {
|
||||||
$tier = $rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentTier']['tier'];
|
$tier = $rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentTier']['tier'];
|
||||||
$subTier = $rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentTier']['subTier'];
|
$subTier = $rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentTier']['subTier'];
|
||||||
$image = "./images/ranks/" . $tier . "-" . $subTier . ".png";
|
$image = "./images/ranks/" . $tier . "-" . $subTier . ".webp";
|
||||||
$rankPoint = htmlspecialchars($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentRankPoint']);
|
$rankPoint = htmlspecialchars($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentRankPoint']);
|
||||||
echo "<tr><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>name</a></td><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>" . htmlspecialchars($playername) . "</a></td><td><img src='" . $image . "' class='table-image'></td><td>" . $rankPoint . "</td></tr>";
|
echo "<tr><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>name</a></td><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>" . htmlspecialchars($playername) . "</a></td><td><img src='" . $image . "' class='table-image'></td><td>" . $rankPoint . "</td></tr>";
|
||||||
} else {
|
} else {
|
||||||
echo "<tr><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>name</a></td><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>" . htmlspecialchars($playername) . "</a></td><td><img src='./images/ranks/Unranked.png' class='table-image'></td><td></td></tr>";
|
echo "<tr><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>name</a></td><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($playername) . "'>" . htmlspecialchars($playername) . "</a></td><td><img src='./images/ranks/Unranked.webp' class='table-image'></td><td></td></tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ $ogDescription = "Explore detailed player statistics over the past month includi
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<?php include './includes/head.php'; ?>
|
<?php include './includes/head.php'; ?>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||