Home :: Latest files'; echo '

Last 10 added torrents per category


'; foreach ($catt as $catval) { $result = mysql_query("SELECT * FROM torrents LEFT JOIN categories ON torrents.subcat = categories.subid WHERE maincat = '$catval' ORDER BY added DESC LIMIT 10") or die (mysql_error()); if (mysql_num_rows($result) == 0) { } else { echo '

'.$catnamet[$catval].'

'; echo ''; while ($row = mysql_fetch_array($result)) { extract($row); echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
CategoryDateFilenameSizeSeedsPeers
'.$name.''.substr($added,-9).'[d] '.regicon($registration,$tracker).' '.desc($description).''.$torrentname.''.torsize($size).''.getpeer($seeds).''.getpeer($peers).'

'; } } footer(); ?>