Reformatted and moved the HTML to HTML instead of being written by PHP
echo calls.