<?php
 
session_start();
$com = "E";
include("DMMYSQLG.php");
include("DSA3000.php");
include("DMMYSQLG.php");
?>
<html>
<link rel="stylesheet" href="css/estilo1.css" type="text/css"/>
<script type="text/javascript" language="JavaScript1.2" src="DSSCRIPT.js"></script>
<?php

if ($_REQUEST['bot']==""){
	echo '<h2>!!! SELECCIONA UN REGISTRO... ACTUALIZANDO !!!</h2>';
	echo '<meta content="1; url=DN91100_PR.php"  HTTP-EQUIV="REFRESH">';
}else{
?>
<body>
<form name="frm1" method="post" action="">
  <table border='1' align="center">
    <tr>
        <th><div align="center">Clave Falta</div></th>
		<th><div align="center">Clave Descanso </div></th>
		<th><div align="center">Clave Dia Festivo </div></th>
		<th><div align="center">Clave Dia Retardo </div></th>
		<th><div align="center">Descanso Trabajado</div></th>
		<th><div align="center">Festivo Trabajado</div></th>
		<th><div align="center">Checa / Huella </div></th>
		<th><div align="center">Prima Dominical </div></th>
		<th><div align="center">Actualiza</div></th>
    </tr>
    <tr>
	<?php

	include('DN91100_CL.php');
	$varible_clase = new clase();
	$varible_clase->no_reg=$_POST["bot"];
	$res=$varible_clase->lista_busqueda($_POST["bot"]);
	$reg=mysqli_fetch_array($res);
		echo '<td><div align="center">' . $reg["cve_fal"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["cve_des"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["cve_dfe"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["cve_ret"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["des_tra"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["fes_tra"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["huella"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["pri_vac"] . '&nbsp</div></td>';
		echo '<td><div align="center">' . $reg["actuali"] . '&nbsp</div></td>';
	mysqli_close($con);
	?>
    </tr>
  </table>
  <input name="bot" type="hidden" value="<?php
 echo $_REQUEST['bot'] ?>"/>
  <div align="center">
	<input type="button" name="Submit" value="Eliminar" onClick="openpage('DN91100_EC.php','_self')">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" name="Submit2" value="Regresar" onClick="openpage('DN91100_PR.php','_self')">
  </div>
</form>
</body>
<?php
 }?>
</html>