Login   Register  
PHP Classes
elePHPant
Icontem

File: application/view/Index/news.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Muhammad Mengrani  >  PHP-MVC  >  application/view/Index/news.php  >  Download  
File: application/view/Index/news.php
Role: Auxiliary script
Content type: text/plain
Description: Class source
Class: PHP-MVC
Library that implements the MVC design pattern
Author: By
Last change:
Date: 1 year ago
Size: 462 bytes
 

Contents

Class file image Download
<?php require 'application/view/template/header.php';?>
<table align="center" width="900px">
    <tr>
        <td align="center"><?php //echo $this->log;?> <!-- messages --></td>
    </tr>
    <tr valign="top">
        <td>
        <?php foreach ($this->data as $value):?>
        <div class="well">
        <h3><?php echo $value['Title']?></h3>
        <hr>
        <p><?php echo $value['Body']?></p>
        </div>
        <?php endforeach;?>
        </td>
    </tr>
</table>
<?php require 'application/view/template/footer.php';?>