if ($_SESSION['loggedIn'] == true) { include ("menulogged.php"); } else { include ("menunologged.php"); }