isAdmin()) { if ($_GET["action"]) { if ($_GET["action"] == "close") { if ($user->closeSession()) { echo __(" ending session…"); } else { echo __(" failure ending session…"); } } // $_GET["action"] == "close" if ($_GET["action"] == "verify") { if ($_GET["login"]=="") { echo "
".__("Required field cannot be left blank.")."
"; } else { if (!$user->userExist($_GET["login"])) { echo "
".__("Username available.")."
"; } else { echo "
".__("The username is not available.")."
"; } } } // $_GET["action"] == "verify" } // $_GET["action"] } // $user->isAdmin()