folderstructure repo sources specs templates_c template index.tpl index.php Smarty.class.php specFileParser.class.php index.php: * @copyright Nicolas Christener, 2007 * @license GPL * @version 0.1 */ /** * Initialize some smarty stuff */ require_once('Smarty.class.php'); $smarty = new Smarty(); $smarty->template_dir = 'template/'; $smarty->compile_dir = 'templates_c'; $smarty->caching = false; /** * Initialize the parser object */ require_once('specFileParser.class.php'); $mySpecFileParser = new specFileParser('specs/'); $specInfos = $mySpecFileParser->getSpecInfos(); $smarty->assign('specInfos', $specInfos); $smarty->display('index.tpl');