<?php include "conexion.inc" ?>
<?php include "validacion.php" ?>
<!doctype html>
<html lang="es">
	<head>
		<?php include '../index/head.php'; ?>
		<script language="javascript">
			function recargar()
			{
				$('#recargado').html('<div class="d-flex justify-content-center"><img src="../images/loader.gif" width="150" alt="loading"/><br/>Un momento, por favor...</div>');
				$.post("reporte_01.php", {}, function(data){$("#recargado").html(data);});
			}
		</script>
	</head>
	<body class="nav-md" onLoad="recargar();">
		<div class="container body">
			<div class="main_container">
				<?php include '../index/body.php'; ?>
				<div class="right_col" role="main">
					<div class="">
						<!-- page content -->
						<div class="clearfix"></div>
						<div class="row">
							<div class="col-md-12 col-sm-12 col-xs-12">
								<form name="neo" class="form-vertical" method="POST" action="reporte_01_xls.php" enctype="multipart/form-data">
									<button type="button" class="btn btn-warning" onclick="recargar();">
										<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Recargar
									</button>
									<div class="row">
										<div class="col-xs-12" id="recargado">
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<?php include '../index/footer.php'; ?>
		<?php include '../index/fbody.php'; ?>
	</body>
</html>
<script>
	var mipopup;
	function popup01(d01)
	{
		v01 = d01;
		posicion_x=(screen.width/2)-(500/2);
		posicion_y=(screen.height/2)-(300/2)-50;
		mipopup = window.open("justificar.php?id="+v01, "neo", "width=500, Height=300, menubar=0, toolbar=0,directories=0,scrollbars=no,resizable=no,left="+posicion_x+",top="+posicion_y+"");
		mipopup.focus()
	}
</script>