2){ if (!Token::isValid($_POST['token'])) { $errors[] = 'Token is invalid.'; } } } if(empty($_GET)){ $step = (isset($_POST['step']) && !empty($_POST['step'])) ? getValue($_POST['step']) : false; $character = (isset($_POST['character']) && !empty($_POST['character'])) ? getValue($_POST['character']) : false; $option = (isset($_POST['option']) && !empty($_POST['option'])) ? getValue($_POST['option']) : false; $new_email = (isset($_POST['new_email']) && !empty($_POST['new_email'])) ? getValue($_POST['new_email']) : false; $rec_key = (isset($_POST['rec_key']) && !empty($_POST['rec_key'])) ? getValue($_POST['rec_key']) : false; switch ($step) { case '1': { { ?>
I am an automatic no-reply e-mail. Any emails sent back to me will be ignored.
"; $mailer->sendMail($_POST['new_email'], $title, $body, $query['name']); echo 'We have sent an e-mail to your new address with link to authenticate this e-mail, please check it.'; } } else { echo 'Incorrect e-mail or recovery key.If you have lost access to your account, this interface can help you. Of course, you need to prove that your claim to the account is justified. Enter the requested data and follow the instructions carefully. Please understand there is no way to get access to your lost account if the interface cannot help you.
0) ? (int)$_GET['u'] : false; $tempKey = (isset($_GET['tempkey'])) ? $_GET['tempkey'] : false; $tempKeyStatus = true; for($i = 0;$iStay safe at ".$config['mailserver']['fromName'].".
"; $body .= "I am an automatic no-reply e-mail. Any emails sent back to me will be ignored.
"; $mailer->sendMail($query['email_new'], $title, $body, $query['name']); mysql_update("UPDATE `accounts` SET `email` = '".$query['email_new']."', `email_new` = '0', `email_code` = '0', `password` = '$password' WHERE `id` = $auid LIMIT 1;"); echo "We have sent new password to your new e-mail, have fun! :)"; }else{ echo 'Something went wrong'; } } include 'layout/overall/footer.php'; ?>