PHP Code:
$res = sql_query("SELECT id, banned, seeders + leechers AS numpeers, UNIX_TIMESTAMP(added) AS ts, freeleech, vip
FROM torrents
WHERE " . hash_where("info_hash", $info_hash));
PHP Code:
$freeleech = $torrent["freeleech"];
$vip = $torrent["vip"];
PHP Code:
if ($freeleech == 'yes') $downthis = 0;
if ($vip == 'yes') $downthis = 0;