Update main.php

Changed to use relative urls and reflect current tab in top bar.