Modified index.

Each file has own php tag
I created overall folder and overheader and overfooter files within this folder.

I included these files in index.
I included the overheader and overfooter in contact, login and register files.

I added also advices file in index.