Add footer and header php files and include them in index.php with tmp content.