Hey,
This should be simple to do, in your PHP page you can do this.
This goes at the top of your PHP page (be sure to change the first line to the proper path)
<?php
include '/path/to/core/codon.config.php';
$BaseTemplate = new TemplateSet;
# Load the main skin
$settings_file = SKINS_PATH.DIRECTORY_SEPARATOR.CURRENT_SKIN . '.php';
if(file_exists($settings_file))
include $settings_file;
$BaseTemplate->template_path = SKINS_PATH;
$BaseTemplate->Set('title', SITE_NAME);
Template::Set('MODULE_NAV_INC', $NAVBAR);
Template::Set('MODULE_HEAD_INC', $HTMLHead);
$BaseTemplate->ShowTemplate('header.tpl');
flush();
?>
Then where the footer goes:
<?php
$BaseTemplate->ShowTemplate('footer.tpl');
# Force connection close
DB::close();
?>
And you should be set