PHP Classes

File: examples/blog/app/admin/templates/posts/listing.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/blog/app/admin/templates/posts/listing.php   Download  
File: examples/blog/app/admin/templates/posts/listing.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 548 bytes
 

Contents

Class file image Download
<h1>Manage Posts</h1>
<p>This is a list of blog posts.</p>
<?php
   
// display the data
   
echo '<table width="100%" border="0">';
    foreach (
$rows as $row) {
        echo
'<tr>';
        echo
'<td>' . (int) $row['id'] . '.&nbsp;</td>';
        echo
'<td>' . $this->escape($row['title']) . '</td>';
        echo
'<td><a href="admin/posts/edit/?id=' . (int) $row['id'] . '">edit</a>&nbsp;</td>';
        echo
'</tr>';
    }
    echo
'</table>';
   
    echo
'<br/><div>Page: ' . (int) $links . '</div>';
?>
<div><a href="admin/">return to admin menu</a></div>