<?php include_once 'core/ofertas-core.php'; $Ofertas = new Ofertas(); $Ofertas->listaOfertasAdmin(); if ($dadosOfertas = $Ofertas->obterOfertas()) { ?> <h3>Listando ciclos de ofertas já cadastrados</h3> <br /> <table class="wp-list-table widefat fixed pages" cellspacing="0" style="width:95%;"> <thead> <tr> <th> Informações </th> <th> Mês </th> <th> Ciclo </th> <th> Ações </th> </tr> </thead> <tbody> <?php foreach ($dadosOfertas as $dadosOfertas) { ?>