Include Pronamic footer file.
Changed PHP blocks, little cleaner.