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