//ISENÇÕES
?>
 </table>
 </td>
 </tr>
 </table>
 
 <br/>
 <table width="100%">
 	<tr>
		<td align="center"><strong style="font-size:13px">ISEN&Ccedil;&Otilde;ES</strong></td>
	</tr>
	<tr><td>
	<table width="100%" border="1"  cellpadding="0" cellspacing="0" bordercolor="#cccccc">
  <?php 
$result = $consulta->RecordSetAguaIsencaoRec();
if ($result) {
    $linhas = pg_numrows($result);
} else {
    $linhas = 0;
}
if ($linhas > 0) {
    for ($i = 0; $i < $linhas; $i++) {
        db_fieldsmemory($result, $i);
        ?>
			<tr>
				<td>&nbsp;<?php 
        echo db_formatar($x10_dtini, 'd');
        ?>
 a 
				    &nbsp;<?php