PHP Classes

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

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/blog/app/admin/templates/comments/listing.php   Download  
File: examples/blog/app/admin/templates/comments/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: 594 bytes
 

Contents

Class file image Download
<h1>Manage comments</h1>
<p>This is a list of comments.</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['author']) . '</td>';
        echo
'<td>' . $this->escape($row['comment']) . '</td>';
        echo
'<td><a href="admin/comments/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>