Пример #1
0
	}
	
	if(isset($_GET["iptables"])){iptables_tabs();exit;}
	if(isset($_GET["iptables-table"])){iptables_table();exit;}
	if(isset($_GET["rules"])){rules();exit;}
	if(isset($_GET["ruleid"])){rule_js();exit;}
	if(isset($_GET["rule-tabs"])){rule_tab();exit;}
	if(isset($_GET["rule-popup"])){rule_popup();exit;}
	if(isset($_POST["isFW"])){isFW_save();exit;}
	if(isset($_POST["rule-save"])){rule_save();exit;}
	if(isset($_GET["groupname"])){groupname();exit;}
	if(isset($_POST["rule-order"])){rule_order();exit;}
	if(isset($_POST["rule-delete"])){rule_delete();exit;}
	if(isset($_POST["rule-enable"])){rule_enable();exit;}
	if(isset($_GET["rule-time"])){rule_time();exit;}
	if(isset($_POST["time-save"])){time_save();exit;}
	if(isset($_GET["generic"])){generic_tabs();exit;}
	if(isset($_POST["EnableArticaAsGateway"])){EnableArticaAsGateway_save();exit;}
	tabs();
	
function tabs(){
	if(GET_CACHED(__FILE__, __FUNCTION__, __FUNCTION__)){return;}
	$page=CurrentPageName();
	$net=new networking();
	$interfaces=$net->Local_interfaces();
	$tpl=new templates();
	$generic=$tpl->_ENGINE_parse_body("{central_rules}");
	unset($interfaces["lo"]);
	ksort($interfaces);
	$fontsize="font-size:18px;";
	
Пример #2
0
	
	if(isset($_GET["reactivate-squid"])){reactivate_squid();exit;}
	
	if(isset($_GET["ajaxmenu"])){main_switch();exit;}
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_GET["fqdncache_size"])){main_save_array();exit;}
	if(isset($_GET["applysquid"])){applysquid();exit;}
	
	
	if(isset($_GET["wait-finish"])){exit;};
	if(isset($_GET["cache-list"])){echo cache_list();exit;}
	
	if(isset($_GET["connection-time"])){echo time_global();exit;}
	if(isset($_GET["connection-time-showgroup"])){echo time_groups();exit;}
	if(isset($_GET["connection-time-rule"])){echo time_rule();exit;}
	if(isset($_GET["end_time_hour"])){time_save();exit;}
	if(isset($_GET["time-rule-list"])){echo time_rule_list($_GET["gpid"],$_GET["ou"]);exit;}
	if(isset($_GET["ConnectionTimeDelete"])){time_rule_delete();exit;}
	
	if(isset($_GET["changecache-js"])){changecache_js();exit;}
	if(isset($_GET["changecache-popup"])){changecache_popup();exit;}
	if(isset($_GET["changecache-popup-content"])){changecache_popup_content();exit;}
	if(isset($_GET["SaveNewChache"])){changecache_save();exit;}
	
	
	
	
	if(isset($_GET["liste-des-caches"])){main_cache_list();exit;}
	
	
	if(isset($_GET["squid-net-loupe-js"])){net_control_center_js();exit;}
Пример #3
0
    exit;
}
if (isset($_GET["connection-time"])) {
    echo time_global();
    exit;
}
if (isset($_GET["connection-time-showgroup"])) {
    echo time_groups();
    exit;
}
if (isset($_GET["connection-time-rule"])) {
    echo time_rule();
    exit;
}
if (isset($_GET["end_time_hour"])) {
    time_save();
    exit;
}
if (isset($_GET["time-rule-list"])) {
    echo time_rule_list($_GET["gpid"], $_GET["ou"]);
    exit;
}
if (isset($_GET["ConnectionTimeDelete"])) {
    time_rule_delete();
    exit;
}
if (isset($_GET["changecache-js"])) {
    changecache_js();
    exit;
}
if (isset($_GET["changecache-popup"])) {