n1ckn4me
02-24-2005, 08:50 AM
Hi there,
I trying to make my own usercp where the user can read te facilities at the board im running. Is the following code going to help me with that ??
// ################################################## ###########################
// spit out final HTML if we have got this far
if ($templatename != '')
{
// make navbar
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// shell template
eval('$HTML = "' . fetch_template($templatename) . '";');
eval('print_output("' . fetch_template($shelltemplatename) . '");');
}
Thanks in advanced!
I trying to make my own usercp where the user can read te facilities at the board im running. Is the following code going to help me with that ??
// ################################################## ###########################
// spit out final HTML if we have got this far
if ($templatename != '')
{
// make navbar
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// shell template
eval('$HTML = "' . fetch_template($templatename) . '";');
eval('print_output("' . fetch_template($shelltemplatename) . '");');
}
Thanks in advanced!