<?php require 'validaSessao.php'; require_once '../general/autoload.php'; $o_inscricao = new InscricaoDAO(); $a_pagamentos = $o_inscricao->total_de_pagamentos_por_compensacao(); if (!$a_pagamentos) { die("<h2>Nenhuma inscrição encontrada</h2></center>"); } ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Pagamentos por Data de Compensação</title> <link href="css/admin.css" rel="stylesheet" /> </head> <body> <center> <h2>Pagamentos por Data de Compensação</h2> </center> <table width="20%" border="1" class="bordasimples"> <tr style="font-weight: bold"> <td align="center">Data</td> <td align="right">Valor</td> </tr> <?php $total = 0; foreach ($a_pagamentos as $pagamento) { ?> <tr>