<?php include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.iptables-chains.inc'); $usersmenus=new usersMenus(); if($usersmenus->AsSystemAdministrator==false){exit();} if(isset($_GET["add-range"])){firewall_range_form();exit;} if(isset($_GET["iptables_rules"])){firewall_rules();exit();} if(isset($_GET["edit_rule"])){firewall_rule_form();exit;} if(isset($_POST["source_address"])){firewall_rule_save();exit;} if(isset($_POST["sources_addresses"])){firewall_rule_save_multiples();exit;} if(isset($_POST["DeleteIptableRule"])){firewall_rule_delete();exit;} if(isset($_POST["EnableFwRule"])){firewall_rule_enable();exit;} if(isset($_POST["EnableLog"])){firewall_rule_log();exit;} if(isset($_GET["add-multiple-rules"])){firewall_multiple_form();exit;} if(isset($_POST["range-from"])){firewall_range_save();exit;} if(isset($_POST["EmptyAll"])){firewall_empty();exit;} if(isset($_GET["options"])){options_js();exit;} if(isset($_GET["options-popup"])){options_popup();exit;} if(isset($_POST["EnableIptablesDNS"])){options_save();exit;} firewall_popup();
<?php include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.iptables-chains.inc'; $usersmenus = new usersMenus(); if ($usersmenus->AsSystemAdministrator == false) { exit; } if (isset($_GET["add-range"])) { firewall_range_form(); exit; } if (isset($_GET["iptables_rules"])) { firewall_rules(); exit; } if (isset($_GET["edit_rule"])) { firewall_rule_form(); exit; } if (isset($_POST["source_address"])) { firewall_rule_save(); exit; } if (isset($_POST["sources_addresses"])) { firewall_rule_save_multiples(); exit; } if (isset($_POST["DeleteIptableRule"])) {