PHP Classes

File: views/frontend/index.phtml

Recommend this page to a friend!
  Classes of carlos carvalho  >  COC Framework  >  views/frontend/index.phtml  >  Download  
File: views/frontend/index.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: COC Framework
Web application development MVC framework
Author: By
Last change:
Date: 5 years ago
Size: 344 bytes
 

Contents

Class file image Download
<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<h2><?php echo $titulo; ?></h2>

<?php
if (isset($posts)):
   
?>
<ul>
        <?php
       
foreach ($posts as $post):
                echo
"<li>{$post->titulo}</li>";

        endforeach;
       
?>
</ul>
    <?php
endif;
?>

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