renamed all html files to php. Added global footer.