if (!isUserLogged() && !isLibraryLogged()) { ?> } ?> include_once("modules/login.php"); if(isUserLogged()) { ?> } else if(isLibraryLogged()) { ?> } ?>