Update mainWebpage.php

change location of php code to align with html design