find($nick); if($player->isLoaded()) $account = $player->getAccount(); if($account->isLoaded()) { $account_key = $account->getCustomField('key'); if(!empty($account_key)) { echo 'If you enter right recovery key you will see form to set new e-mail and password to account. To this e-mail will be send your new password and account name.
Please enter your recovery key
Character name: 
Recovery key:    

' . $twig->render('buttons.submit.html.twig') . '
'; } else echo 'Account of this character has no recovery key!'; } else { echo 'Player or account of player ' . htmlspecialchars($nick) . ' doesn\'t exist.'; } $twig->display('account.back_button.html.twig', [ 'new_line' => true, 'center' => true, 'action' => getLink('account/lost'), ]);