<?php $custom_css = array('faq.scss'); $custom_js = array('faq.js'); require_once 'init.php'; $donations = new donations($app); if (isset($_POST['donate'])) { $amount = floatval(ltrim($_POST['donate'], "£")); $_SESSION['donate_anon'] = isset($_POST['anon']) && $_POST['anon']; if ($amount && $amount > 0 && $amount < 10000) { $donations->makeTransaction($amount, $_POST['size']); } } require_once 'header.php'; if (isset($_GET['token']) && isset($_GET['PayerID'])) { $status = $donations->confirmPayment($_GET['token'], $_GET['PayerID']); if ($status) { $app->utils->message('Thank you for your donation, you are awesome!', 'good'); } else { $app->utils->message('Something went wrong'); } } ?> <h1>Become a Donator</h1> In order to support our growth and the costs of maintaining and developing new features, we've added some perks and are offering them as a thank you to those who support us with a small donation:<br/> <p> <h2 class='no-margin'>£1 or more</h2> Get yourself listed on our donator hall of fame. </p> <p> <h2 class='no-margin'>£5 or more</h2>