Reformatted and moved the HTML to HTML instead of being written by php
echo statements.