PHP Classes

File: test.tpl

Recommend this page to a friend!
  Classes of Chris Lam  >  Booster Template  >  test.tpl  >  Download  
File: test.tpl
Role: Auxiliary data
Content type: text/plain
Description: Sample template file
Class: Booster Template
Compiled template engine
Author: By
Last change: n/a
Date: 13 years ago
Size: 612 bytes


Class file image Download
{* This is a comment *}

{* Include another template *}
{include header}

{* Same as foreach($rows as $row) *}
{loop $rows $row}
	$row<br />
	no record found

<br />

{* Same as foreach($rows as $key => $row) *}
{loop $rows $key $row}
	{if $key == 0}
		$key => <strong>$row</strong>
		{* Use the count_chars method in my text Helper class *}
		$key => {$row|trim|number_format:2}
	<br />
	no record found

<br />

{eval $i = 0}
The value of {='$i'} is $i

<br /><br />

OS: {PHP_OS}<br />
{lang memory_usage}: {MEMORY_USAGE}
For more information send a message to info at phpclasses dot org.