After a small analysis, I think I found the problem. There is a missing } at the end... Just add one before
include ("footer.php");
Tell me if it works.
Also, you can create a file that will use show_source() and show you syntax error :
<?
show_source("file.php3");
?>