I am adding in a new defined code to show an extra feed (with a php include for news).
The code I have is:
PHP Code:
function getextrafeed(){
include("config.php");
//tada, let's show some news & quick links
$extrafeed = "<table border='0' cellpadding='2' cellspacing='5'><tr><td><?php include('news.php');?></td><td><a href='adopt.php'><img src='http://i46.tinypic.com/wisp51.jpg' border='0' alt='Adopt' title='Adopt' /></a> <a href='profile.php?user=".$loggedinname."'><img src='http://i46.tinypic.com/315e4r6.jpg' border='0' alt='Your Grimoire' title='Your Grimoire' /></a> <a href='pages.php?page=donate'><img src='http://i50.tinypic.com/28ixqbs.jpg' border='0' alt='Donate' title='Donate' /></a></td></tr></table>";
return $extrafeed;
}
Now how do I get it to show in the template, I tried :EXTRAFEED: as a shortcut, but haven't got it to show yet.