<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link type="text/css" rel="shortcut icon" href="img/logo-mywebsite-urian-viera.svg"/>
  <title>Cómo Importar Excel a MYSQL con PHP sin Libreria de forma Fácil :: WebDeveloper Urian Viera</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css">
  <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="css/cargando.css">
  <link rel="stylesheet" type="text/css" href="css/cssGenerales.css">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

  <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>


</head>

<div class="cargando">
    <div class="loader-outter"></div>
    <div class="loader-inner"></div>
</div>


<nav class="navbar navbar-expand-lg navbar-light navbar-dark fixed-top" style="background-color: #563d7c !important;">
    <ul class="navbar-nav mr-auto collapse navbar-collapse">
      <li class="nav-item active">
        <a href="index.php"> 
        <img src="img/logo-mywebsite-urian-viera.svg" alt="Web Developer Urian Viera" width="120">
        </a>
      </li>
    </ul>
    <div class="my-2 my-lg-0">
      <h5 class="navbar-brand">Claudio Barahona </h5>
    </div>
</nav>



<body>

  <div class="container">

       <br>
<br>
<br>
<br

<div class="table-responsive-xl">
       <table class="table table-striped table-hover table-bordered table-responsive-xl">
          <thead class="thead-dark">
            <tr>
               
                 
             <th width="15%">RUC</th>              
              <th>PREC CJS</th>
             <th width="20%">TIPO DECISION</th>
             <th width="30%">INSTRUIR</th>
            <tH>ACCION</tH>
          
            </tr>
          </thead>
      
  <form action="updates.php" method="POST">
<?php

include("conect.php");

if(isset($_REQUEST['e'])){
$e=$_REQUEST['e'];

$resultados=mysqli_query($conexion, "select * FROM clientes WHERE id = '$e'");

while($row = mysqli_fetch_assoc( $resultados )) {

    // set up a row for each record
   echo '<tr>';
  ?>
    <input type="text"  style="visibility:hidden" class="form-control" name="estar"  value="<?php echo $row['id']?>">
   <?php

   echo '<td>'.$row['nombre']  .'</td>';
   echo '<td>'.$row['correo']  .'</td>';

   ?>
   <input type="text" style="visibility:hidden" class="form-control" name="dv" value="<?php echo $resultado = substr($row['nombre'], -1)?>">
   <?php
// echo '<td>'.$resultado = substr($row['nombre'], -1).'</td>';
   echo '<td>'.$row['celular']  .'</td>';?>

   <td>    
<label value="<?php echo $row['estado']?>"></label>

<div class="container">
  
  <form action="">
    <div class="form-group">
     
      <select class="form-control" id="sel1" name="est">
         <option>PENDIENTE</option>
        <option>ASIGNAR</option>
        <option>AP</option>
        <option>EQUIPO</option>
        <option>TRANSFERENCIA</option>
      </select>
      <br>

</td>
    
</div>

</body>
</html></td>

  <td>  <textarea class="form-control" name="estars" rows="3" id="comment"></textarea></td>
   
  <td>    

  <center> <input class="btn btn-success" name="submit" type="submit" value="Grabar" /></center> 


   </td>

  <?php   

}
}

?>



   
</td>

    </tr>
  </tbody>
</table>

</body>

</div>
</diV></div>

</html>


<script src="js/jquery.min.js"></script>
<script src="'js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>

<script type="text/javascript">
    $(document).ready(function() {
        $(window).load(function() {
            $(".cargando").fadeOut(500);
        });      
});
</script>

</body>
</html>