updated the rest of the site to php