|
|
|
|
97
|
<? if (!$this->NewTorrent) { ?>
|
97
|
<? if (!$this->NewTorrent) { ?>
|
98
|
<input type="hidden" name="action" value="takeedit" />
|
98
|
<input type="hidden" name="action" value="takeedit" />
|
99
|
<input type="hidden" name="torrentid" value="<?=display_str($this->TorrentID)?>" />
|
99
|
<input type="hidden" name="torrentid" value="<?=display_str($this->TorrentID)?>" />
|
100
|
- <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID'])?>" />
|
|
|
|
|
100
|
+ <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID']-1)?>" />
|
101
|
<?
|
101
|
<?
|
102
|
} else {
|
102
|
} else {
|
103
|
if ($this->Torrent && $this->Torrent['GroupID']) {
|
103
|
if ($this->Torrent && $this->Torrent['GroupID']) {
|
104
|
?>
|
104
|
?>
|
105
|
<input type="hidden" name="groupid" value="<?=display_str($this->Torrent['GroupID'])?>" />
|
105
|
<input type="hidden" name="groupid" value="<?=display_str($this->Torrent['GroupID'])?>" />
|
106
|
- <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID'])?>" />
|
|
|
|
|
106
|
+ <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID']-1)?>" />
|
107
|
<?
|
107
|
<?
|
108
|
}
|
108
|
}
|
109
|
if ($this->Torrent && $this->Torrent['RequestID']) {
|
109
|
if ($this->Torrent && $this->Torrent['RequestID']) {
|