Updated the pages to be formatted correctly. Added the requires.inc.php
header where necessary. Moved the HTML to actual HTML instead of being
emitted by php echo statements.