Renamed html files to PHP and added some code