Credits to r63 from TBDev
requirements: GD Graphics Library installed
torrent-details.php & find
Code:
print ("<B>" . LEECH . ": </b><img src=\"".$site_config["SITEURL"]."/images/leechers.gif\" border=\"0\"><font color=red>" . $row["leechers"] . "</font><BR>");
after add
Code:
if ($row["leechers"]+$row["seeders"] == 0) {
Code:
$statistics = "Not available!";
}
else {
$statistics = "<img src=stats.php?id=".$row["id"].">";
}
find
Code:
print("<tr><td align=left><b>" . VIEWS . ":</b></td><td>" . $row["views"] . "</td></tr>\n");
add after
Code:
print("<tr><td align=left><b>Statistics:</b></td><td>$statistics</td></tr>\n");
or wherever you want to show. i have youtube added so mine is place below youtube
extract rar and place in backened
place stats.php into root