query(" SELECT tg.Name, wt.Image, wt.Body, tg.WikiImage, tg.WikiBody, tg.Year, tg.RecordLabel, tg.CatalogueNumber, tg.ReleaseType, tg.CategoryID, tg.VanityHouse FROM torrents_group AS tg LEFT JOIN wiki_torrents AS wt ON wt.RevisionID = tg.RevisionID WHERE tg.ID = '$GroupID'"); if (!$DB->has_results()) { error(404); } list($Name, $Image, $Body, $WikiImage, $WikiBody, $Year, $RecordLabel, $CatalogueNumber, $ReleaseType, $CategoryID, $VanityHouse) = $DB->next_record(); if (!$Body) { $Body = $WikiBody; $Image = $WikiImage; } View::show_header('Edit torrent group'); // Start printing form ?>

Edit

Image:


Torrent group description:


Release type:

Edit summary:


query(" SELECT UserID FROM torrents WHERE GroupID = $GroupID"); //Users can edit the group info if they've uploaded a torrent to the group or have torrents_edit if (in_array($LoggedUser['ID'], $DB->collect('UserID')) || check_perms('torrents_edit')) { ?>

Non-wiki torrent group editing

This is for editing the information related to the original release only.
Year
Record label
Catalogue number
Torrent group leech status because

Rename (will not merge)

Merge with another group

Target torrent group ID: