Location: PHPKode > scripts > Thorpe Systems template > thorpe-systems-template/example.php
<?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'=>'hide@address.com'));
  $tst->parse('user_details',array('name'=>'bob','pass'=>'tester','mail'=>'hide@address.com'));
  $tst->parse('user_details',array('name'=>'tai','pass'=>'tester','mail'=>'hide@address.com'));
  $tst->parse('foot');
  $tst->render();
  
?>
Return current item: Thorpe Systems template