예제 #1
0
    exit;
}
if (isset($_GET["automation-popup"])) {
    automation_popup();
    exit;
}
if (isset($_POST["AutomationScript"])) {
    SaveAutomation();
    exit;
}
if (isset($_GET["setup-ufdbguard"])) {
    setup_ufdbguard();
    exit;
}
if (isset($_POST["EnableUfdbGuard"])) {
    EnableUfdbGuard();
    exit;
}
if (isset($_GET["progressbar-js"])) {
    progressbar_js();
    exit;
}
if (isset($_GET["ShowProgress-js"])) {
    progressbar_js();
    exit;
}
if (isset($_GET["video-proxy"])) {
    video_proxy();
    exit;
}
js();
예제 #2
0
if(isset($_POST["savedsettings"])){save();exit;}
if(isset($_GET["settings-dns"])){dns_save();exit;}
if(isset($_GET["settings-ou"])){ou_save();exit;}
if(isset($_GET["settings-final"])){final_show();exit;}
if(isset($_GET["setup-proxy-type"])){setup_proxy_type();exit;}
if(isset($_GET["setup-active-directory"])){setup_active_directory();exit;}
if(isset($_GET["setup-features"])){setup_features();exit;}
if(isset($_POST["EnableKerbAuth"])){setup_active_directory_save();exit;}
if(isset($_POST["SquidPerformance"])){setup_features_save();exit;}

if(isset($_GET["automation"])){automation_js();exit;}
if(isset($_GET["automation-js"])){automation_js();exit;}
if(isset($_GET["automation-popup"])){automation_popup();exit;}
if(isset($_POST["AutomationScript"])){SaveAutomation();exit;}
if(isset($_GET["setup-ufdbguard"])){setup_ufdbguard();exit;}
if(isset($_POST["EnableUfdbGuard"])){EnableUfdbGuard();exit;}
if(isset($_GET["progressbar-js"])){progressbar_js();exit;}
if(isset($_GET["ShowProgress-js"])){progressbar_js();exit;}
if(isset($_GET["video-proxy"])){video_proxy();exit;}
js();


function automation_js(){
	$sock=new sockets();
	$WizardSavedSettings=unserialize(base64_decode($sock->GET_INFO("WizardSavedSettings")));
	$WizardSavedSettingsSend=$sock->GET_INFO("WizardSavedSettingsSend");
	if(!is_numeric($WizardSavedSettingsSend)){$WizardSavedSettingsSend=0;}
	if($WizardSavedSettingsSend==1){die("Already posted..");}
	if($WizardSavedSettings["company_name"]<>null){die("Already posted..");}