<?php
  include("stilos/config.inc.php");
  include("../clases/BDConexion.php");
  include("../clases/clsPer.php");
  include("funcion/funciones.php");
  include("Funciones.php");
  session_start();
  $objPer=new clsPer;
  
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><MMString:LoadString id="insertbar/formsHidden" /></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">

<link href="Estilos.css" rel="stylesheet" type="text/css">

<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">
<SCRIPT language=JavaScript src="js/calendario.js"></SCRIPT>
<!-- Copyright 2000,2001 Macromedia, Inc. All rights reserved. -->
<script language="JavaScript"> 
<!--
function Abrir_Ventanapopup1(sURL,x,y) {
if (!window.focus) return;
			var par;
			par = "width=" +x + ",height="+y+","
			par = par + "dependent=no,scrollbars=yes,resizable=yes"
			par = par + "menubar=no,toolbar=no,status=no"
			var ventana = window.open(sURL,"Ver",par)
			ventana.focus();
}
//--> 
</script>

</head>

<body background="../imagenes/fondo.jpg">
<table width="1200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="25"><img src="../estilo_tabla/parte_sup_izq.gif" width="25" height="25"></td>
    <td width="1150" background="../estilo_tabla/parte_sup_cen.gif" valign="bottom">
    <div align="left" class="lblTitulo" >Ubicacion de Embarcacion</div></td>
    <td width="25"><img src="../estilo_tabla/parte_sup_der.gif" width="25" height="25" border="0" usemap="#MapMap"></td>
  </tr>
  <tr>
    <td width="25" background="../estilo_tabla/parte_med_izq.gif">&nbsp;</td>
    <td width="1150" height="86" background="../estilo_tabla/parte_med_cen.gif">
      <div align="left">
        <table width="1150" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="15" colspan="5"><div align="center"></div></td>
          </tr>
          <tr>
            <form action="cvp_control_bote.php" method="post" name="form1" >
              <td height="15" colspan="5" class="lblCampo">
                <div align="left">
                  <table width="682" border="0" cellspacing="0" cellpadding="0">
                    <tr class="lblCampo">
                      <td width="64"><div align="right">Mes : </div></td>
                      <td width="129"><div align="left">
                        <select name="m" id="m">
                          <option value="01" <? if($m=="01"){?> selected <? }?>>Enero</option>
                          <option value="02" <? if($m=="02"){?> selected <? }?>>Febrero</option>
                          <option value="03" <? if($m=="03"){?> selected <? }?>>Marzo</option>
                          <option value="04" <? if($m=="04"){?> selected <? }?>>Abril</option>
                          <option value="05" <? if($m=="05"){?> selected <? }?>>Mayo</option>
                          <option value="06" <? if($m=="06"){?> selected <? }?>>Junio</option>
                          <option value="07" <? if($m=="07"){?> selected <? }?>>Julio</option>
                          <option value="08" <? if($m=="08"){?> selected <? }?>>Agosto</option>
                          <option value="09" <? if($m=="09"){?> selected <? }?>>Setiembre</option>
                          <option value="10" <? if($m=="10"){?> selected <? }?>>Octubre</option>
                          <option value="11" <? if($m=="11"){?> selected <? }?>>Noviembre</option>
                          <option value="12" <? if($m=="12"){?> selected <? }?>>Diciembre</option>
                        </select>
                          </div></td>
                      <td width="43"><div align="right">A&ntilde;o : </div></td>
                      <td width="42"><div align="left">
                        <input name="anio" type="text" id="anio" value="<? if($anio==""){echo date("Y");}else{echo $anio;}?>" size="5" maxlength="4" title="xxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz wwwwwwwwwwwwwwwwwwwwwwwwww">
                          </div></td>
                      <td width="126"><div align="right">Transporte : </div></td>
                      <td width="187"><div align="center"><span class="lblForm">
                          <select name="mat_trans" id="select3" onkeyup=fn(this.form,this)>
                            <option value="0" <? if($mat_trans=="0"){?> selected <? }?>>Todas</option>
                            <? 
						echo $objPer->getCboTransU($mat_trans);
						?>
                          </select>
                      </span></div></td>
                      <td width="91"><span class="lblForm">
                        <input type="submit" name="Submit" value="Buscar" style="<?=$stylo['st2']?>" class="botira">
                      </span></td>
                    </tr>
                  </table>
              </div></td>
            </form>
          </tr>
          <tr>
            <td colspan="5"><div align="left">
                <table width="1145" border="1" cellpadding="0" cellspacing="0" style="<?=$stylo['tabla']?>" bgcolor="<?=$c_fondo['fondo tabla']?>" bordercolor="<?=$bordetabla?>">
                  <tr valign="top" class="lblCampoBlanco" bgcolor="<?=$c_fondo_tr["fondo tr"]?>">
                    <td width="54"><div align="center"><a href="cvp_reg_obser.php?anio=<? echo $anio?>&m=<? echo $m?>&mat_trans=<? echo $mat_trans?>" title="Ingresar Ruta Siguiente">Transporte</a></div></td>
                    <td width="40"><div align="left"></div>                      <div align="center"></div>                      <div align="center">1</div></td>
                    <td width="38"><div align="center">2</div></td>
                    <td width="36"><div align="center">3</div></td>
                    <td width="38"><div align="center">4</div></td>
                    <td width="37"><div align="center">5</div></td>
                    <td width="32"><div align="center">6</div></td>
                    <td width="32"><div align="center">7</div></td>
                    <td width="32"><div align="center">8</div></td>
                    <td width="32"><div align="center">9</div></td>
                    <td width="32"><div align="center">10</div></td>
                    <td width="32"><div align="center">11</div></td>
                    <td width="32"><div align="center">12</div></td>
                    <td width="32"><div align="center">13</div></td>
                    <td width="29"><div align="center">14</div></td>
                    <td width="35"><div align="center">15</div></td>
                    <td width="32"><div align="center">16</div></td>
                    <td width="32"><div align="center">17</div></td>
                    <td width="32"><div align="center">18</div></td>
                    <td width="32"><div align="center">19</div></td>
                    <td width="32"><div align="center">20</div></td>
                    <td width="32"><div align="center">21</div></td>
                    <td width="32"><div align="center">22</div></td>
                    <td width="32"><div align="center">23</div></td>
                    <td width="32"><div align="center">24</div></td>
                    <td width="32"><div align="center">25</div></td>
                    <td width="32"><div align="center">26</div></td>
                    <td width="32"><div align="center">27</div></td>
                    <td width="32"><div align="center">28</div></td>
                    <td width="39"><div align="center">29</div></td>
                    <td width="34"><div align="center">30</div></td>
                    <td width="27"><div align="center">31</div></td>
                  </tr>
                  <? 				   
				    $registros = 15;
					$pagina = $_GET["pagina"];
					
					if (!$pagina) { 
						$inicio = 0; 
						$pagina = 1; 
					}else { 
						$inicio = ($pagina - 1) * $registros; 
					} 				
						$mes=$m."/".$anio;
						$mesi=$anio."-".$m;
						if($mat_trans=='0'){						
							$resultado=$objPer->getBitacoraVerT1($mes,$inicio,$registros);						
						}else{
							$resultado=$objPer->getBitacoraVer($mat_trans,$mes,$inicio,$registros);
						}	
					
					$total_registros=$objPer->totalrows($resultado);
				    $total_paginas = ceil($total_registros / $registros); 		  			

				  if($total_registros) {
                  while($filas=$objPer->NextRow($resultado))
                   {
				   
				   ?>
                  <tr valign="top" class="lblForm" >
                    <td class="lblForm">
                      <div align="center"> <? echo $filas['model_trans']; ?> </div></td>
                    <td bgcolor="<? if($filas['dia01']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia01']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia01']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia01']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia01']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia01']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=01" title="<? $mesf=$mesi."-01"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia01']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia01']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=01" title="<? echo 'ingresar comentario',"\n",'hola';?>"><? echo "--";?></a><? }?>												
					</div></td>
                    <td bgcolor="<? if($filas['dia02']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia02']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia02']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia02']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia02']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia02']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=02" title="<? $mesf=$mesi."-02"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia02']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia02']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=02" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia03']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia03']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia03']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia03']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia03']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia03']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=03" title="<? $mesf=$mesi."-03"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia03']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia03']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=03" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia04']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia04']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia04']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia04']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia04']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia04']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=04" title="<? $mesf=$mesi."-04"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia04']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia04']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=04" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia05']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia05']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia05']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia05']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia05']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia05']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=05" title="<? $mesf=$mesi."-05"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia05']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia05']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=05" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia06']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia06']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia06']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia06']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia06']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia06']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=06" title="<? $mesf=$mesi."-06"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia06']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia06']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=06" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia07']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia07']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia07']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia07']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia07']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia07']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=07" title="<? $mesf=$mesi."-07"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia07']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia07']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=07" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia08']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia08']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia08']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia08']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia08']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia08']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=08" title="<? $mesf=$mesi."-08"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia08']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia08']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=08" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia09']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia09']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia09']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia09']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia09']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia09']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=09" title="<? $mesf=$mesi."-09"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia09']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia09']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=09" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia10']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia10']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia10']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia10']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia10']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia10']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=10" title="<? $mesf=$mesi."-10"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia10']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia10']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=10" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia11']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia11']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia11']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia11']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia11']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia11']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=11" title="<? $mesf=$mesi."-11"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia11']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia11']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=11" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia12']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia12']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia12']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia12']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia12']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia12']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=12" title="<? $mesf=$mesi."-12"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia12']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia12']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=12" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia13']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia13']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia13']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia13']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia13']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia13']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=13" title="<? $mesf=$mesi."-13"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia13']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia13']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=13" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia14']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia14']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia14']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia14']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia14']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia14']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=14" title="<? $mesf=$mesi."-14"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia14']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia14']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=14" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia15']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia15']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia15']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia15']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia15']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia15']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=15" title="<? $mesf=$mesi."-15"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia15']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia15']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=15" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia16']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia16']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia16']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia16']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia16']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia16']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=16" title="<? $mesf=$mesi."-16"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia16']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia16']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=16" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia17']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia17']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia17']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia17']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia17']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia17']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=17" title="<? $mesf=$mesi."-17"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia17']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia17']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=17" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia18']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia18']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia18']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia18']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia18']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia18']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=18" title="<? $mesf=$mesi."-18"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia18']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia18']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=18" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia19']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia19']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia19']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia19']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia19']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia19']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=19" title="<? $mesf=$mesi."-19"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia19']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia19']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=19" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia20']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia20']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia20']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia20']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia20']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia20']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=20" title="<? $mesf=$mesi."-20"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia20']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia20']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=20" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia21']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia21']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia21']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia21']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia21']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia21']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=21" title="<? $mesf=$mesi."-21"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia21']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia21']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=21" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia22']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia22']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia22']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia22']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia22']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia22']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=22" title="<? $mesf=$mesi."-22"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia22']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia22']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=22" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia23']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia23']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia23']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia23']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia23']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia23']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=23" title="<? $mesf=$mesi."-23"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia23']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia23']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=23" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia24']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia24']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia24']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia24']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia24']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia24']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=24" title="<? $mesf=$mesi."-24"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia24']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia24']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=24" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia25']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia25']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia25']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia25']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia25']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia25']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=25" title="<? $mesf=$mesi."-25"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia25']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia25']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=25" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia26']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia26']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia26']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia26']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia26']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia26']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=26" title="<? $mesf=$mesi."-26"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia26']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia26']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=26" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia27']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia27']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia27']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia27']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia27']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia27']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=27" title="<? $mesf=$mesi."-27"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia27']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia27']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=27" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia28']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia28']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia28']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia28']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia28']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia28']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=28" title="<? $mesf=$mesi."-28"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia28']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia28']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=28" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia29']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia29']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia29']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia29']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia29']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia29']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=29" title="<? $mesf=$mesi."-29"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia29']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia29']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=29" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia30']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia30']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia30']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia30']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia30']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia30']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=30" title="<? $mesf=$mesi."-30"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia30']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia30']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=30" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                    <td bgcolor="<? if($filas['dia31']=='IQT-LBC'){ echo "#FF6600";}elseif($filas['dia31']=='LBC-IQT'){ echo "#66CC66";}elseif($filas['dia31']=='IQT-RIO TIGRE'){ echo "#FF6600";}elseif($filas['dia31']=='RIO TIGRE-IQT'){ echo "#66CC66";}?>" class="lblForm2"><div align="center">
					<? if($filas['dia31']!=NULL){?>
					<a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia31']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=31" title="<? $mesf=$mesi."-31"; $result=$objPer->getObserT($filas['cod_control'],$mesf); while($row=$objPer->NextRow1($result)){ echo $row['obser']."(".$row['usuario'].")\n";}$objPer->Liberar1($result);?>" ><? echo $filas['dia31']?></a><? }else{?><a href="cvp_reg_ver1.php?cod_control=<? echo $filas['cod_control']?>&mat_transx=<? echo $filas['mat_trans'];?>&mat_trans=<? echo $mat_trans?>&mesx=<? echo $mes?>&ruta=<? echo $filas['dia31']?>&fechax=<? echo $filas['fecha']?>&m=<? echo $m?>&anio=<? echo $anio?>&d=31" title="Ingresar Comentario" ><? echo "--";?></a><? }?>
					</div></td>
                  </tr>
                  <? 
			}
			$objPer->Liberar($resultado); 
			} 
			?>
                </table>
            </div></td>
          </tr>
          <tr>
            <td colspan="5"><div align="left"><span class="lblForm"></span></div></td>
          </tr>
          <tr class="lblCampo">
            <td width="1017">
              <div align="left">Pagina <? echo ($pagina);?> de <? echo $total_paginas;?> </div></td>
            <td width="414"><div align="center">
                <? if($total_registros) {
		
		echo "<center>";
		
		if(($pagina - 1) > 0) {
			echo "<a href='cvp_tot_per_ruta.php?pagina=".($pagina-1)."&fecha1=$fecha1&fecha2=$fecha2'>< Anterior</a> ";
		}
		
		for ($i=1; $i<=$total_paginas; $i++){ 
			if ($pagina == $i) {
				echo "<b>".$pagina."</b> "; 
			} else {
				echo "<a href='cvp_tot_per_ruta.php?pagina=$i&fecha1=$fecha1&fecha2=$fecha2'>$i</a> "; 
			}	
		}
	  
		if(($pagina + 1)<=$total_paginas) {
			echo " <a href='cvp_tot_per_ruta.php?pagina=".($pagina+1)."&fecha1=$fecha1&fecha2=$fecha2'>Siguiente ></a>";
		}
		
		echo "</center>";
		
	}
	?>
            </div></td>
            <td width="796" colspan="3"><div align="right">Total de Registros <? echo $total_registros?></div></td>
          </tr>
          <tr>
            <td colspan="5">&nbsp;</td>
          </tr>
          <tr>
            <form name="form2" method="post" action="cvp_ubi_nave_print.php">
              <td colspan="5">
                <div align="center">
                  <table width="450" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="104"><div align="right">
                          <input type="hidden" name="Submit2" value=".:Imprimir:." style="<?=$stylo['st2']?>" class="botira">
                      </div></td>
                      <td width="93">&nbsp;
                      </td>
                      <td width="104"><div align="left">
                          <input type="hidden" name="Submit2" value=".:Regresar:." style="<?=$stylo['st2']?>" class="botira" onClick="volver(this.form);">
                      </div></td>
                    </tr>
                  </table>
              </div></td>
            </form>
          </tr>
        </table>
    </div></td>
    <td background="../estilo_tabla/parte_med_der.gif">&nbsp;</td>
  </tr>
  <tr>
    <td><img src="../estilo_tabla/parte_inf_izq.gif" width="25" height="25"></td>
    <td background="../estilo_tabla/parte_inf_cen.gif">&nbsp;</td>
    <td><img src="../estilo_tabla/parte_inf_der.gif" width="25" height="25"></td>
  </tr>
</table>
<map name="MapMap">
  <area shape="rect" coords="2,5,22,21" href="fondo.php">
</map>
<map name="Map">
  <area shape="rect" coords="2,5,22,21" href="fondo.php">
</map>
</body>

</html>

