torrents.php starting line 152 the last 2 lines are unchanged. replace everything between. after insertion, delete lines 248-266 inclusive function drawleftmenutorrents(&$session) { if (!isset($session->m_error) || (!$session->m_error)) { global $torrentvar; if ($torrentvar->m_found) { DrawTorrentInfoMenuBox(&$torrentvar); DrawTorrentTagsMenuBox(&$torrentvar); // BEGIN tubesite ?>
// END tubesite } else { drawTagSearchBox(&$session); } } } function drawTorrentMenubox(&$session) { global $torrentvar; $torrent_id = $torrentvar->m_torrentfields['torrentid']; // BEGIN DIRECT DOWNLOAD ADLINKS $directbytitle = str_replace(' ', '+', htmlspecialchars($torrentvar->m_torrentfields['torrentname'])); $directbytag = str_replace(' ', '+', $torrentvar->m_tagString); ?> // END DIRECT DOWNLOAD ADLINKS ?>