PHP Classes

File: t1.tpl

Recommend this page to a friend!
  Classes of Stefan Bocskai  >  QuickTemplate  >  t1.tpl  >  Download  
File: t1.tpl
Role: ???
Content type: text/plain
Description: Sample template
Class: QuickTemplate
Author: By
Last change:
Date: 15 years ago
Size: 840 bytes


Class file image Download
<!-- BEGIN BLOCK: main -->

<h1>This is a test of {DEFAULTS.VERSION}.Author: {MYNAME}</h1>
The location of this file is: {DEFAULTS.SELFURL}<br>

 <!-- BEGIN BLOCK: table -->
 <table border="1">
  <td>Mark</td><td>Class room</td>

  <!-- BEGIN BLOCK: row -->
     <td align="right">{DATA.MARK}</td>
  <!-- END BLOCK: row -->
  <!-- BEGIN BLOCK: error -->
   <tr><td colspan="4"><font color="red">
   No students in class {CLASSROOM}
  <!-- END BLOCK: error -->

 <!-- END BLOCK: table -->

<p align="right">
Current time <b>{DEFAULTS.TIME}</b><br>
Date: <b>{DEFAULTS.DATE}</b><br>

<!-- END BLOCK: main -->