Hello,
I'm having a little trouble with this. I've created a php file called Untitled.php which can be seen here:
http://www.astra-mk2.com/Untitled.php
contents of the file are as follows:
PHP Code:
<?php
// GO TO FORUM DIR
chdir('./forum');
// STANDARD VBULLETIN STUFF
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'script_name');
require_once('./global.php');
// GENERIC_SHELL VARS
$pagetitle = "Title of Page";
$HTML = ""; // PIECED TOGETHER IN SCRIPT
eval('$HTML = "' . fetch_template('name of template') . '";');
$navbits = array();
$navbits[$parent] = 'Meganman';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('GENERIC_SHELL') . '");');
?>
I can work out how to change the title but
not how to insert an html page
myhtmlpage.html
The code that's above works beautifully, but it's just the linking to an html as the template and everything that it uses is as I want it.
Any help would be much appreciated.