$usuario = $gestor->get(Request::get("email")); $r = Request::get("r"); echo $r; ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Editar Usuario</title> </head> <body> <form action="phpeditAdmin.php" method="POST" enctype="multipart/form-data"> <div class="image-upload"> <label for="avatar" style="cursor: pointer"> <?php echo $gestor->getAvatar($usuario); ?> </label> <input name="avatar" id="avatar" style="display: none" type="file"/> </div> <input type="email" name="email" value="<?php echo $usuario->getEmail(); ?> " id="email" placeholder="email" required/><br/> <input type="hidden" name="emailpk" value="<?php echo $usuario->getEmail(); ?> " id="email" /><br/> <input type="hidden" name="fechalta" value="<?php echo $usuario->getFechalta(); ?>
$r = Request::get("r"); echo $r; ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Editar Usuario</title> </head> <body> <form action="phpedit.php" method="POST" enctype="multipart/form-data"> <div class="image-upload"> <label for="avatar" style="cursor: pointer"> <?php echo $gestor->getAvatar($user); ?> </label> <input name="avatar" id="avatar" style="display: none" type="file"/> </div> <label for="email">Email(tendrás que activarlo)</label> <input type="email" name="email" value="<?php echo $user->getEmail(); ?> " id="email"/><br/> <label for="clave">Clave</label> <input type="password" name="clave" value="" id="clave" /><br/> <label for="claveNueva">Clave Nueva</label> <input type="password" name="claveNueva" value="" id="claveNueva"/><br/> <label for="claveConfirmada">Confirmar Clave Nueva</label> <input type="password" name="claveConfirmada" value="" id="claveConfirmada"/><br/>