예제 #1
0
    exit;
}
if (isset($_GET["enable_plugins"])) {
    plugins_save();
    exit;
}
if ($_GET["script"] == "url_regex") {
    echo url_regex_js();
    exit;
}
if (isset($_GET["url_regex_list"])) {
    echo url_regex_popup_list();
    exit;
}
if ($_GET["script"] == "user-agent-ban") {
    echo user_agent_ban_js();
    exit;
}
if (isset($_GET["user-agent-ban"])) {
    echo user_agent_ban_popup();
    exit;
}
if (isset($_GET["user-agent-ban-db"])) {
    echo user_agent_ban_index();
    exit;
}
if (isset($_GET["user-agent-ban-search"])) {
    user_agent_ban_search();
    exit;
}
if (isset($_GET["user-agent-ban-add"])) {
예제 #2
0
	if($_GET["script"]=="visible_hostname"){echo visible_hostname_js();exit;}
	if($_GET["script"]=="ldap"){echo ldap_js();exit;}
	if($_GET["script"]=="dns"){echo dns_js();exit;}
	
	
	//plugins
	if($_GET["script"]=="plugins"){echo plugins_js();exit;}
	if($_GET["content"]=="plugins"){echo plugins_popup();exit;}
	if(isset($_GET["enable_plugins"])){plugins_save();exit;}
	
	
	if($_GET["script"]=="url_regex"){echo url_regex_js();exit;}
	if(isset($_GET["url_regex_list"])){echo url_regex_popup_list();exit;}
	
	
	if($_GET["script"]=="user-agent-ban"){echo user_agent_ban_js();exit;}
	if(isset($_GET["user-agent-ban"])){echo user_agent_ban_popup();exit;}
	if(isset($_GET["user-agent-ban-db"])){echo user_agent_ban_index();exit;}		
	if(isset($_GET["user-agent-ban-search"])){user_agent_ban_search();exit;}
	if(isset($_GET["user-agent-ban-add"])){user_agent_ban_add();exit;}
	if(isset($_GET["user-agent-ban-list"])){user_agent_ban_list();exit;}
	if(isset($_GET["EnableUserAgentBanAll"])){user_agent_ban_enable();exit;}
	if(isset($_GET["UserAgentBanDeleteDB"])){user_agent_ban_delete();exit;}
	
	
	
	
	if($_GET["content"]=="dns"){echo dns_popup();exit;}
	if($_GET["content"]=="network"){echo network_popup();exit;}
	if($_GET["content"]=="listen_port"){echo listen_port_popup();exit;}
	if($_GET["content"]=="visible_hostname"){echo visible_hostname_popup();exit;}