revert functions and footer php files.