Your test.php is messed up. You have two "DEFINE IMPORTANT CONSTANTS" sections, two "DEFINE IMPORTANT CONSTANTS" sections, etc. You need to put them all together into one (and then get rid of the duplicate stuff you have).
But, besides that, what I was talking about is under (the second) MAIN SCRIPT area, you have this:
PHP Code:
$navbits = array();
$navbits[$parent] = 'Test Page';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('TEST') . '");');
// ### TODAY'S BIRTHDAYS ##################
all the other index.php script here.
You need to have the eval of the TEST template at the bottom of the page:
PHP Code:
// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTTA HERE... ###
eval('print_output("' . fetch_template('TEST') . '");');
And, as I also said above, you don't want FORUMHOME in there, you wanted to replace all instances of FORUMHOME with TEST, so either move the eval of TEST as I said here (and remove the eval of FORUMHOME), or replace FORUMHOME with TEST.