Thread: TTL
View Single Post
  #2  
Old 12th July 2012, 18:16
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Default
Thats because your no removing it correctly. First remove the html column :

PHP Code:
<td class='colhead' align='center'>{$lang["torrenttable_ttl"]}</td
Find this :

PHP Code:
$ttl = (28*24) - floor((time() - $row["added"]) / 3600);                  
if (
$ttl == 1)                     
$ttl .= "<br />".$lang["torrenttable_hour_singular"]."";                  
else                     
$ttl .= "<br />".$lang["torrenttable_hour_plural"]."";          
$htmlout .= "<td align='center'>$ttl</td>\n<td align='center'>" str_replace(" ""<br />"mksize($row["size"])) . "</td>\n"
Becomes :

PHP Code:
$htmlout .= "<td align='center'>" str_replace(" ""<br />"mksize($row["size"])) . "</td>\n"
You will have a html column head or a row head with the name of the data shown then the php will be next with the code to grab that data and display it to the user. That may be a while loop or a single row makes no odds its the same shit every time.
Reply With Quote