<?php
session_start();
header ('Content-type: text/html; charset=iso-8859-1');
if(!isset($_SESSION[_CUSE])) header("location: index.php");
include('clases/clase.conexion.php');
include('funciones/variables.php');
include('funciones/funciones.php');
include('funciones/funciones_xajax.php');
include('forms/frm.impresion_boletas.php');
$var = VarServer("MYSQLI");
$obj = new clsConexion($var[0],$var[1],$var[2],$var[3],$var[4]);
$file = str_replace(".php","", basename($_SERVER['PHP_SELF']));
$param = Acceso_Archivo($file, $_SESSION[_CUSE], $obj);
?>
<HTML>
<HEAD>
<TITLE><?php echo $varSysEmpresa." - ".$param[1]?></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
td {
	font-family:Tahoma;
	font-size:11px;
	color:#727272;
}
a {
	text-decoration: underline;
	color:#727272;
}
a.1 {
	text-decoration: none;
	color: 000000;
}
.t11 {
	font-family: Tahoma;
	font-size: 11px;
	font-style: normal;
}
body  {margin:0px;padding:0px}
.style3 {font-size: 9px}
-->
</style>
<link rel="stylesheet" type="text/css" href="css/ajax_registro.css">
<link rel="stylesheet" type="text/css" href="forms/paginate1.css">
<link rel="stylesheet" type="text/css" href="css/paginate.css" />
<script language="JavaScript">
	function recarga(form)
	{
	form.submit();
	}
</script>
<script type="text/javascript" src="js/tablesort.js"></script>
<script type="text/javascript" src="js/paginate.js"></script>
<script type="text/javascript" src="js/popcalendar.js"> </script>
<script type="text/javascript" src="js/funciones.js"></script>
<script type="text/javascript" src="js/wz_tooltip.js"></script>
<script type="text/javascript" src="js/tip_balloon.js"></script>
<!--[if IE]>
<style type="text/css">
ul.fdtablePaginater {display:inline-block;}
ul.fdtablePaginater {display:inline;}
ul.fdtablePaginater li {float:left;}
ul.fdtablePaginater {text-align:center;}
table { border-bottom:1px solid #C1DAD7; }
</style>
<![endif]-->
<script type="text/javascript" src="stmenu.js"></script>
<meta http-equiv="msthemecompatible" content="no" />
<link href="images/logo_siscomges_32x32.png" rel="shortcut icon" type="image/x-icon" />
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="ResaltarSeleccionado()">
<table cellpadding="0" cellspacing="0" border="0"  align="center" style="height:100%; width:100% ">
<tr>
<td valign="top" style="height:100%; width:100% ">
<table cellpadding="0" cellspacing="0" border="0" style="height:100%; width:100%; background-image:url(images/bottom-1.gif) ">
<tr>
<td valign="top" width="100%" >
<table cellpadding="0" cellspacing="0" border="0" style="height:100%; width:100% ">
<!--DWLayoutTable-->
<tr>
<td width="976" height="35" valign="middle" class="footer" ><?php 
echo "<b>".$varSysEmpresa." - ".$varSysNombre."</b><br>";
echo $param[2]." => ".$param[1];
?></td>
</tr>
<tr>
<td height="7" valign="top" style="background-image:url(images/bottom.gif) "></td>
</tr>
<tr>
<td height="90%" valign="top" style="height:100%; width=100%; background-color:#FFFFFF">
<table cellpadding="0" cellspacing="0" border="0" style="height:100%; width:100%">
<tr>
<td valign="top" class="content" style="height:100%; width:100%">

<table cellpadding="0" cellspacing="0" border="0" style="height:100%; width:100% ">
<!--DWLayoutTable-->
<tr>
<td width="200" height="480" valign="top" style="background:url(images/1_bg2.gif) repeat-x bottom #FDFDFD">
<?php 
include("menu.php");
?></td>
<td width="3" valign="top" style="height:100%; background-image:url(images/1_bg4.gif) "><!--DWLayoutEmptyCell-->&nbsp;</td>
<td width="750" align="center" valign="top"><br>
<?php 
if($param[0]<>'') {
	echo $param[0];
	}
else {
	MyTable($obj, $param[1], $_GET[opt], $_GET[valor], $TamFila);
	}
?></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="7" valign="top" style="background-image:url(images/bottom.gif) "></td>
</tr>
<tr>
<td height="25" valign="top"  style="background-image:url(images/bottom-1.gif); height:100% " >
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td valign="middle" height="30" class="footer" align="center"> <?php echo $varVersion?></td>
</tr>
</table>
</td>
</tr>
</table></td>
<td valign="top" width="1" style="height:100%; background-color:#545454 "></td>
</tr>
</table></td>
</tr>
</table>
<!--  PopCalendar(tag name and id must match) Tags should not be enclosed in tags other than the html body tag. -->
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="HelloWorld/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"> </iframe>
</body>
</html>
<frameset rows="100,*" border=0 frameborder="0">
<frameset rows="100,*" border=0 frameborder="0">