You can do this, place the following:
PHP Code:
$gettemplate = $DB_site->query_first("SELECT title,template FROM template WHERE title='adminnews'");
$info=$gettemplate['template'];
echo "$info";
After this:
PHP Code:
makenavoption("Add","announcement.php?action=add","|");
makenavoption("Modify","announcement.php?action=modify");
makenavselect("Announcements");
And if i have made a template named
adminnews with:
Hello there admin!
Then it display
hello there admin on the page!