/******************************************************************************** ************ Torrent form class *************** upload.php and torrents.php **** ******************************************************************************** ** This class is used to create both the upload form, and the 'edit torrent' ** ** form. It is broken down into several functions - head(), foot(), ** ** music_form() [music], audiobook_form() [Audiobooks and comedy], and ** ** simple_form() [everything else]. ** ** ** ** When it is called from the edit page, the forms are shortened quite a bit. ** ** ** ********************************************************************************/ class TORRENT_FORM { var $Categories = array(); var $Formats = array(); var $Bitrates = array(); var $Media = array(); var $NewTorrent = false; var $Torrent = array(); var $Error = false; var $TorrentID = false; var $Disabled = ''; var $DisabledFlag = false; function TORRENT_FORM($Torrent = false, $Error = false, $NewTorrent = true) { $this->NewTorrent = $NewTorrent; $this->Torrent = $Torrent; $this->Error = $Error; global $Categories, $Formats, $Bitrates, $Media, $TorrentID; $this->Categories = $Categories; $this->Formats = $Formats; $this->Bitrates = $Bitrates; $this->Media = $Media; $this->TorrentID = $TorrentID; if ($this->Torrent && $this->Torrent['GroupID']) { $this->Disabled = ' disabled="disabled"'; $this->DisabledFlag = true; } } function head() { ?>
Your personal announce URL is:
'.$this->Error."
\n"; } ?>Artist(s): |
Please use the multiple artists feature rather than adding "Various Artists" as an artist; read this for more information. if (!empty($Torrent['Artists'])) { $FirstArtist = true; foreach ($Torrent['Artists'] as $Importance => $Artists) { foreach ($Artists as $Artist) { ?> =$this->Disabled?> /> if ($FirstArtist) { if (!$this->DisabledFlag) { ?> + − } $FirstArtist = false; } ?>} } } else { ?> =$this->Disabled?> /> + − } ?> |
||||||||
Album title: |
Disabled?> />
Do not include the words remaster, re-issue, MFSL Gold, limited edition, bonus tracks, bonus disc or country-specific information in this field. That belongs in the edition information fields below; see this for further information. Also remember to use the correct capitalization for your upload. See the Capitalization Guidelines for more information. |
||||||||
MusicBrainz: | |||||||||
>Year: >Year of original release: |
You have entered a year for a release which predates the medium's availability. You will need to change the year and enter additional edition information. If this information cannot be provided, check the "Unknown Release" check box below. Disabled?> onblur="CheckYear();" /> This is the year of the original release. |
||||||||
Record label (optional): | Disabled?> /> | ||||||||
Catalogue number (optional): |
Disabled?> />
Please double-check the record label and catalogue number when using MusicBrainz. See this guide for more details. |
||||||||
Release type: | Please take the time to fill this out properly. Need help? Try reading this wiki article or searching MusicBrainz. | ||||||||
Edition information: |
onclick="Remaster(); if ($this->NewTorrent) { ?> CheckYear(); } ?>" />
>
if (check_perms('edit_unknowns') || G::$LoggedUser['ID'] == $Torrent['UserID']) { ?>
onclick=" if ($this->NewTorrent) { ?>CheckYear(); } ?>ToggleUnknown();" /> } ?> if (!empty($GroupRemasters)) { ?> } ?>
|
||||||||
Scene: | /> | ||||||||
Format: | |||||||||
Bitrate: | > onchange="AltBitrate()" /> /> | ||||||||
Log files: |
Check your log files before uploading here. For multi-disc releases, click the "+" button to add multiple log files. + − |
||||||||
Multi-format uploader: | |||||||||
Vanity House: | |||||||||
Media: | |||||||||
Log/cue: |
/> /> } if ((check_perms('users_mod') || G::$LoggedUser['ID'] == $Torrent['UserID']) && ($Torrent['LogScore'] == 100 || $Torrent['LogScore'] == 99)) { G::$DB->query(' SELECT LogID FROM torrents_logs_new WHERE TorrentID = '.$this->TorrentID." AND Log LIKE 'EAC extraction logfile%' AND (Adjusted = '0' OR Adjusted = '')"); list($LogID) = G::$DB->next_record(); if ($LogID) { if (!check_perms('users_mod')) { ?> | ||||||||
Trumpable: | } ?> /> if (!check_perms('users_mod')) { ?> | ||||||||
Log score | |||||||||
Log adjustment reason |
Contains reason for adjusting a score. This field is displayed on the torrent page. |
||||||||
Bad tags: | /> | ||||||||
Bad folder names: | /> | ||||||||
Bad file names: | /> | ||||||||
Cassette approved: | /> | ||||||||
Lossy master approved: | /> | ||||||||
Lossy web approved: | /> | ||||||||
Tags: |
if ($GenreTags) { ?>
} ?>
=$this->Disabled?> />
Rules::display_site_tag_rules(true); ?> |
||||||||
Image (optional): | Disabled?> /> | ||||||||
Album description: |
Disabled)); ?>
Contains background information such as album history and maybe a review. |
||||||||
Release description (optional): |
Contains information like encoder settings or details of the ripping process. Do not paste the ripping log here. |
Author - Title: |
Should only include the author if applicable. |
Year: | |
Format: | |
Bitrate: | > onchange="AltBitrate()" /> /> |
Tags: | /> |
Image (optional): | Disabled?> /> |
Description: |
Contains information like the track listing, a review, a link to Discogs or MusicBrainz, etc. |
Release description (optional): |
Contains information like encoder settings. For analog rips, this frequently contains lineage information. |
Author - Title: | } else { ?>Title: | } ?>|
Tags: | /> | |
Image (optional): | Disabled?> /> | |
Description: |