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.

edit_torrents.php 712B

123456789101112131415161718192021222324252627
  1. <?php
  2. declare(strict_types = 1);
  3. $Security = new Security();
  4. $UserID = $Security->checkUser('users_override_paranoia');
  5. $DB->query("
  6. SELECT
  7. `Username`
  8. FROM
  9. `users_main`
  10. WHERE
  11. `ID` = '$UserID'
  12. ");
  13. list($Username) = $DB->next_record();
  14. View::show_header(
  15. 'Organize Bookmarks',
  16. 'browse,vendor/jquery.tablesorter.min,sort'
  17. );
  18. $EditType = isset($_GET['type']) ? $_GET['type'] : 'torrents';
  19. list(, $CollageDataList, $TorrentList) = Users::get_bookmarks($UserID); // todo: $TorrentList might not have the correct order, use the $GroupIDs instead
  20. $TT = new MASS_USER_TORRENTS_TABLE_VIEW($TorrentList, $CollageDataList, $EditType, 'Organize Torrent Bookmarks');
  21. $TT->render_all();
  22. View::show_footer();