Seeders_wanted_mod
sqlesc required?! Just asking as scanning through blocks.php
Code:
if($CURUSER) |
hello
create name this seedwanted_block.php into folder blocks Get("seedwanted_block", $expires)) === false) { $res = SQL_Query_exec("SELECT id, name, seeders, leechers FROM torrents WHERE seeders = 0 AND leechers > 0 AND banned = 'no' AND ".sqlesc($external)." ORDER BY leechers DESC LIMIT 5"); $rows = array(); while ($row = mysqli_fetch_assoc($res)) { $rows[] = $row; } $TTCache->Set("seedwanted_block", $rows, $expires); } if (!$rows) { echo " ".T_("NOTHING_FOUND")." "; } else { echo "
|
Thank You :gum:
|
All times are GMT +2. The time now is 05:53. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.