Converted navbar to PHP

Moved the navbar to the nav.php file. Replaced it in all pages with php
code.