Location: PHPKode > scripts > Siviglia Templating > templates/CONTAINER.html
<?php
   $c=array(array("title"=>"Title 1",
                  "contents"=>"Lorem ipsum dolor sit amet,"),
            array("title"=>"Title 2",
                  "contents"=>"Curabitur eget neque libero."),
            array("title"=>"Title 3",
                  "contents"=>"Integer vulputate turpis")
            );
?>
[_BOXCONTAINER]
   [_PRE]
    <?php for($__k=0;$__k<count($c);$__k++){?>
   [/PRE] 
   <!-- This comment will not appear in the generated code, 
   as it's outside any widget sub-tag -->
        [_ITEM]
            [_TITLE]
                <?php echo $c[$__k]["title"]?>
            [/TITLE]
            [_CONTENTS]
                <?php echo $c[$__k]["contents"]?>
            [/CONTENTS]
        [/ITEM]
   [_POST]
   <?php } ?>
   [/POST]
[/BOXCONTAINER]
            
Return current item: Siviglia Templating