copied footer and header to php files