latest working codes for menu.php