<?php
require_once("../x64Template.php");
//
//We start the object
//
$tpl=new x64Template();
//
//We set some values
//
$tpl->set("title","x64Template - First example");
$tpl->set("keywords","x64Template, first example");
$tpl->set("description","x64Template - First example showing how to use the class");
$tpl->set("author","Atomo64");
$tpl->set("robots","None");
$tpl->set("message","Hi there!, how do you like the class?");
//
//Now we tell the class to parse a file
//
die($tpl->fetch("templates/example1.tpl"));
?>
|