Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

TMDB from Gollum just work fine
Thanks Gollum :)
Thanks MM
Or maybe something like that:
//===| Start Similar Torrents |===//
begin_frame(T_("SIMILAR_TORRENTS"));

$searchname = substr($row['name'], 0, 10);
$query1 = str_replace(" ", ".", sqlesc("%" . $searchname . "%"));
$query2 = str_replace(".", " ", sqlesc("%" . $searchname . "%"));

$rc = SQL_Query_exec("SELECT id FROM torrents WHERE name LIKE {$query1} AND seeders > '0' AND id <> '$id' OR name LIKE {$query2} AND seeders > '0' AND id <> '$id'");
$count = mysqli_num_rows($rc);
$perpages = 10;
list($pagertop, $pagerbottom, $limit) = pager($perpages, $count, "torrents-details.php?id=$id&");

$r = SQL_Query_exec("SELECT
id,
name,
size,
added,
imdb,
genre,
rosub,
ensub,
roeng,
seeders,
leechers,
category,
external,
filename,
freeleech
FROM torrents
WHERE name LIKE {$query1} AND seeders > '0' AND id <> '$id'
OR name LIKE {$query2} AND seeders > '0' AND id <> '$id'
ORDER BY id DESC $limit");
   
if (mysqli_num_rows($r) > 0) {
if ($count > $perpages) { echo $pagertop; }
echo "<table width=100% class=table_table border=0 cellspacing=0 cellpadding=4>\n" . "
<tr>
<td class='table_head' width='1%' align='center'><b>".T_("TYPE")."</b></td>
<td class='table_head'><b>".T_("TORRENT_NAME")."</b></td>
<td class='ttable_head' align='center'><img src='images/down.png' border='0' title='".T_("T_DOWNLOAD")."'></td>
<td class='table_head' align='center'><img src='images/t-size.png' border='0' title='".T_("SIZE")."'></td>
<td class='table_head' align='center'><img src='images/t-date.png' border='0' title='".T_("ADDED")."'></td>
<td class='table_head' align='center'><img src='images/arrow_up.png' border='0' title='".T_("SEEDERS")."'></td>
<td class='table_head' align='center'><img src='images/arrow_down.png' border='0' title='".T_("LEECHERS")."'></td>";
if ($site_config["ALLOWEXTERNAL"]) {
echo "<td class='table_head' align='center'><img src='images/t_le.png' border='0' title='".T_("T_L_OR_E")."'></td>";
}
echo "</tr>\n";
   
while ($a = mysqli_fetch_assoc($r))
{
//==| Category
           $r2 = SQL_Query_exec("SELECT name, image, parent_cat FROM categories WHERE id=$a[category]");
           $a2 = mysqli_fetch_assoc($r2);
           $cat = "<img src='images/categories/".$a2['image']."' alt='".$a2['name']."' title='".$a2['parent_cat']." - ".$a2['name']."'>";

//==| Bookmark Torrents
$bookt = SQL_Query_exec("SELECT torrentid FROM bookmarks WHERE torrentid = $id AND userid = $CURUSER[id]");
if (mysqli_num_rows($bookt) > 0) { $bookmark = "<a href='takedelbookmark.php?bookmarkid=".$row[id]."'><img src='images/bookmark_delete.png' border='0' title='".T_("T_DELETE_BOOKMARK")."'></a>"; }
else { $bookmark = "<a href='bookmarks.php?torrent=$id'><img src='images/bookmark.png' border='0' title='".T_("T_ADD_BOOKMARK")."'></a>"; }

//==| Free Leech Torrents
if ($a["freeleech"] == 1 && $a["external"] != "yes") { $freeleech = "<img src='images/free.png' border='0' title='".T_("T_FREE_LEECH")."'>"; } else { $freeleech = ""; }

//==| Subtitles
if ($a["rosub"] == "yes") { $rosub = "<img src='images/rosub.png' border='0' title='".T_("ROSUBBED")."'>"; } else { $rosub = ""; }
if ($a["ensub"] == "yes") { $ensub = "<img src='images/flag.eng.gif' border='0' title='".T_("ENSUBBED")."'>"; } else { $ensub = ""; }
if ($a["roeng"] == "yes") { $roeng = "<img src='images/ro-eng-flag.png' border='0' title='".T_("ROENGSUBBED")."'>"; } else { $roeng = ""; }

//==| IMDB Link
if (!empty($a["imdb"])) { $imdb = "<a href=".$a["imdb"]." target='blank'><img src='images/imdb.png' border='0' title='".T_("T_IMDB")."'></a>"; } else { $imdb = ""; }

//==| Torrents Genre
if (!empty($a["genre"])) { $genre = "&nbsp;".T_("GENRE").": ".$a["genre"].""; } else { $genre = ""; }

//==| Local/External Torrent
if ($site_config["ALLOWEXTERNAL"]) {
if ($a["external"]=='yes') { $external = "<img src='images/t_extern.png' border='0' title='".T_("T_EXTERNAL_TORRENT")."'>"; }
else { $external = "<img src='images/t_local.png' border='0' title='".T_("T_LOCAL_TORRENT")."'>"; }
}

$char1 = 50; // cut name length
$smallname = htmlspecialchars(CutName($a["name"], $char1));
$dispname = "<b>".$smallname."</b>";

echo"<tr>";
echo"<td class='table_col2' align='center'>$cat</td>";
echo"<td class='table_col2'>$bookmark <a href=\"javascript: klappe_torrent('t".$a['id']."')\"></a><a title=\"".$a["name"]."\" href=\"torrents-details.php?id=$a[id]&hit=1\">$dispname</a> $freeleech $rosub $ensub $roeng<div style=margin-top:3px>$imdb $genre</div></td>";
echo"<td class='ttable_col2' align='center'><a href=\"download.php?id=".$a['id']."&name=".rawurlencode($a["filename"])."\"><img src='images/icon_down.png' border='0' title=\"".T_("T_DOWNLOAD_TORRENT")."\" /></a></td>";
echo"<td class='table_col1' align='center'>".mksize($a[size])."</td>";
echo"<td class='table_col2' align='center'>".date("<\\b>d.M.Y<\\/\\b><\\b\\r>H:i", utc_to_tz_time($a[added]))."</td>";
echo"<td class='table_col1' align='center'><font color='#00BA00'><b>".$a['seeders']."</b></font></td>";
echo"<td class='table_col2' align=center><font color='#FF0000'><b>".$a['leechers']."</b></font></td>";
if ($site_config["ALLOWEXTERNAL"]) {
echo "<td class='table_col1' align='center'>".$external."</td>";
}
echo"</tr>\n";
}
echo "</table>";
     
   }
else {
print(T_("NOTHING_FOUND"));
}
end_frame();
//===| End Similar Torrents |===//
elipso use this announce.php and i think also will be greath
SQL injection patch :) — 2023-01-19 22:30:07 in v3 Support
function detect_sqlinjection($query)  {
       $query = preg_replace("#(\\\'|\\\")#si", "", $query);
       $query = preg_replace("#'(.*?)'#si", "", $query);
       if (preg_match("#(UNION|INTO\sOUTFILE|INTO\sDUMPFILE|LOAD_FILE\s\((.*?)\)|BENCHMARK\s\((.*?)\)|\<\?php(.*?)\?\>|USER\s\((.*?)\)|DATABASE\s\((.*?)\)|\#|\-\-|\\\\*(.*?)\*\\\)#si", $query))
die("SQL Injection DETECTED! HA-HA!");
}
New_Theme — 2023-01-13 23:42:14 in v3 Themes
New Theme for you guys. Works with version TT V3
Еnjoy it :)
editing torrents — 2023-01-13 23:04:23 in v2.08 Support
Thanks Botanicar, STorrents2020 and M-jay. Thanks for your answers
Also a very good torrent editing program online is http://torrenteditor.com/
This is probably the best and only editing program online. It's been there for 10 years, but hackers ruined it, now it's working again.
Awesome online torrents editor. Use it guys :)
Maybe I didn't express myself correctly or you didn't understand me.  :)

STorrents2020 I don't see where in your code the peers will be updated automatically when you entered the torrent details.
Hello guys, I want to ask if it is possible to do something like this.
When you enter the torrent details will automatically update the external peers, if the torrent is external of course
All torrents is red — 2022-10-10 21:19:33 in General Chat
The problem is here
isset($_SERVER['HTTP_COOKIE'])

Tracker sending invalid data: <NULL>
"doesn't have a default value"  is problem in your MySQL server strict mode.
View in your phpmyadmin menu Variables and then scroll down to sql mode and change to NO_ENGINE_SUBSTITUTION
Blank coment — 2022-05-30 16:45:46 in v3 Support
Thank you very much guys
Blank coment — 2022-05-29 23:48:42 in v3 Support
Hi M-jay, I want to ask you how I can change the code of the site so that users can not leave blank comments

Thanks in advance bro
Help — 2022-05-22 21:56:53 in v3 Support
Help M-jay, when i upload internal torrent and error Parser Error: Error Opening torrent.
With external also fine
MicroMonkey:
Does this get trailers also?


Yes MM, get trailers also
Thanks Gollum works great
----------------------------------------------
Merci Gollum marche très bien


Subtitles ? — 2021-12-07 23:05:32 in v3 Support
For the first time I disagree with you guys not everyone understands English to think about how to make it easier
Maybe it is possible to add a field ??
Field in which to add a link to the subtitles
What do you think?
Upgrade TTV3 to php8 — 2021-11-17 22:46:57 in v3 Support
Hi Micromoncey,
I know this is very difficult but I will still ask you what is needed and what needs to be done to upgrade the TTV.3MySQLi to the PHP8 version
announce — 2021-11-08 20:23:08 in v3 Support
That is
announce — 2021-11-08 18:27:17 in v3 Support
Yep i maded this but now error is
announce — 2021-11-08 14:31:35 in v3 Support
Hi guys what does that mean 'invalid gzip header' and announce doesn't work


Regards
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728