Converted php prints to html template structure.