PHP Classes

File: template/project/content/blog.php

Recommend this page to a friend!
  Classes of Dave Smith   Amp Frame   template/project/content/blog.php   Download  
File: template/project/content/blog.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Amp Frame
MVC framework for developing Web applications
Author: By
Last change:
Date: 5 years ago
Size: 438 bytes
 

Contents

Class file image Download
<?php
/*
AMP Frame ver 1.0.0
Project Template
template/project/content/blog.php
Blog Page Content
*/
if( !defined('AFALLOW') ){
    die(
'direct access not allowed');
}
?>
<?php
foreach( $this->model->afmPage->blogData as $data ){
?>
<h2><?php echo $data['heading'];?></h2>
      <h5><?php echo $data['desc'];?></h5>
      <?php echo $data['image'];?>
<?php echo $data['content'];?>
<br>
<?php
}
?>