replaced htmls with phps