This hack will add the other torrent pages to index.php as it is in torrents.php
open index.php
find:
thats it tested and working on V2.03
screen:
open index.php
find:
begin_frame("Latest Torrents");add below://Get Total For Pager
$res = mysql_query("SELECT COUNT(*) FROM torrents WHERE visible='yes'") or die(mysql_error());
$row = mysql_fetch_array($res);
$count = $row[0];
find:
if ($site_config["MEMBERSONLY"] && !$CURUSER) {
echo "<BR><BR><b><CENTER>You Are Not Logged In<br>Only Members Can View Torrents Please Login or Signup.</CENTER><BR><BR>";
} else {
change to:
if ($site_config["MEMBERSONLY"] && !$CURUSER) {
echo "<BR><BR><b><CENTER>You Are Not Logged In<br>Only Members Can View Torrents Please Login or Signup.</CENTER><BR><BR>";
} elseif ($count) {
list($pagertop, $pagerbottom, $limit) = pager(20, $count, "torrents.php?");
find:
if (mysql_num_rows($res)) {
torrenttable($res);
replace with:
if ($count) {
torrenttable($res);
print($pagerbottom);thats it tested and working on V2.03
screen: