changed files to php and add a header and footer include file