diff --git a/Donations.php b/Donations.php
index 981a1ac..b324368 100755
--- a/Donations.php
+++ b/Donations.php
@@ -19,6 +19,11 @@ require "donate/connect.php";
Currently the KXStudio project accepts donations via Flattr or PayPal.
You can do a one-time donation or subscribe monthly.
In either case, we thank you in advance for any donation you make!
+
+
+
+ Note that PayPal takes a minimum 5% fee on all donations (10€ becomes 9.31€).
+ You can bypass this fee by sending money directly to falktx@falktx.com as a friend.
@@ -26,10 +31,11 @@ require "donate/connect.php";
$cur_amount = 0.0;
if ($db_link) {
-$sql_donations = mysql_query("SELECT * FROM donations WHERE MONTH(dt) = MONTH(NOW()) AND YEAR(dt) = YEAR(NOW())");
+$sql_donations_month = mysql_query("SELECT * FROM donations WHERE MONTH(dt) = MONTH(NOW()) AND YEAR(dt) = YEAR(NOW())");
+$sql_donations_last5 = mysql_query("SELECT * FROM donations ORDER BY dt DESC LIMIT 5");
-if (mysql_num_rows($sql_donations)) {
- while ($sql_row = mysql_fetch_assoc($sql_donations)) {
+if (mysql_num_rows($sql_donations_month)) {
+ while ($sql_row = mysql_fetch_assoc($sql_donations_month)) {
$cur_amount += $sql_row["amount"];
}
}
@@ -50,7 +56,14 @@ if ($cur_percent > 100.0) {