tells me on browse.php
PHP Code:
$res1 = mysql_query("SELECT torrents.id, torrents.size, torrents.name, torrents.filename, torrents.poster, torrents.leechers, torrents.seeders, torrents.times_completed, torrents.owner, users.username AS username, users.class AS class FROM torrents INNER JOIN users ON torrents.owner = users.id WHERE torrents.recommend='yes' ORDER BY torrents.times_completed DESC LIMIT 3"); if (mysql_num_rows($res1) > 0) { begin_frame("Recommend Torrent",true,5); while ($arr1 = mysql_fetch_assoc($res1)) { $dispname = htmlspecialchars(trim($arr1["name"])); $count_dispname=strlen($dispname); $max_lenght_of_torrent_name="15"; // maximum lenght if($count_dispname > $max_lenght_of_torrent_name){ $short_torrent_name_alt="title=\"$dispname \""; $dispname=substr($dispname, 0, $max_lenght_of_torrent_name) . "..."; }else $short_torrent_name_alt="$dispname"; echo "
[IMG]http://212.233.212.154/%5C%22$arr1%5Bposter%5D%5C%22[/IMG]
$dispname
Seed ($arr1[seeders]) Leech ($arr1[leechers]) Snatched ($arr1[times_completed])
Size: ".mksize($arr1['size'])."
Upped by: ".$arr1['username']."
" . "Download Torrent" . "