.
require_once("../inc/util.inc");
check_get_args(array());
if (!defined("PAYPAL_ADDRESS")) {
error_page(tra("This project is not accepting donations."));
}
db_init();
$logged_in_user = get_logged_in_user(false);
if ($logged_in_user) {
$user_id = $logged_in_user->id;
}
page_head(tra("%1 donations", PROJECT));
if (function_exists("donations_intro")) {
donations_intro();
} else {
echo "
".tra("This project is accepting donations via
%1.", "
PayPal")."
".tra("To donate, fill in the amount you want to donate using the field below.
PayPal is accepting multiple currencies
(Canadian Dollars, Euros, Pounds Sterling, U.S. Dollars,
Yen, Australian Dollars, New Zealand Dollars,
Swiss Francs, Hong Kong Dollars, Singapore Dollars, Swedish Kronor,
Danish Kroner, Polish Zloty, Norwegian Kroner,
Hungarian Forint, Czech Koruna).
You can use included currency converter
to see the donation amount equivalent in different currencies
(please note that the rates are only estimates
and the actual amount may differ).")."
";
}
echo "\n";
$query = mysql_query("SELECT * FROM donation_items");
echo "