$node = nodes::getNodeById($_GET['node_id'],$_SESSION['user_id']);
}
+//XXX Paths are wrong (!)
//loading smarty template engine and setting main parameters
require(SMARTY_DIR.'Smarty.class.php');
$smarty = new Smarty;
+//$smarty->php_handling = SMARTY_PHP_REMOVE; //XXX
$smarty->template_dir = TEMPLATE_DIR.TEMPLATE_SET;
//echo TEMPLATE_DIR.TEMPLATE_SET;
//echo $smarty->template_dir;
else {
- $log->log('enter',$node['node_id'],'failed'); XXX
+ $log->log('enter',$node['node_id'],'failed');
}
$smarty->assign('crypto_pass',$_SESSION['crypto'][$node['node_id']]);
}
-//hlaska
-//$error .= "ocakavajte planovany vypadok okolo 6 hodiny <br>
-//s pozdravom br .)";
-//$error .= "dnes od 22:00 zurka v subclube! ucast povinna!";
-
$smarty->assign('error',$error);
$smarty->assign('permissions',$permissions);
$smarty->assign('current_vector',$node['node_vector']);