|
#1
|
|||
|
|||
[ttplugin_mod]TorrentFreak.php
CODE:: Code:
<?php /* * TorrentTrader Bittorrent News. * http://www.torrenttrader.org * By djhowarth. */ set_time_limit(0); require_once("backend/functions.php"); dbconn(); loggedinonly(); stdhead("Bittorrent News"); begin_frame("Bittorrent News"); echo ' <iframe src="http://www.torrentfreak.com/Torrentfreak/" width="540" height="3590"></iframe>'; /* $news = array(); foreach ($feed->channel->item as $item) { $news[] = array( 'title' => htmlspecialchars($item->title), 'date' => date("Y-m-d H:i:s", strtotime($item->pubDate)), 'link' => htmlspecialchars($item->link), 'description' => strip_tags($item->description) ); } foreach ($news as $array) { print(" <b><a href='" . $array["link"] . "'>". $array["title"] . "</a></b></a> - <B>Posted:</B> " . $array["date"] . "<br />"); print($array["description"]." <BR><BR>"); } */ print("<br /><center><a href='http://www.scenekat.info'>Powered By SceneKat</a></center>"); end_frame(); stdfoot(); ?> |
|
|