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: 8 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>