<?php
+ session_start();
+ require_once ("paths.php");
+ require_once ($smarty_path."Smarty.class.php");
+ require_once ("bweb.inc.php");
+ require_once ("config.inc.php");
+ $smarty = new Smarty();
+ $dbSql = new Bweb();
+
+ require("lang.php");
+
+ // Smarty configuration
+ $smarty->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');
?>