Server IP : 184.154.167.98 / Your IP : 18.117.156.153 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/libreria/ |
Upload File : |
<?php require_once 'connect.php'; $qedit_admin = $conn->query("SELECT * FROM `admin` WHERE `admin_id` = '$_REQUEST[admin_id]'") or die(mysqli_error()); $fedit_admin = $qedit_admin->fetch_array(); ?> <div class = "col-lg-3"></div> <div class = "col-lg-6"> <form method = "POST" action = "edit_admin_query.php?admin_id=<?php echo $fedit_admin['admin_id']?>" enctype = "multipart/form-data"> <div class = "form-group"> <label>Usuario:</label> <input type = "text" value = "<?php echo $fedit_admin['username']?>" required = "required" name = "username" class = "form-control" /> </div> <div class = "form-group"> <label>ContraseƱa:</label> <input type = "password" value = "<?php echo $fedit_admin['password']?>" maxlength = "12" name = "password" required = "required" class = "form-control" /> </div> <div class = "form-group"> <label>Primer nombre:</label> <input type = "text" value = "<?php echo $fedit_admin['firstname']?>" name = "firstname" required = "required" class = "form-control" /> </div> <div class = "form-group"> <label>Segundo nombre:</label> <input type = "text" value = "<?php echo $fedit_admin['middlename']?>" name = "middlename" placeholder = "(Optional)" class = "form-control" /> </div> <div class = "form-group"> <label>Apellidos:</label> <input type = "text" value = "<?php echo $fedit_admin['lastname']?>" required = "required" name = "lastname" class = "form-control" /> </div> <div class = "form-group"> <button class = "btn btn-warning" name = "edit_admin"><span class = "glyphicon glyphicon-edit"></span> Guardar Cambios</button> </div> </form> </div>