<?php
require('class.template.php');
$tst = new thorpesystems_template();
$tst->load('example.html');
$tst->parse('head',array('title'=>'thorpesystems'));
$tst->parse('user_details',array('name'=>'boo','pass'=>'tester','mail'=>'boo@bob.com'));
$tst->parse('user_details',array('name'=>'bob','pass'=>'tester','mail'=>'bob@bob.com'));
$tst->parse('user_details',array('name'=>'tai','pass'=>'tester','mail'=>'tai@bob.com'));
$tst->parse('foot');
$tst->render();
?>
|