PHP Code:
<?php
/*İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ
İ Rss Torrentfreak by Fouini İ
İİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİİ*/
require_once('global.php');
gzip();
dbconn(true);
loggedinorreturn(true);
maxsysop();
is_mod();
define ('UL_VERSION', '1.1 by xam');
stdhead ();
$htmlout='';
$use_limit = true;
$limit = 15;
$xml = file_get_contents('http://feed.torrentfreak.com/Torrentfreak/');
preg_match_all('/\<(title|pubDate|dc:creator|link|description)\>(.+?)\<\/\\1\>/i',$xml,$out,PREG_PATTERN_ORDER);
$feeds = $out[2];
$c = count($feeds);
$html = begin_table (true);
for($i=5;$i<$c;$i+=5) {
$html .= '<h3><u>'.$feeds[$i].'</u></h3><font class="small">by '.$feeds[$i+3].' on '.$feeds[$i+2].'</font><br/><p>'.str_replace(array('<![CDATA[',']]>'),'',$feeds[$i+4]).'</p><br/><a href="'.$feeds[$i+1].'" target="_blank"><font class="small">Read more</font></a>';
if($use_limit && $i >= ($limit*5))
break;
}
echo $html ;
end_table ();
stdfoot();
?>