View Single Post
  #3  
Old 3rd September 2008, 02:48
Grom's Avatar
Grom Grom is offline
Senior Member
 
Join Date: Aug 2008
Posts: 73
Default
functions.php
PHP Code:
function torrenttable($res) {
  global 
$site_config$CURUSER$THEME$LANGUAGE;  //Define globals

  
if ($site_config["MEMBERSONLY_WAIT"] && $site_config["MEMBERSONLY"] && in_array($CURUSER["class"], explode(",",$site_config["WAIT_CLASS"]))){
    
$gigs $CURUSER["uploaded"] / (1024*1024*1024);
    
$ratio = (($CURUSER["downloaded"] > 0) ? ($CURUSER["uploaded"] / $CURUSER["downloaded"]) : 0);
    if (
$ratio || $gigs 0$wait $site_config["WAITA"];
    elseif (
$ratio $site_config["RATIOA"] || $gigs $site_config["GIGSA"]) $wait $site_config["WAITA"];
    elseif (
$ratio $site_config["RATIOB"] || $gigs $site_config["GIGSB"]) $wait $site_config["WAITB"];
    elseif (
$ratio $site_config["RATIOC"] || $gigs $site_config["GIGSC"]) $wait $site_config["WAITC"];
    elseif (
$ratio $site_config["RATIOD"] || $gigs $site_config["GIGSD"]) $wait $site_config["WAITD"];
    else 
$wait 0;
  }
  
?>
  <table align=center cellpadding="0" cellspacing="0" class="ttable_headinner" width=99%> 
and change code width
PHP Code:
<table align=center cellpadding="0" cellspacing="0" class="ttable_headinner" width=99%> 
and edit
your theme css
Reply With Quote