VlibTemplate is a template language created in 2003.
#4608on PLDB | 21Years Old |
vlibTemplate is a template engine written in PHP. Programmers and web developers may use it for web development. vlibTemplate is a PHP class that is intended to make splitting PHP from HTML a simple and natural task, using markup tags. Read more on Wikipedia...
require_once 'vlib/vlibTemplate.php';
$tmpl = new vlibTemplate('tmpl/basic.htm');
$tmpl->setvar('title_text', 'TITLE: This is the vLIB basic example ...');
$tmpl->setvar('body_text', 'BODY: This is the message set using setvar()');
$tmpl->setvar('div_cont' , 'DIV : This is div paragraph');
$tmpl->pparse();