Unfortunately, no

The thing is, it pulls the <BODY> tag through ok, everything except for $header and $footer...??
This is the full content of my file:
PHP Code:
<?php
error_reporting(7);
$templatesused='metaltours_quickgigs, metaltours_quickgigbits';
chdir('/usr/mahke/public_html/forum/');
require('global.php');
$style=$DB_site->query_first("SELECT templatesetid,replacementsetid FROM style WHERE styleid='6'");
//get template set and replacement set details
$templatesetid=$style['templatesetid'];
$replacementsetid=$style['replacementsetid'];
// BY MARK get latest gigs
$events = $DB_site->query("SELECT eventid, DATE_FORMAT(eventdate,'%M %d') AS gigdate, eventdate, event, subject, location, country FROM calendar_events WHERE public='1' AND eventdate >= '".vbdate('Y-m-d',time())."' ORDER BY eventdate LIMIT 25");
while ($gig = $DB_site->fetch_array($events) and ++$bgcounter) {
$bgcolor = iif($bgcounter%2==0, '{firstaltcolor}', '{secondaltcolor}');
$gigid = $gig['eventid'];
$gigdate = $gig['gigdate'];
$giginfo = $gig['event'];
$gigband = "<a href=$bburl/shows.php?s=&action=getinfo&eventid=" . $gig['eventid'] . ">" .
$gig['subject'] . "</a>";
$gigcity = $gig['location'];
$gigcountry = $gig['country'];
eval("\$gigbits .= \"".gettemplate("metaltours_quickgigbits")."\";");
}
eval("\$nextgigs = \"".gettemplate("metaltours_quickgigs")."\";");
// BY MARK end latest gigs
eval("dooutput(\"".gettemplate('metaltourshome')."\");");
?>
The result is
http://www.ultimatemetal.com/metaltours/