From 5956bb5bce9dcfe4c1cc34b39adaae31465c3a1f Mon Sep 17 00:00:00 2001 From: Lanta 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)

From ecce0412005504e8e41af2b9859b4bedc0481b38 Mon Sep 17 00:00:00 2001 From: Lanta 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

From 9c5bed8917b271630346c3651e127d788126de01 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, ',', ''); From 70b1253ab01972000816155bea56146632837f86 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, ',', '');
Playername