Changed all html to php