TS3 server has a new IP, read here for more info (only available to TDA members)
$feedurl = "http://feeds.warhammeronline.com/warherald/RSSFeed.war?type=current";if(!$xml=simplexml_load_file($feedurl)){ echo 'Error reading RSS file';}foreach($xml->channel->item as $news) { echo '<a href="'.$news->link.'" target="_blank">'.$news->title.'</a> - '; echo '<small>'.strftime("%d %b",strtotime($news->pubDate)).'</small><br />';}
$feedurl = "http://feeds.warhammeronline.com/warherald/RSSFeed.war?type=current";if(!$xml=simplexml_load_file($feedurl)){ echo 'Error reading RSS file';}echo '<ul style="list-style-position:inside;margin:0;padding:0;">';foreach($xml->channel->item as $news) { echo '<li style="padding-bottom:5px;"><a href="'.$news->link.'" target="_blank">'.$news->title.'</a> - '; echo '<small>'.strftime("%d %b",strtotime($news->pubDate)).'</small></li>';}echo '</ul>';
$feedurl = "http://www.war-europe.com/syndic_proc/rss/guest/en/rss.xml";
$feedurl1 = "http://feeds.warhammeronline.com/warherald/RSSFeed.war?type=current";$feedurl2 = "http://www.war-europe.com/syndic_proc/rss/guest/en/rss.xml";$limit = 4;function displaynews($title, $xml, $counter = 0) { $newsdata = '<b>'.$title.'</b>'; $newsdata .= '<ul style="list-style-position:inside;margin:0;padding:0;">'; foreach($xml->channel->item as $news) { if($counter < 4) { $newsdata .= '<li style="padding-bottom:5px;"><a href="'.$news->link.'" target="_blank">'.$news->title.'</a> - '; $newsdata .= '<small>'.strftime("%d %b",strtotime($news->pubDate)).'</small></li>'; } $counter++; } $newsdata .= '</ul>'; return $newsdata;}if(!$xml1=simplexml_load_file($feedurl1)){ echo 'Error reading US News file<br />';} if($xml1) { echo displaynews("US News", $xml1);}if(!$xml2=simplexml_load_file($feedurl2)){ echo 'Error reading EU News file<br />';}if($xml2) { echo displaynews("EU News", $xml2);}
<?phpphpinfo();?>
SimplePortal up and running ! Any news suggestions you have, just create a thread and PM me about it. Edit: If you can't find the forum again.. click on "Forum" at top, or follow this link: http://tda.nu/forum/index.php?action=forum