PHP Classes

File: test.tpl

Recommend this page to a friend!
  Classes of Gregory   PHTML::Template v2   test.tpl   Download  
File: test.tpl
Role: Auxiliary data
Content type: text/plain
Description: templates/test.tpl
Class: PHTML::Template v2
PHP template compiler engine
Author: By
Last change: new examples added
Date: 19 years ago
Size: 802 bytes
 

Contents

Class file image Download
<html> <head> <title><TMPL_VAR title></title> <link rel="stylesheet" href="/ctpl/css/winki.css" type="text/css"> </head> <body> <br /> <h1><TMPL_VAR title></h1> <div id="main"> <!-- TEMPLATE DRIVER TEST --> Version: <b><TMPL_VERSION></b><br /> Current date and time: <TMPL_TIME Y-m-d H:i:s><br /> Current timestamp: <TMPL_TIMESTAMP><br /> <br /> <TMPL_INCLUDE inc> <br /> Nested 'LOOP' section:<br /> <table border="0" cellpadding="3" cellspacing="1" width="100%"> <TMPL_LOOP rows> <tr bgcolor="#<TMPL_VAR color>"> <TMPL_LOOP cols> <TMPL_IF odd> <td><TMPL_VAR var1></td> <TMPL_ELSE> <td><b><TMPL_VAR var1></b></td> </TMPL_IF> </TMPL_LOOP> </tr> </TMPL_LOOP> </table> </div> <span id="copy">&copy; Gregory A. Rozanoff, 2004.</span> </body> </html>