Location: PHPKode > scripts > Template Lite > template-lite/generator.php
// load the template
$template = new templateadm('blog.temp');
// Print the block named head
// Print a box inside the template
$template->generate_t("blogbox",array('title' => 'a title', 'postby' => 'anima', 'time' => 0, 'postid' => '1', 'texte' => 'A little text that will appear in the box'));
// The number of arguments in the array is virtually limitless.
// They do not need to be declared first, nor do they
// have to be in the template. all ^[a-z0-9]% (case insensitive)
// variables in the templates will be replaced, IF there is a similar
// argument in the array.
Return current item: Template Lite