added php files for head, foot index and search