if(isset($_GET["debug-page"])){ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);$GLOBALS["VERBOSE"]=true;} if(!CheckSambaRights()){ $tpl=new templates(); $ERROR_NO_PRIVS=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}"); echo "<H1>$ERROR_NO_PRIVS</H1>";die(); } if(isset($_GET["change-role"])){change_role_explain();exit;} if(isset($_GET["change-role-form"])){change_role_form();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["exp-security-explain"])){security_user_explain();exit;} if(isset($_POST["neighborhood-save"])){neighborhood_save();exit;} js(); function js(){ $tpl=new templates(); $page=CurrentPageName(); $windows_network_neighborhood=$tpl->_ENGINE_parse_body('{windows_network_neighborhood}'); $html="YahooWinBrowse('550','$page?popup=yes','$windows_network_neighborhood')"; echo $html; } function popup(){
exit; } if (isset($_GET["vfs_object"])) { save_folder_vfs(); exit; } if (isset($_GET["upload"])) { main_kav4samba_upload_licence(); exit; } if (isset($_GET["neighborhood"])) { neighborhood_index(); exit; } if (isset($_GET["neighborhood-save"])) { neighborhood_save(); exit; } if (isset($_GET["DomainAdmin"])) { DomainAdmin_index(); exit; } if (isset($_GET["domain-admin-save"])) { DomainAdmin_save(); exit; } if (isset($_GET["syncronize"])) { syncronize_js(); exit; } if (isset($_GET["syncronize-confirm"])) {