// This class is used in upload.php to display the upload form, and the edit // section of torrents.php to display a shortened version of the same form class TorrentForm { var $UploadForm = ''; var $Categories = []; #var $Formats = []; #var $Bitrates = []; var $Media = []; #var $MediaManga = []; var $Containers = []; #var $ContainersGames = []; var $Codecs = []; var $Resolutions = []; #var $AudioFormats = []; #var $Subbing = []; #var $Languages = []; #var $Platform = []; var $NewTorrent = false; var $Torrent = []; var $Error = false; var $TorrentID = false; var $Disabled = ''; var $DisabledFlag = false; function __construct($Torrent = false, $Error = false, $NewTorrent = true) { $this->NewTorrent = $NewTorrent; $this->Torrent = $Torrent; $this->Error = $Error; global $UploadForm, $Categories, $Media, $TorrentID, $Containers, $Codecs, $Resolutions, $Archives; #global $UploadForm, $Categories, $Formats, $Bitrates, $Media, $MediaManga, $TorrentID, $Containers, $ContainersGames, $Codecs, $Resolutions, $AudioFormats, $Subbing, $Languages, $Platform, $Archives, $ArchivesManga; $this->UploadForm = $UploadForm; $this->Categories = $Categories; #$this->Formats = $Formats; #$this->Bitrates = $Bitrates; $this->Media = $Media; #$this->MediaManga = $MediaManga; $this->Containers = $Containers; #$this->ContainersGames = $ContainersGames; $this->Codecs = $Codecs; $this->Resolutions = $Resolutions; #$this->AudioFormats = $AudioFormats; #$this->Subbing = $Subbing; #$this->Languages = $Languages; $this->TorrentID = $TorrentID; #$this->Platform = $Platform; $this->Archives = $Archives; #$this->ArchivesManga = $ArchivesManga; if ($this->Torrent && $this->Torrent['GroupID']) { $this->Disabled = ' readonly="readonly"'; $this->DisabledFlag = true; } } function head() { G::$DB->query(" SELECT COUNT(ID) FROM torrents WHERE UserID = ?", G::$LoggedUser['ID']); list($Uploads) = G::$DB->next_record(); ?>
If you would like to use your own torrent file, add the following to it:
$Announces = call_user_func_array('array_merge', ANNOUNCE_URLS);
foreach ($Announces as $Announce) {
?>
Announce:
} ?>
Source:
Otherwise, add none of it and simply redownload the torrent file after uploading it. All of the above data will be added to it by the site.
>
If you never have before, be sure to read this list of uploading pitfalls
'.$this->Error."
\n"; } ?>Accession Number | Disabled?>/> if (!$this->DisabledFlag) { ?> } ?> |
AniDB Autofill (optional) | Disabled?>/> if (!$this->DisabledFlag) { ?> } ?> |
e-hentai URL (optional) | Disabled?> /> if (!$this->DisabledFlag) { ?> } ?> |
Sequence Name | Disabled?>/> |
Organism | Disabled?>/> |
Strain/Variety | Disabled?>/> |
Collaborator(s) | if (!empty($Torrent['Artists'])) { foreach ($Torrent['Artists'] as $Num => $Artist) { ?> Disabled?>/> if ($Num == 0) { ?> + − } } } else { ?> Disabled?> /> + − } ?> |
Department/Lab | Disabled?>/> |
Location | Disabled?>/> |
Year | Disabled?>/> |
Platform | |
Archive | |
Format | |
License | |
Assembly Level | |
Tags | $GenreTags = G::$Cache->get_value('genre_tags'); if (!$GenreTags) { $DB->query(" SELECT Name FROM tags WHERE TagType = 'genre' ORDER BY Name"); $GenreTags = $DB->collect('Name'); G::$Cache->cache_value('genre_tags', $GenreTags, 3600*6); } ?> /> |
Picture | Disabled?> /> |
Publications |
Enter up to 10 links to studies for the torrent, one per line. The system will automatically remove malformed or invalid links, as well as any links after the 10th. Remember to consult the rules for adding publications. |
Torrent Group Description | DisabledFlag, !$this->DisabledFlag, false, array($this->Disabled)); ?> |
Torrent Description (optional) | |
Upload Anonymously | /> |