1 line
1.4 KiB
PHP
1 line
1.4 KiB
PHP
<div class="page-centred"><div id="sign" class="window message"><?php if ($ERROR) {; ?><div class="form-head">СМЕНИТЬ ПАРОЛЬ</div><p class="form-message"><?php echo htmlspecialchars($ERROR, ENT_QUOTES, 'UTF-8'); ?></p><form action="/change_pass/" class="form"><button type="submit" class="btn">Попробовать ещё раз</button></form><?php } else {; ?><div class="form-head">СМЕНИТЬ ПАРОЛЬ</div><p class="form-message">Введите новый пароль и повторите ввод.</p><form onsubmit="return $.fn.PROFILE('new_pass',this)" class="form"><input data-input="hidden" type="hidden" data-name="key" value="<?= htmlspecialchars($key, ENT_QUOTES, 'UTF-8'); ?>"/><input data-input="hidden" type="hidden" data-name="hash" value="<?= htmlspecialchars($hash, ENT_QUOTES, 'UTF-8'); ?>"/><input data-input="hidden" type="hidden" data-name="id" value="<?= htmlspecialchars($emp_id, ENT_QUOTES, 'UTF-8'); ?>"/><input data-input="text" data-name="password1" type="password" name="sign-password" placeholder="password" title="Введите пароль" required="" class="input"/><input data-input="text" data-name="password2" type="password" name="sign-password" placeholder="repeat password" title="Введите пароль еще раз" required="" class="input"/><button type="submit" class="btn">ГОТОВО</button></form><?php }; ?></div><?php include __DIR__.'/windows.php'; ?></div>
|