Exemple #1
0
    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.mysql.shorewall.inc';
include_once 'ressources/class.tcpip.inc';
$usersmenus = new usersMenus();
if (!$usersmenus->AsArticaAdministrator) {
    die;
}
if (isset($_GET["switch-tab"])) {
    switch_tab();
    exit;
}
if (isset($_GET["switch-status-section"])) {
    main_switch_status();
    exit;
}
if (isset($_GET["switch-status"])) {
    switch_status();
    exit;
}
if (isset($_GET["MainParams-js"])) {
    MainParams_js();
    exit;
}
if (isset($_GET["MainParams-tab"])) {
Exemple #2
0
	header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
	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.mysql.shorewall.inc');
	include_once('ressources/class.tcpip.inc');
	$usersmenus=new usersMenus();
	if(!$usersmenus->AsArticaAdministrator){die();}
	
	
	if(isset($_GET["switch-tab"])){switch_tab();exit;}
	
	if(isset($_GET["switch-status-section"])){main_switch_status();exit;}
	if(isset($_GET["switch-status"])){switch_status();exit;}
	if(isset($_GET["MainParams-js"])){MainParams_js();exit;}
	if(isset($_GET["MainParams-tab"])){MainParams_tab();exit;}
	if(isset($_GET["MainParams-popup"])){MainParams_popup();exit;}
	
	
	if(isset($_GET["port-js"])){port_js();exit;}
	if(isset($_GET["port-tab"])){port_tab();exit;}
	if(isset($_GET["port-popup"])){port_popup();exit;}
	
	
	
	if(isset($_GET["delete-virtual-js"])){delete_virtual_js();exit;}