PHP Classes

File: templates/CONTAINER.html

Recommend this page to a friend!
  Classes of Jose Maria Rodriguez Millan  >  Siviglia Templating  >  templates/CONTAINER.html  >  Download  
File: templates/CONTAINER.html
Role: Example script
Content type: text/plain
Description: sample template
Class: Siviglia Templating
Template engine that uses PHP as template language
Author: By
Last change:
Date: 11 years ago
Size: 820 bytes


Class file image Download
=array(array("title"=>"Title 1",
"contents"=>"Lorem ipsum dolor sit amet,"),
"title"=>"Title 2",
"contents"=>"Curabitur eget neque libero."),
"title"=>"Title 3",
"contents"=>"Integer vulputate turpis")
    <?php for($__k=0;$__k<count($c);$__k++){?>
   <!-- This comment will not appear in the generated code,
   as it's outside any widget sub-tag -->
                <?php echo $c[$__k]["title"]?>
                <?php echo $c[$__k]["contents"]?>
   <?php } ?>

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