query(" SELECT t.Media, t.Container, t.Codec, t.Resolution, t.AudioFormat, t.Subbing, t.Language, t.Subber, t.Censored, t.Archive, t.FreeTorrent, t.FreeLeechType, t.Description AS TorrentDescription, t.MediaInfo, tg.CategoryID, tg.Name AS Title, tg.NameJP AS TitleJP, tg.Year, tg.Studio, tg.Series, tg.CatalogueNumber, ag.Name AS ArtistName, t.GroupID, t.UserID, bt.TorrentID AS BadTags, bf.TorrentID AS BadFolders, bfi.TorrentID AS BadFiles FROM torrents AS t LEFT JOIN torrents_group AS tg ON tg.ID = t.GroupID LEFT JOIN torrents_artists AS ta ON tg.ID = ta.GroupID LEFT JOIN artists_group AS ag ON ag.ArtistID = ta.ArtistID LEFT JOIN torrents_bad_tags AS bt ON bt.TorrentID = t.ID LEFT JOIN torrents_bad_folders AS bf ON bf.TorrentID = t.ID LEFT JOIN torrents_bad_files AS bfi ON bfi.TorrentID = t.ID WHERE t.ID = '$TorrentID'"); list($Properties) = $DB->to_array(false, MYSQLI_BOTH); if (!$Properties) { error(404); } $UploadForm = $Categories[$Properties['CategoryID'] - 1]; if (($LoggedUser['ID'] != $Properties['UserID'] && !check_perms('torrents_edit')) || $LoggedUser['DisableWiki']) { error(403); } View::show_header('Edit torrent', 'upload,torrent'); if (!($Properties['Remastered'] && !$Properties['RemasterYear']) || check_perms('edit_unknowns')) { $TorrentForm = new TORRENT_FORM($Properties, $Err, false); $TorrentForm->head(); switch ($UploadForm) { case 'Movies': $TorrentForm->movies_form(''); break; case 'Anime': $TorrentForm->anime_form(''); break; case 'Manga': $TorrentForm->manga_form(''); break; case 'Games': $TorrentForm->game_form(''); break; case 'Other': $TorrentForm->simple_form(); break; default: $TorrentForm->movies_form(''); } $TorrentForm->foot(); } if (check_perms('torrents_edit') && (check_perms('users_mod') || $Properties['CategoryID'] == 1)) { ?>

Change group

Group ID

Split off into new group

Artist
Title
Japanese Title
Year

Change category

Change category
Release type
Artist
Title
Year