I seemed to have gotten it to work.
Downloads.php
PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// Define the unique name for this script
define('THIS_SCRIPT', 'Downloads');
// List of templates used on this page
$globaltemplates = array(
'DOWNLOADS_SHELL'
);
// List of action related templates used on this page
$actiontemplates = array();
require_once('./global.php');
// Navbar location
$navbits = construct_navbits(array('' => 'Downloads'));
$navbar = render_navbar_template($navbits);
// HTML stuff
$HTML = "<INSERT WHATEVER CODE YOU WANT>";
// Fetch and parse templates
$templater = vB_Template::create('DOWNLOADS_SHELL');
$templater->register_page_templates();
$templater->register('headinclude', $headinclude);
$templater->register('navbar', $navbar);
$templater->register('header', $header);
$templater->register('HTML', $HTML);
$templater->register('footer', $footer);
print_output($templater->render());
?>
DOWNLOADS_SHELL
Code:
{vb:raw headinclude}
{vb:raw header}
{vb:raw navbar}
{vb:raw HTML}
{vb:raw footer}
</body>
</html>