Login   Register  
PHP Classes
elePHPant
Icontem

File: t1.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 13 years ago
Size: 840 bytes
 

Contents

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>
<hr>

 <!-- BEGIN BLOCK: table -->
 <table border="1">
 <tr>
  <td>Crt.no.</td><td>Name</td>
  <td>Mark</td><td>Class room</td>
 </tr>

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

 </table>
 <!-- END BLOCK: table -->

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

<!-- END BLOCK: main -->