Heres a piece of my global.php file after the changes.
Quote:
$header='';
$footer='';
// parse PHP include ##################
eval(gettemplate('phpinclude',0,0));
// parse css, header & footer ##################
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
eval("\$header .= \"".gettemplate('header')."\";");
eval("\$footer .= \"".gettemplate('footer')."\";");
// custom templates ##################
eval("\$468x60 = \"".gettemplate('ads_468x60_main')."\";");
// parse other global templates
eval("\$gobutton = \"".gettemplate('gobutton')."\";");
|
But then I get this error.
Quote:
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/eogn/public_html/forum/global.php(321) : eval()'d code on line 1
|