}
}
?>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		<table>
		<tr align="center">
				<td>
					<?php 
if ($acao == 'leitura') {
    $campos = "\tx21_exerc,\n\t      \t\t\t  \t\t\tx21_mes,\n\t\t\t\t        \t\t\tx17_descr,\n\t\t\t\t        \t\t\tx21_dtleitura,\n\t\t\t\t        \t\t\tx21_dtinc,\n\t\t\t\t        \t\t\tx21_leitura,\n\t\t\t\t        \t\t\tx21_consumo as x19_conspadrao,\n\t              \t\t\tx21_consumo + x21_excesso as x21_consumo,\n\t\t\t\t        \t\t\tx21_excesso\n\t\t\t\t        \t\t\t";
    db_lovrot($Consulta->GetAguaLeituraSQL(0, $campos), 12, '', '', 'NoMe');
} else {
    if ($acao == 'hidrometros') {
        db_lovrot($Consulta->GetAguaHidroMatricSQL(), 10, '', '', 'NoMe');
    }
}
?>
				</td>
			</tr>
		</table>
		</td>
		</tr>
			<tr>
				<td align="center"><input type="button" value="Voltar" class="botao"
					onclick="js_voltar();"></td>
			</tr>