<?php require_once '../core/News/NewsController.php'; require_once '../core/News/NewsDao.php'; require_once '../core/News/NewRSS.php'; require_once '../core/News/NewsHandler.php'; $response = NewsHandler::getAll(1); $total = NewsHandler::total(); $link = "admin/news"; ?> <?if(NewsHandler::hasNews()):?> <table class="list-publications" id="table-rss-news"> <thead> <tr> <th>Título</th> <th>Link RSS</th> <th>Excluir</th> </tr> </thead> <tfoot> <tr> <td></td><td></td><td></td> </tr> </tfoot> <tbody> <?foreach($response as $newRss):?> <tr id="<?echo $newRss->position()?>"> <td><?echo $newRss->title()?></td> <td><?echo $newRss->link()?></td> <td> <a id="<?echo $newRss->id()?>" class="delete"