2
The 'require header.php; footer.php ?>' part is most likely due to a file that was uploaded incorrectly, or corrupted during upload, it is showing part of it's code instead of interpreting it. I don't know which file it could be (do a search in your files for this exact text, maybe that will help you find it), so I cant help you with that.
As for the php notices, this is due to compatibility with PHP 5, stating that the code uses a method that is deprecated, and warning coders to remove this method from their code. It will still work properly tho, so if you disable php debug, you'll be fine. In the next major releases (2.3/2.4), our core developers are trying to find as many of these deprecated methods as possible and use the newer supported methods.
Herko