File: examples/cms/app/blog/templates/singlePost.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/cms/app/blog/templates/singlePost.php  >  Download  
File: examples/cms/app/blog/templates/singlePost.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: 5 years ago
Size: 407 bytes
 

Contents

Class file image Download

   
    <h3>This is the post you selected</h3>
    <ul>
    <?php foreach($content as $article){
        echo
'<li>';
        echo
'<h4><a href="'. $article['permalink'] . '">' . $article['title'] . '</a></h4>';
        echo
'<p>' . $article['date'] . '</p>';
        echo
'<p>' . $article['excerpt'] . '</p>';
        echo
'<p>' . $article['content'] . '</p>';
        echo
'</li>';
    }
?>
</ul>
    <h3>Comments for this post:</h3>
    <p>not yet ;)</p>

For more information send a message to info at phpclasses dot org.