I get the following when I try to insert my innvoation code into my header template:
Quote:
The following error occurred when attempting to evaluate the template 'header':
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/oriongra/public_html/forum/includes/adminfunctions_template.php(3532) : eval()'d code on line 13
This is likely caused by a malformed conditional statement.
|
Here is my innvocation code itself:
Quote:
<?php
if (@include('/home/oriongra/public_html/forum/phpadsnew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
|
Any ideas?