diff --git a/DonationsStats.php b/DonationsStats.php index 30d32b3..7f2e4c6 100755 --- a/DonationsStats.php +++ b/DonationsStats.php @@ -8,27 +8,19 @@ 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; +$GLOBALS['biggest_donation_date'] = "Unknown"; +$GLOBALS['biggest_donation_value'] = 0.0; +$GLOBALS['total_ever'] = 0.0; function print_donation_year($year) { global $db_link; -if ($db_link === false) { +if ($db_link === FALSE) { 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!