Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #11  
Old 18th March 2011, 13:41
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
is a misstype ;)
Code:
 /*
+--------------------------------------------------------------------------
|   Fouini auto free
+---------------------------------------------------------------------------
*/
 $q = mysql_query("SELECT size FROM torrents WHERE id = $id");
    if (mysql_num_rows($q) > 0)
    {
        $rf = mysql_fetch_array($q);
  if ($rf["size"] >= 16106127360)     /* x2 15Go ;)*/
        {
            mysql_query("UPDATE torrents SET doubleupload = 'yes' WHERE id = $id");
  }else{        
    }
        if ($rf["size"] >= 4294967296)     /* free 4Go ;)*/
        {
            mysql_query("UPDATE torrents SET free = 'yes' WHERE id = $id");
        }else{
        if ($rf["size"] >= 1073741824)   /* silver 1Go ;)*/
           mysql_query("UPDATE torrents SET silver = 'yes' WHERE id = $id");
        }
    }
Reply With Quote
  #12  
Old 19th March 2011, 08:37
nikosuk's Avatar
nikosuk nikosuk is offline
Senior Member
 
Join Date: Mar 2008
P2P
Posts: 59
Default
now it is better ..:)

thank you so much
keep up the good work
Reply With Quote
  #13  
Old 5th March 2012, 16:20
Miguika Miguika is offline
Senior Member
 
Join Date: May 2010
Spain
Posts: 16
Default
it's possible adapt to "Set Random Golden torrents" ?
Reply With Quote
Reply

Tags
freeleech , size , sort , torrents

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 23:12. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.