Example #1
0
include_once dirname(__FILE__) . "/ressources/class.mysql.postfix.builder.inc";
include_once dirname(__FILE__) . "/ressources/class.squid.inc";
if (isset($_GET["content"])) {
    content();
    exit;
}
if (isset($_GET["messaging-right"])) {
    messaging_right();
    exit;
}
if (isset($_GET["left"])) {
    left();
    exit;
}
if (isset($_GET["proxy-settings"])) {
    section_architecture_tabs();
    exit;
}
if (isset($_GET["web-filtering"])) {
    web_filtering();
    exit;
}
if (isset($_GET["tasks"])) {
    tasks();
    exit;
}
if (isset($_GET["monitor"])) {
    monitor();
    exit;
}
if (isset($_GET["architecture-behavior"])) {
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;}
if(isset($_GET["architecture-adv"])){section_architecture_advanced();exit;}
if(isset($_GET["architecture-users"])){section_architecture_users();exit;}
if(isset($_GET["architecture-filters"])){section_architecture_filters();exit;}
if(isset($_GET["ptx-status"])){ptx_status();exit;}
if(isset($_GET["members-status"])){section_members_status();exit;}
if(isset($_GET["members-content"])){section_members_content();exit;}



//ini_set('display_errors', 1);
//ini_set('error_reporting', E_ALL);
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);}
if(!isset($GLOBALS["CLASS_USERS"])){$GLOBALS["CLASS_USERS"]=new usersMenus();$users=$GLOBALS["CLASS_USERS"];}else{$users=$GLOBALS["CLASS_USERS"];}