Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.tpl.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Patrick J. Mizer  >  SimpleTPL  >  demo.tpl.php  >  Download  
File: demo.tpl.php
Role: Example script
Content type: text/plain
Description: demo template file
Class: SimpleTPL
Template engine based on PHP execution
Author: By
Last change:
Date: 2006-05-28 18:01
Size: 256 bytes
 

Contents

Class file image Download
<table>
    <tr>
        <td><b>Name:</b></td><td><?=$this->name?></td>
    </tr>
    <?PHP foreach($this->attributes as $attributeName => $attributeValue) { ?>
    <tr>
        <td><b><?=$attributeName?>:</b></td><td><?=$attributeValue?></td>
    </tr>
    <?PHP ?>
</table>