}


	
	
$usersmenus=new usersMenus();
if(!$usersmenus->AsSquidAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}

if(isset($_POST["ReconfigureUfdb"])){ReconfigureUfdb();exit;}
if(isset($_GET["services"])){section_services();exit;}
if(isset($_GET["status"])){status_start();exit;}
if(isset($_GET["status-left"])){status_squid_left();exit;}
if(isset($_GET["squid-mem-status"])){squid_mem_status();exit;}
if(isset($_GET["squid-info-status"])){squid_info_status();exit;}




if(isset($_GET["squid-stores-status"])){squid_stores_status();exit;}
if(isset($_GET["squid-ntlmauth-status"])){squid_ntlmauth_status();exit;}
if(isset($_GET["db-status-infos"])){db_status_info_text();exit;}

if(isset($_GET["squid-services"])){all_status();exit;}
if(isset($_GET["architecture-tabs"])){section_architecture_tabs();exit;}
if(isset($_GET["architecture-status"])){section_architecture_status();exit;}
if(isset($_GET["architecture-content"])){section_architecture_content();exit;}
示例#2
0
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.squid.inc';
$usersmenus = new usersMenus();
if (!$usersmenus->AsSquidAdministrator) {
    $tpl = new templates();
    $alert = $tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
    echo "alert('{$alert}');";
    die;
}
if (isset($_GET["services"])) {
    section_services();
    exit;
}
if (isset($_GET["status"])) {
    status_start();
    exit;
}
if (isset($_GET["status-left"])) {
    status_squid_left();
    exit;
}
if (isset($_GET["squid-services"])) {
    all_status();
    exit;
}
if (isset($_GET["architecture-tabs"])) {
    section_architecture_tabs();
    exit;
}
if (isset($_GET["architecture-status"])) {