require_once 'tempalte.class.php'; $tpl = new Tempalte; $tpl->strTemplateDir = './Path/To/Your/Template/Dir'; $tpl->strCacheDir = './Path/To/Yuor/Cache/Dir'; $tpl->assign( 'Test', 'Hello' ); $tpl->display( 'Your_Template_File.tpl' );