<?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>
<body>
<?php

if ($_POST["bot"]==""){
	echo '<h2>!!! SELECCIONA UN REGISTRO... ACTUALIZANDO !!!</h2>';
	echo '<meta content="1; url=DX70000_PR.php"  HTTP-EQUIV="REFRESH">';
}else{
?>
<form name="frm1" method="post" action="">
  <table border='1' align="center">
    <tr>
	    <th><div align="center">Clave</div></th>
		<th><div align="center">Tipo</div></th>
      	<th><div align="center">Nombre</div></th>
		<th><div align="center">Fecha de Vigencia</div></th>
    </tr>
	    <tr>
<?php

	include('DX70000_CL.php');
	$varible_clase = new clase_tas_iva();
	$res=$varible_clase->lista_busqueda($_POST["bot"]);
	$reg=mysqli_fetch_array($res);
	echo '<td><div align="center">' . $reg["cve_iva"] . '</div></td>';
	echo '<td><div align="center">' . $reg["tip_iva"] . '</div></td>';
	echo '<td><div align="center">' . $reg["conc_iva"] . '&nbsp;</div></td>';
	$fec1 = $reg["fec_vig"];
	include('DF20000.php');
	echo '<td><div align="center">' . $f_f . '&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('DX70000_EC.php','_self')">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" name="Submit2" value="Regresar" onClick="openpage('DX70000_PR.php','_self')">
  </div>
</form>
<?php
 }?>
</body>
</html>
