</tr>
		<?php 
}
//Hidrometros
?>
 	</table></td></tr>
 	</table>
 	<br/>
 	
 	<table width="100%">
		<tr>
			<td align="center"><strong style="font-size:13px">HIDR&Ocirc;METROS</strong></td>
		</tr>
		
	<?php 
$result = $consulta->RecordSetAguaHidroMatric();
if ($result) {
    $linhas = pg_numrows($result);
} else {
    $linhas = 0;
}
if ($linhas > 0) {
    $rotulo->label("x04_nrohidro");
    $rotulo->label("x04_qtddigito");
    $rotulo->label("x04_dtinst");
    $rotulo->label("x04_leitinicial");
    $rotulo->label("x15_diametro");
    $rotulo->label("x03_nomemarca");
    $rotulo->label("x28_dttroca");
    $rotulo->label("x28_obs");
    for ($i = 0; $i < $linhas; $i++) {