<?
session_start();
require("../conectar.php");
require("funciones.php");
$fi=$_GET['fechaini'];
$ff=$_GET['fechafin'];
?>
<HTML>
<HEAD>
<style>
.btn{background:url(images/clip.png) no-repeat;width:200px !important;height:35px;border:none;color:#ffffff;font-size:13px;text-align:center;font-weight:bold;}
.btn a:link    {color: #ffffff;   text-decoration: none;}
.btn a:visited {color: #ffffff; text-decoration: none;}
.btn a:hover   {color: #ffffff;    text-decoration: none;}
.btn:hover{background-position:left bottom;}
.btnglob{background:url(images/clipglobal.png) no-repeat;width:200px;height:35px;border:none;font-weight:bold;text-align:center;font-size:13px;}
.btnglob a:link    {color: #ffffff;   text-decoration: none;}
.btnglob a:visited {color: #ffffff; text-decoration: none;}
.btnglob a:hover   {color: #ffffff;    text-decoration: none;}
.btnglob:hover{background-position:left bottom;}
td{width:197px;border:none;}
</style>
<script language="javascript" src="js/jquery-1.8.2.min.js"></script>
<script>
    function muestralista()
	{
	 for(i=1;i<=2;i++){
	   $("#prot"+i).slideToggle();
	   var ps=document.getElementById("prot"+i).style.marginTop;
	   var np=parseInt(ps)-2;
	 }
	}
	function red()
	{
	 for(i=1;i<=7;i++){
	   $("#red"+i).slideToggle();
	   var ps=document.getElementById("red"+i).style.marginTop;
	   var np=parseInt(ps)-2;
	 }
	}
</script>
</HEAD>
 <BODY>
   <h2 align="center">Seleccione el reporte</h2>
   <TABLE align="center" border="1" style="font: 11px Verdana, Arial, Helvetica, sans-serif;
	color: #707;
	padding:7px;">
	   <TR class="btnglob" style="background-color:#01A9DB;">
	    <TD><a href="organigramastaff.php?ac=ver&fechaini=<?echo $fechaini;?>&fechafin=<?echo $fechafin;?>&mesini=<?echo $mesini;?>&mesfin=<?echo $mesfin;?>&año=<?echo $añosel;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=1000,height=700'); return false;">Estructura&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br></a></TD>
	   </TR>
	   <TR class="btnglob" style="background-color:#FFBF00;">
	    <TD><a href="porcentajeocupacion.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=1000,height=700'); return false;">% Ocupacion</a></TD> 
		</tr>
	   <TR class="btn" style="background-color:#86B404;">
	    <TD><a href="resultadoventas.php?fechaini=<? echo $fi;?>&fechafin=<? echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Resultado de ventas</TD>
	   </TR>
	   <TR class="btn" style="background-color:#04B4AE;">
	    <TD><a href="reportedeingresos.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Ingresos</TD>
	   </TR>
	   <TR class="btn" style="background-color:#DF0101;">
	    <TD><a href="ingresosxconcepto.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Ingresos x concepto</TD>
	   </TR>
	   <!--<TR class="btn" style="background-color:#04B404;">
	    <TD><a href="ingresosxcoordinador.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Ingresos x coordinador</TD>
	   </TR>-->
	   <TR class="btn" style="background-color:#2E2E2E;">
	    <TD><a href="tipoderentaII.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Tipo de renta</TD>
	   </TR>
	   <TR class="btn" style="background-color:#9A2EFE;" id="sig">
	    <TD><a href="formasdepago.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Formas de pago</TD>
	   </TR>
	   <TR class="btn" style="background-color:#DF7401;" id="sig">
	    <TD><a href="ingresopordia.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Ingresos x dia</TD>
	   </TR>
	   <TR class="btn" style="background-color:#FE2E9A;" id="sig">
	    <TD><a href="duraciondelarenta.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Duracion de la renta</TD>
	   </TR>
	   <TR class="btn" style="background-color:rgb(93, 150, 211);" id="sig">
	    <TD><a href="reportedemedios.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Reporte Medios</TD>
	   </TR>
	   <TR class="btn" style="background-color:rgb(148, 61, 61);" id="sig">
	    <TD><a href="reportepaises.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Reporte Paises</TD>
	   </TR>
	   <TR class="btn" style="background-color:rgb(185, 180, 55);" id="sig">
	    <TD><a href="motivodeviaje.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Motivo de viaje</TD>
	   </TR>
	   <TR class="btn" style="background-color:#2E2E2E;">
	    <TD><a href="palabrasclave.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Palabras clave</TD>
	   </TR>
	   <TR class="btn" style="background-color:rgb(285, 60, 55);" onclick="javascript:red();">
	    <TD><a href="#">Reporte Incidentes</a></TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red1">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=1&propiedad=TORRE SAGREDO" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Torre Sagredo</TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red2">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=2&propiedad=MORAS SUITES" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Moras Suites</TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red3">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=3&propiedad=CASA TIZTIK" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Casa Tistik</TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red4">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=4&propiedad=CASA CARACOL" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Casa Caracol</TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red5">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=5&propiedad=TORRE PERIFERICO" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Torre Periferico</TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red6">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=6&propiedad=CASA VITO ALESSIO" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">Vito Alessio</TD>
	   </TR>
	  <TR class="btn" style="background-color:#2E2E2E;display:none;" id="red7">
	    <TD align="left"><a href="reportependientes.php?fechaini=<? echo $fi;?>&fechafin=<?echo $ff;?>&id=0&propiedad=GENERAL" target="_blank" onClick="window.open(this.href, this.target, 'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,top=0,left=0,width=900,height=700'); return false;">General</TD>
	   </TR>
	</TABLE>
  </BODY>	
</HTML>