= $movetorrent_class) $allowmove = true; //enable moving torrent to other section else $allowmove = false; $sectionmode = $row['cat_mode']; if ($sectionmode == $browsecatmode) { $othermode = $specialcatmode; $movenote = $lang_edit['text_move_to_special']; } else { $othermode = $browsecatmode; $movenote = $lang_edit['text_move_to_browse']; } $showsource = (get_searchbox_value($sectionmode, 'showsource') || ($allowmove && get_searchbox_value($othermode, 'showsource'))); //whether show sources or not $showmedium = (get_searchbox_value($sectionmode, 'showmedium') || ($allowmove && get_searchbox_value($othermode, 'showmedium'))); //whether show media or not $showcodec = (get_searchbox_value($sectionmode, 'showcodec') || ($allowmove && get_searchbox_value($othermode, 'showcodec'))); //whether show codecs or not $showstandard = (get_searchbox_value($sectionmode, 'showstandard') || ($allowmove && get_searchbox_value($othermode, 'showstandard'))); //whether show standards or not $showprocessing = (get_searchbox_value($sectionmode, 'showprocessing') || ($allowmove && get_searchbox_value($othermode, 'showprocessing'))); //whether show processings or not $showteam = (get_searchbox_value($sectionmode, 'showteam') || ($allowmove && get_searchbox_value($othermode, 'showteam'))); //whether show teams or not $showaudiocodec = (get_searchbox_value($sectionmode, 'showaudiocodec') || ($allowmove && get_searchbox_value($othermode, 'showaudiocodec'))); //whether show audio codecs or not stdhead($lang_edit['head_edit_torrent'] . "\"". $row["name"] . "\""); if (!isset($CURUSER) || ($CURUSER["id"] != $row["owner"] && get_user_class() < $torrentmanage_class)) { print("

".$lang_edit['text_cannot_edit_torrent']."

"); print("

".$lang_edit['text_cannot_edit_torrent_note']."

"); } else { print("
"); print(""); if (isset($_GET["returnto"])) print(""); print("\n"); print(""); tr($lang_edit['row_torrent_name']."*", "", 1); if ($smalldescription_main == 'yes') tr($lang_edit['row_small_description'], "", 1); get_external_tr($row["url"]); if ($enablenfo_main=='yes') tr($lang_edit['row_nfo_file'], "".$lang_edit['radio_keep_current']. "".$lang_edit['radio_remove']. "".$lang_edit['radio_update']."
", 1); print(""); $s = "\n"; if ($allowmove){ $s2 = "\n"; $movecheckbox = ""; } tr($lang_edit['row_type']."*", $s.($allowmove ? "  ".$movecheckbox.$movenote.$s2 : ""), 1); if ($showsource || $showmedium || $showcodec || $showaudiocodec || $showstandard || $showprocessing){ if ($showsource){ $source_select = torrent_selection($lang_edit['text_source'],"source_sel","sources",$row["source"]); } else $source_select = ""; if ($showmedium){ $medium_select = torrent_selection($lang_edit['text_medium'],"medium_sel","media",$row["medium"]); } else $medium_select = ""; if ($showcodec){ $codec_select = torrent_selection($lang_edit['text_codec'],"codec_sel","codecs",$row["codec"]); } else $codec_select = ""; if ($showaudiocodec){ $audiocodec_select = torrent_selection($lang_edit['text_audio_codec'],"audiocodec_sel","audiocodecs",$row["audiocodec"]); } else $audiocodec_select = ""; if ($showstandard){ $standard_select = torrent_selection($lang_edit['text_standard'],"standard_sel","standards",$row["standard"]); } else $standard_select = ""; if ($showprocessing){ $processing_select = torrent_selection($lang_edit['text_processing'],"processing_sel","processings",$row["processing"]); } else $processing_select = ""; tr($lang_edit['row_quality'], $source_select . $medium_select . $codec_select . $audiocodec_select. $standard_select . $processing_select, 1); } if ($showteam){ if ($showteam){ $team_select = torrent_selection($lang_edit['text_team'],"team_sel","teams",$row["team"]); } else $showteam = ""; tr($lang_edit['row_content'],$team_select,1); } tr($lang_edit['row_check'], " ".$lang_edit['checkbox_visible']."   ".(get_user_class() >= $beanonymous_class || get_user_class() >= $torrentmanage_class ? "".$lang_edit['checkbox_anonymous_note']."   " : "").(get_user_class() >= $torrentmanage_class ? " ".$lang_edit['checkbox_banned'] : ""), 1); if (get_user_class()>= $torrentsticky_class || (get_user_class() >= $torrentmanage_class && $CURUSER["picker"] == 'yes')){ $pickcontent = ""; if(get_user_class()>=$torrentsticky_class) { $pickcontent .= "".$lang_edit['row_special_torrent'].": "."   "; $pickcontent .= "".$lang_edit['row_torrent_position'].": "."   "; } if(get_user_class()>=$torrentmanage_class && $CURUSER["picker"] == 'yes') { $pickcontent .= "".$lang_edit['row_recommended_movie'].": ".""; } tr($lang_edit['row_pick'], $pickcontent, 1); } print("\n"); print("
".htmlspecialchars($row["name"])."
".$lang_edit['row_description']."*"); textbbcode("edittorrent","descr",($row["descr"]), false); print("
\n"); print("
\n"); print("

"); print("
\n"); print("\n"); if (isset($_GET["returnto"])) print("\n"); print("\n"); print(""); tr(" ".$lang_edit['radio_dead'], $lang_edit['text_dead_note'], 1); tr(" ".$lang_edit['radio_dupe'], "", 1); tr(" ".$lang_edit['radio_nuked'], "", 1); tr(" ".$lang_edit['radio_rules'], "".$lang_edit['text_req'], 1); tr(" ".$lang_edit['radio_other'], "".$lang_edit['text_req'], 1); print("\n"); print("
".$lang_edit['text_delete_torrent']."
"); print("
\n"); } stdfoot();