Quote:
Originally Posted by TheInsaneManiac
How do I allow my pages to use the do action like my old one?
Code:
eval('$navbar = "' . fetch_template('navbar') . '";');
if ($_REQUEST['do'] == 'support')
{
eval('print_output("' . fetch_template('impostersupport') . '");');
}
if ($_REQUEST['do'] == 'port')
{
eval('print_output("' . fetch_template('porthelper') . '");');
}
eval('print_output("' . fetch_template('impostergenerators') . '");');
|
Basically the same except you need to change all your eval/fetch_template statements to use the new syntax (the new syntax is covered in other articles, although shown in the code for this one).