hjkhghopjkertteerterterterertertrtoirh
bnmbertsurhetertertertertertertertpdf'tdfg
/
home
/
distin10n
/
public_html
/
Upload FileeE
HOME
<?php if (!$_SESSION) { header("Location: index.php"); } ?> <div class="processbox" id="processbox" style="display: none;"> <center> <label>Espera un momento, estámos actualizando tus datos...</label> <br><br> <div class="loader"></div> </center> </div> <div class="caja-titulo"> <span class="material-icons-round">build</span> <label>CAMBIAR PASSWORD</label> <?php if (isset($_GET['error']) == 1) { echo "<b style='color: #D32F2F;'> Tu contraseña actual no coincide</b>"; } ?> </div> <br> <div class="caja-titulo"> <center> <form method="POST" name="verificacion-codigo" id="verificacion-codigo" onsubmit="procesando(); return true;"> <p>Por seguridad, escribe tu contraseña actual.</p> <!--<span class="material-icons-round">account_box</span>--> <input type="text" name="user-verify" placeholder="NOMBRE DE USUARIO" class="verify-input" value="<?php echo $username; ?>" hidden> <span class="material-icons-round">password</span> <input type="password" name="pass-verify" placeholder="CONTRASEÑA ACTUAL" class="verify-input" required> <br> <p>Introduce tu nueva contraseña.</p> <span class="material-icons-round">password</span> <input type="password" name="new-pass" placeholder="NUEVA CONTRASEÑA" class="verify-input" required> <br> <br> </form> <form> <input type="submit" class="btn-enviar" value="Cambiar" id="submit" form="verificacion-codigo" formaction="change_password.php"> </form> <br> </center> </div> <div class="relatedItems"> <?php include("otros_articulos.php"); ?> </div> <script type="text/javascript"> function procesando() { var x = document.getElementById('processbox'); var y = document.getElementById('submit'); x.style.display = 'block'; y.disabled = true; } </script>