Exemplo n.º 1
0
    exit;
}
if (isset($_POST["url_rewrite_bypass"])) {
    url_rewrite_bypass_save();
    exit;
}
if (isset($_GET["force-reload-js"])) {
    force_reload_js();
    exit;
}
if (isset($_POST["force-reload-perform"])) {
    force_reload_perform();
    exit;
}
if (isset($_GET["import-export"])) {
    import_export();
    exit;
}
if (isset($_GET["TestsSocket"])) {
    TestsSocket();
    exit;
}
js();
function force_reload_js()
{
    $page = CurrentPageName();
    $html = "\n\tvar x_force_reload_ufdb=function (obj) {\n\t\t var tempvalue=obj.responseText;\n      \tif(tempvalue.length>3){alert(tempvalue);}\n\t}\t\n\tfunction force_reload_ufdb(){\n\t\tvar XHR = new XHRConnection();\n\t\tXHR.appendData('force-reload-perform',1);\n    \tXHR.sendAndLoad('{$page}', 'POST',x_force_reload_ufdb);\n\t}\n\n\tforce_reload_ufdb();\n\t";
    echo $html;
}
function force_reload_perform()
{
Exemplo n.º 2
0
	}	
	
	
	if(isset($_GET["behavior"])){behavior();exit;}
	if(isset($_GET["client-js"])){client_js();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["ufdbperf"])){ufdbperf();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["enforce-https-with-hostname"])){save_ssl();exit;}
	if(isset($_GET["ufdbclient"])){ufdbclient_popup();exit;}
	if(isset($_POST["url_rewrite_children_max"])){save_ssl();exit;}
	if(isset($_POST["UseRemoteUfdbguardService"])){save_ssl();exit;}
	if(isset($_POST["url_rewrite_bypass"])){url_rewrite_bypass_save();exit;}
	if(isset($_GET["force-reload-js"])){force_reload_js();exit;}
	if(isset($_POST["force-reload-perform"])){force_reload_perform();exit;}
	if(isset($_GET["import-export"])){import_export();exit;}
	if(isset($_GET["TestsSocket"])){TestsSocket();exit;}
	js();

	
function force_reload_js(){
	$page=CurrentPageName();
	$html="
	var x_force_reload_ufdb=function (obj) {
		 var tempvalue=obj.responseText;
      	if(tempvalue.length>3){alert(tempvalue);}
	}	
	function force_reload_ufdb(){
		var XHR = new XHRConnection();
		XHR.appendData('force-reload-perform',1);
    	XHR.sendAndLoad('$page', 'POST',x_force_reload_ufdb);