From 8ae52f715346b2c7a8d6299b72ba294693c742c3 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Wed, 25 Oct 2023 14:26:31 +0200 Subject: [PATCH 1/4] test --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 1ba76a5..54e71a2 100644 --- a/index.php +++ b/index.php @@ -35,7 +35,7 @@ $lastMatches = array_slice($allMatches, 0, 8);
-

Welcome to DTCH - PUBG Clan

+

Welcome to DTCH - PUBG Clan (BASSIE)

-- 2.49.1 From 0b40e7f337ddcf310f94617e4e86431735f756c4 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Wed, 25 Oct 2023 14:27:39 +0200 Subject: [PATCH 2/4] test --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 54e71a2..f78ce2a 100644 --- a/index.php +++ b/index.php @@ -35,7 +35,7 @@ $lastMatches = array_slice($allMatches, 0, 8);
-

Welcome to DTCH - PUBG Clan (BASSIE)

+

Welcome to DTCH - PUBG Clan

-- 2.49.1 From e0a8aaa7c5b6a2b0e13e59bdd0548895dcaa16e1 Mon Sep 17 00:00:00 2001 From: thijs Date: Fri, 3 Nov 2023 10:52:14 +0100 Subject: [PATCH 3/4] minimal 10 matches --- last_stats.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/last_stats.php b/last_stats.php index cb3cd23..4c9dc21 100644 --- a/last_stats.php +++ b/last_stats.php @@ -32,8 +32,9 @@ error_reporting(E_ALL); if ($key == 'updated') { continue; } + echo "
"; - echo "Stats for $key"; + echo "Stats for $key (minimal 10 matches)"; echo ""; echo " @@ -53,7 +54,9 @@ error_reporting(E_ALL); if (!isset($player_data['playername']) || is_null($player_data['playername'])) { continue; // Skip this iteration and move to the next } - + if ($player_data['matches'] < 10){ + continue + } $player_name = $player_data['playername']; $deaths = number_format($player_data['deaths'], 2, ',', ''); $kills = number_format($player_data['kills'], 2, ',', ''); -- 2.49.1 From 7858067633b2524405a4dd63a765c591567b6805 Mon Sep 17 00:00:00 2001 From: thijs Date: Fri, 3 Nov 2023 10:53:45 +0100 Subject: [PATCH 4/4] typo --- last_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/last_stats.php b/last_stats.php index 4c9dc21..1537818 100644 --- a/last_stats.php +++ b/last_stats.php @@ -55,7 +55,7 @@ error_reporting(E_ALL); continue; // Skip this iteration and move to the next } if ($player_data['matches'] < 10){ - continue + continue; } $player_name = $player_data['playername']; $deaths = number_format($player_data['deaths'], 2, ',', ''); -- 2.49.1
Playername