I opened one of the pages in Notepad++…can’t see any extra tags, either opening or closing.
I also ran the code through the W3 Validator, minus the bit of PHP at the top. It passes with only 2 warnings.
[ol][li]Using experimental feature: HTML5 Conformance Checker.
The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies. If you find any issues with this feature, please report them. Thank you.[/li]
[li]Using Direct Input mode: UTF-8 character encoding assumed
Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator’s form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.
If you notice a discrepancy in detected character encoding between the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.[/li][/ol]
I am viewing the pages in question using Google Chrome. A friend of mine viewed them in Firefox and they appear correctly…verified by viewing his screen through Skype.