donate.php 524 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. include "data/config.php";
  3. include "lib/frontend.php";
  4. $frontend = new frontend();
  5. echo
  6. $frontend->load(
  7. "header_nofilters.html",
  8. [
  9. "title" => "Donate to the project",
  10. "class" => " class=\"about\""
  11. ]
  12. );
  13. $left =
  14. explode(
  15. "\n",
  16. file_get_contents("template/donate.html")
  17. );
  18. $out = "";
  19. foreach($left as $line){
  20. $out .= trim($line);
  21. }
  22. echo
  23. $frontend->load(
  24. "search.html",
  25. [
  26. "timetaken" => null,
  27. "class" => "",
  28. "right-left" => "",
  29. "right-right" => "",
  30. "left" => $out
  31. ]
  32. );