<?php $arquivos = $this->dados['arquivos']; if (count($arquivos) > 0) { foreach ($arquivos as $arquivo) { ?> <tr class="odd gradeX"> <td><?php echo utf8_encode($arquivo['descricao']); ?> </td> <td><?php echo Validacoes::getDataVolta($arquivo['data_cadastro']); ?> </td> <td><?php echo Validacoes::getHora($arquivo['data_cadastro']); ?> </td> <td class="center"><a href="<?php echo $this->getBaseUrl() . $arquivo['endereco']; ?> " title="visuzalizar" target="_blank"><i class="fa fa-search"></i></a></td> <td class="center"><a href="<?php echo $this->getBaseUrl(); ?> remove-anexo/<?php echo $arquivo['idarquivo']; ?> " title="excluir"><i class="fa fa-trash-o"></i></a></td> </tr> <?php