Switching from static html to PHP templates