Oppaitime's version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 606B

12345678910111213141516171819202122232425
  1. <?
  2. if (!FEATURE_DONATE) {
  3. header('Location: index.php');
  4. die();
  5. }
  6. //Module mini-config
  7. include(SERVER_ROOT.'/sections/donate/config.php');
  8. if (!isset($_REQUEST['action'])) {
  9. include(SERVER_ROOT.'/sections/donate/donate.php');
  10. } else {
  11. switch ($_REQUEST['action']) {
  12. case 'ipn': // PayPal hits this page when a donation is received
  13. include(SERVER_ROOT.'/sections/donate/ipn.php');
  14. break;
  15. case 'complete':
  16. include(SERVER_ROOT.'/sections/donate/complete.php');
  17. break;
  18. case 'cancel':
  19. include(SERVER_ROOT.'/sections/donate/cancel.php');
  20. break;
  21. }
  22. }
  23. ?>