I go to protal layout and there is a link to the sidebar that I named resources. I click on the link and it says this

Body
This should contain the PHP code or HTML for the custom box. $body contains the actual content that should be printed in the custom box.

Warning: Invalid PHP code that has syntax errors can result in breaking the entire portal

then in the box I have this

?><script type="text/javascript" src="http://www.1800banners.com/adserver/adserver3.js"></script>
<script type="text/javascript">
var varsarray=[];
varsarray[0]='40165';
if(!token) {var token='0'} else {var token=token+1;}
var loadtype='0';
var adtype='3';
var background_color='#F0F0F0';
var border_color='#000000';
var text_color='#060606';
var text_rollcolor='#0033FF';
var domain_color='#9F9F9F';
varsarray['interhours']='';
varsarray['interpages']='';
adserver_initialize(token,loadtype,adtype,background_color,border_color,text_color,text_rollcolor,domain_color,varsarray);
</script>

?>
?>
?>

after I submit it a new question mark with greater than sign appears at the bottom but nothing shows up, either that or it shows a syntax error like this

Parse error: syntax error, unexpected '<' in /WWW/docs/forums/cache_builders/custom/portal_box_1.php on line 2