View Single Post
  #5  
Old 22nd October 2008, 14:45
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
PHP Code:
if ($az["class"] < UC_USER)
        {
        
$gigs $az["uploaded"] / (1024*1024*1024);
        
$elapsed floor((gmtime() - $torrent["ts"]) / 3600);
        
$ratio = (($az["downloaded"] > 0) ? ($az["uploaded"] / $az["downloaded"]) : 1);
        if (
$ratio 0.5 || $gigs 5$wait 1;
        elseif (
$ratio 0.65 || $gigs 6.5$wait 0.75;
        elseif (
$ratio 0.8 || $gigs 8$wait 0.5;
        elseif (
$ratio 0.95 || $gigs 9.5$wait 0.25;
        else 
$wait 0;
        if (
$elapsed $wait)
        
err("Not authorized (" . ($wait $elapsed) . "h) - READ THE FAQ!"); 
to

PHP Code:
if ($az["class"] < UC_USER)
        {
        
$gigs $az["uploaded"] / (1024*1024*1024);
        
$elapsed floor((gmtime() - $torrent["ts"]) / 3600);
        
$ratio = (($az["downloaded"] > 0) ? ($az["uploaded"] / $az["downloaded"]) : 1);
        if (
$ratio 0.5 || $gigs 5$wait 0;
        elseif (
$ratio 0.65 || $gigs 6.5$wait 0;
        elseif (
$ratio 0.8 || $gigs 8$wait 0;
        elseif (
$ratio 0.95 || $gigs 9.5$wait 0;
        else 
$wait 0;
        if (
$elapsed $wait)
        
err("Not authorized (" . ($wait $elapsed) . "h) - READ THE FAQ!"); 
Reply With Quote