Código PHP:
Ver original
<table border="1"><tr> <td align="center"><?php echo $this->lang->line('label.id_aseguradora'); ?></td> <td align="center"><?php echo $this->lang->line('label.aseguradora'); ?></td> <td align="center"><?php echo $this->lang->line('label.direccion'); ?></td> <td align="center"><?php echo $this->lang->line('label.logo'); ?></td> <td align="center"><?php echo $this->lang->line('label.url_portal'); ?></td> <td align="center"><?php echo $this->lang->line('label.activo'); ?></td> <td> </td> <td> </td> <td> </td> </tr><?php foreach($elements as $element) : ?><tr> <td><?php echo $element->get_id_aseguradora(); ?></td> <td><?php echo $element->get_aseguradora(); ?></td> <td><?php echo $element->get_direccion(); ?></td> <td><?php echo $element->get_logo(); ?></td> <td><?php echo $element->get_url_portal(); ?></td> <td><?php echo $element->get_activo(); ?></td> <td> <?php echo anchor('Aseguradoras/view/' . $element->get_id_aseguradora(), 'view'); ?></td> <td> <?php echo anchor('Aseguradoras/edit/' . $element->get_id_aseguradora(), 'edit'); ?></td> <td> <?php echo anchor('Aseguradoras/delete/' . $element->get_id_aseguradora(), 'delete'); ?></td> </tr><?php endforeach; ?></table><div class="pagination"><?php echo $pagination; ?></div><?php } else { ?><div class="message info"><?php echo $this->lang->line('message_info.no_results'); ?></div><?php } ?>