Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created May 23, 2011 19:34
Show Gist options
  • Save eminetto/987382 to your computer and use it in GitHub Desktop.
Save eminetto/987382 to your computer and use it in GitHub Desktop.
<?php
foreach($this->data as $d) {
        ?>
                <h2><?php echo $d['title']; ?></h2>
                <p><?php echo $d['description']; ?></p>
                <p><a href="<?php echo BASE_URL;?>/admin/admin/edit/id/<?php echo $d['id']; ?>">Editar</a></p>
                <p><a href="<?php echo BASE_URL;?>/admin/admin/del/id/<?php echo $d['id']; ?>">Excluir</a></p>
        <?php
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment