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 721B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. enforce_login();
  3. if (!check_perms('site_top10')) {
  4. error(403);
  5. }
  6. include SERVER_ROOT.'/sections/torrents/functions.php'; //Has get_reports($TorrentID);
  7. if (empty($_GET['type']) || $_GET['type'] === 'torrents') {
  8. include SERVER_ROOT.'/sections/top10/torrents.php';
  9. } else {
  10. switch ($_GET['type']) {
  11. case 'users':
  12. include SERVER_ROOT.'/sections/top10/users.php';
  13. break;
  14. case 'tags':
  15. include SERVER_ROOT.'/sections/top10/tags.php';
  16. break;
  17. case 'history':
  18. include SERVER_ROOT.'/sections/top10/history.php';
  19. break;
  20. case 'donors':
  21. include SERVER_ROOT.'/sections/top10/donors.php';
  22. break;
  23. default:
  24. error(404);
  25. break;
  26. }
  27. }