<?php
/*
@author: Minnur Yunusov (mmyunusov@gmail.com)
@date: 12 March 2007
@about: Additional function to T.Parse.HTML.class.php
function HTML ( arguments [array], tpl_name [string] ) [string]
e.g:
echo HTML(array('key' => 'replaced value'), 'tmp/test');
*/
function HTML($array, $tpl_name) {
global $dir_array;
require_once($dir_array[3]."T.Parse.class.php");
$CallClass = new ParseHTMLTemplate ($tpl_name, $array);
$CallTemplate = $CallClass -> ParseHTMLTemplate ();
return $CallTemplate;
}
?>
|