BioTorrents.de’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 659B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. $Twig = Twig::go();
  4. $p = $_GET['p'];
  5. switch ($p) {
  6. case 'about':
  7. View::show_header('About');
  8. echo $Twig->render('legal/about.html');
  9. View::show_footer();
  10. break;
  11. case 'privacy':
  12. View::show_header('Privacy');
  13. echo $Twig->render('legal/privacy.html');
  14. View::show_footer();
  15. break;
  16. case 'dmca':
  17. View::show_header('DMCA');
  18. echo $Twig->render('legal/dmca.html');
  19. View::show_footer();
  20. break;
  21. default:
  22. View::show_header('404 Not Found');
  23. error(404);
  24. View::show_footer();
  25. break;
  26. }