Creating Links page on VB - Almost there
Hello,
I have created a page called links.php (here is the code):
<?php
// GO TO FORUM DIR
chdir('/home/talco/public_html/rv-forum/');
// STANDARD VBULLETIN STUFF
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'links');
require_once('./global.php');
// GENERIC_SHELL VARS
$pagetitle = "Resources";
$HTML = ""; // PIECED TOGETHER IN SCRIPT
//eval('$HTML = "' . fetch_template('header') . '";');
$navbits = array();
$navbits[$parent] = 'Links';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('GENERIC_SHELL') . '");');
?>
It looks good, however I don't know how to add my html links in between the header and the footer.
I now have a page with only the header and footer.
Do I need to call a custom template? If so how do I create one and then call it.
Thanks for the help
David
|