diff --git a/DonationsStats.php b/DonationsStats.php index 00da480..474af45 100755 --- a/DonationsStats.php +++ b/DonationsStats.php @@ -8,6 +8,10 @@ include_once("includes/header.php"); require "donate/config.php"; require "donate/connect.php"; +global $biggest_donation_date; +global $biggest_donation_value; +global $total_ever; + $biggest_donation_date = "Unknown"; $biggest_donation_value = 0.0; $total_ever = 0.0; @@ -21,6 +25,10 @@ if ($db_link === false) { return; } +global $biggest_donation_date; +global $biggest_donation_value; +global $total_ever; + $amount = 0.0; $max_month = 0.0; @@ -50,14 +58,14 @@ $total_ever += $total_year; echo '
This page contain statistics regarding donations made to the KXStudio project over time.
- So far the KXStudio project has received € in donations.
- The biggest donation ever made was on , with a value of €.
+ So far the KXStudio project has received € in donations.
+ The biggest donation ever made was on , with a value of €.
Thank you very much for your generosity!
Year | -Donations count | +Donation count | Total received | Average per donation | Average per month | @@ -89,7 +97,7 @@ echo '