</div> <div class="clear"></div> <div class="grid_8"> <div class="box"> <h2>Recently Created Pages</h2> <div class="block"> <table> <thead> <tr> <th>Page Title</th> <th>Page Type</th> </tr> </thead> <?php $recent_pages = Page::getLatestPages(); if($recent_pages) { foreach($recent_pages as $page) { ?> <tr> <td> <?=$this->html->link($page->title, array('controller' => 'pages', 'action' => 'read', 'url' => $page->url)); ?> </td> <td> <?php if(!empty($page->page_type)) { echo '<em>(' . $page->page_type . ')</em>'; } else { echo '<em>(page)</em>'; } ?> </td> </tr>