making html page php

cropping index.html to 4 php pages in templates