"; } if (isset($_POST['saveUser'])) { if (!empty($_POST['username'])) { $resp = misc\user\changeUsername($_SESSION['un'], $_POST['username'], $_SESSION['panelapp']); match($resp){ 'already_used' => dashboard\primary\error("Username already used!"), 'failure' => dashboard\primary\error("Failed to change username!"), 'success' => dashboard\primary\success("Successfully changed username!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } if (!empty($_POST['password'])) { $resp = misc\user\changePassword($_SESSION['un'], $_POST['password'], $_SESSION['panelapp']); match($resp){ 'failure' => dashboard\primary\error("Failed to change password!"), 'success' => dashboard\primary\success("Successfully changed password!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } if (empty($_POST['username']) && empty($_POST['password'])) { dashboard\primary\error("You must enter new username or password!"); } } ?>
View and Modify your account on = ucwords($page); ?>
Reset your hwid