3 require_once ("paths.php");
4 require_once ($smarty_path."Smarty.class.php");
5 require_once ("bweb.inc.php");
6 require_once ("config.inc.php");
8 $smarty = new Smarty();
11 // Smarty configuration
12 $smarty->compile_check = true;
13 $smarty->debugging = false;
14 $smarty->force_compile = true;
16 $smarty->template_dir = "./templates";
17 $smarty->compile_dir = "./templates_c";
18 $smarty->config_dir = "./configs";
20 // Get volumes list (pools.tpl)
21 $smarty->assign('pools',$dbSql->GetVolumeList() );
23 $smarty->display('pools.tpl');