Пример #1
0
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.system.nics.inc');
	
	
	
	
	$usersmenus=new usersMenus();
	if($usersmenus->AsSystemAdministrator==false){exit;}
	if(isset($_POST["UseSnort"])){UseSnort();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["ipconfig-nic"])){ipconfig_nic();exit;}
	if(isset($_GET["save_nic"])){save_nic();exit;}
	
	if(isset($_GET["ipconfig-routes"])){ipconfig_routes();exit;}
	if(isset($_GET["ifconfig-route-list"])){ipconfig_routes_list();exit;}
	if(isset($_GET["add-routes"])){ipconfig_routes_add();exit;}
	if(isset($_GET["del-routes"])){ipconfig_routes_del();exit;}	
	
	
	js();

	
function js(){
	$page=CurrentPageName();
	
	$html="YahooWin2('410','$page?tabs=yes&netconfig={$_GET["nic"]}','{$_GET["nic"]}');";
	echo $html;
	
	
}	
Пример #2
0
    exit;
}
if (isset($_GET["save_nic"])) {
    save_nic();
    exit;
}
if (isset($_GET["ipconfig-v6"])) {
    ipconfig_nic6();
    exit;
}
if (isset($_GET["ipconfig-routes"])) {
    ipconfig_routes();
    exit;
}
if (isset($_GET["ifconfig-route-list"])) {
    ipconfig_routes_list();
    exit;
}
if (isset($_GET["ifconfig-route-add-js"])) {
    ipconfig_routes_add_js();
    exit;
}
if (isset($_GET["ifconfig-route-add-popup"])) {
    ipconfig_routes_add_popup();
    exit;
}
if (isset($_GET["ipconfig-routage"])) {
    ipconfig_routage();
    exit;
}
if (isset($_GET["nic-delete-js"])) {