header("Cache-Control: no-cache, must-revalidate");	
	if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);}
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.system.nics.inc');
	include_once('ressources/class.maincf.multi.inc');
	include_once('ressources/class.tcpip.inc');
	$usersmenus=new usersMenus();
	if($usersmenus->AsSystemAdministrator==false){exit();}
	if(isset($_GET["bridge-list"])){bridge_list();exit;}
	if(isset($_GET["network-bridge-js"])){network_bridge_js();exit;}
	if(isset($_GET["network-bridge-delete-js"])){network_bridge_delete_js();exit;}
	if(isset($_GET["network-bridge-associates-js"])){network_bridge_associates_js();exit;}
	if(isset($_GET["network-associates-delete-js"])){network_associates_delete_js();exit;}
	
	if(isset($_GET["network-bridge"])){network_bridge_popup();exit;}
	if(isset($_POST["Create"])){network_bridge_save();exit;}
	if(isset($_POST["Delete"])){network_bridge_del();exit;}
	if(isset($_GET["network-bridge-associates-popup"])){network_bridge_associates_popup();exit;}
	if(isset($_POST["associates"])){network_bridge_associates_save();exit;}
	if(isset($_POST["associates-delete"])){network_associates_delete();exit;}
	
	// nics_bridge
	
	Bridge_table();
	
function network_bridge_js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
    exit;
}
if (isset($_GET["network-bridge-js"])) {
    network_bridge_js();
    exit;
}
if (isset($_GET["network-bridge-delete-js"])) {
    network_bridge_delete_js();
    exit;
}
if (isset($_GET["network-bridge-associates-js"])) {
    network_bridge_associates_js();
    exit;
}
if (isset($_GET["network-associates-delete-js"])) {
    network_associates_delete_js();
    exit;
}
if (isset($_GET["network-bridge"])) {
    network_bridge_popup();
    exit;
}
if (isset($_POST["Create"])) {
    network_bridge_save();
    exit;
}
if (isset($_POST["Delete"])) {
    network_bridge_del();
    exit;
}
if (isset($_GET["network-bridge-associates-popup"])) {