PHP Classes

File: demo.tpl.php

Recommend this page to a friend!
  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: 18 years ago
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>