Added php support plus nav and footer