From 91a39e4c0d9647de514499043aaf27034e098592 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 3 Sep 2014 11:42:21 +0100 Subject: [PATCH] Add a small donation meter on all pages top-right corner --- .htaccess | 2 +- Donations.php | 3 ++- donate/thankyou.php | 2 +- includes/header.php | 33 ++++++++++++++++++++++++++++++++- 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index 5c38fd8..65606f4 100644 --- a/.htaccess +++ b/.htaccess @@ -20,4 +20,4 @@ RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f -RewriteRule ^(.*)$ /$1.php [L,QSA] +RewriteRule ^(.*)$ $1.php [L,QSA] diff --git a/Donations.php b/Donations.php index 092c2ba..981a1ac 100755 --- a/Donations.php +++ b/Donations.php @@ -23,8 +23,9 @@ require "donate/connect.php";

100.0) { + $cur_percent = 100.0; + } +} ?> @@ -201,6 +225,13 @@ else Powered by GeSHi + +
+
+
+
+ This month donations: / 300 € +