compile_check = true; $smarty->debugging = false; $smarty->force_compile = true; $smarty->template_dir = "./templates"; $smarty->compile_dir = "./templates_c"; $smarty->config_dir = "./configs"; // Get volumes list (pools.tpl) $smarty->assign('pools',$dbSql->GetVolumeList() ); $smarty->display('pools.tpl'); ?>