Esempio n. 1
0
    exit;
}
if (isset($_GET["delete-check"])) {
    uncompress_file_delete();
    exit;
}
if (isset($_POST["csv-delete"])) {
    csv_delete();
    exit;
}
if (isset($_POST["empty-store"])) {
    empty_store();
    exit;
}
if (isset($_GET["change-date-js"])) {
    change_date_js();
    exit;
}
if (isset($_GET["change-date-popup"])) {
    change_date_popup();
    exit;
}
if (isset($_GET["logfile-daemon-js"])) {
    logfile_daemon_js();
    exit;
}
if (isset($_GET["logfile-daemon-popup"])) {
    logfile_daemon_popup();
    exit;
}
page();
Esempio n. 2
0
}
if(isset($_POST["DisableLogFileDaemonMySQL"])){logfile_daemon_save();exit;}
if(isset($_GET["tabs-all"])){tabs_all();exit;}
if(isset($_GET["external"])){external();exit;}
if(isset($_GET["events-list"])){events_search();exit;}
if(isset($_GET["container-list"])){container_list();exit;}
if(isset($_GET["log-js"])){log_js();exit;}
if(isset($_GET["store-file"])){store_file();exit;}
if(isset($_GET["downloadgz"])){downloadgz();exit;}
if(isset($_GET["downloadf"])){downloadf();exit;}
if(isset($_GET["uncompress"])){uncompress_file();exit;}
if(isset($_GET["uncompress-check"])){uncompress_file_check();exit;}
if(isset($_GET["delete-check"])){uncompress_file_delete();exit;}
if(isset($_POST["csv-delete"])){csv_delete();exit;}
if(isset($_POST["empty-store"])){empty_store();exit;}
if(isset($_GET["change-date-js"])){change_date_js();exit;}
if(isset($_GET["change-date-popup"])){change_date_popup();exit;}
if(isset($_GET["logfile-daemon-js"])){logfile_daemon_js();exit;}
if(isset($_GET["logfile-daemon-popup"])){logfile_daemon_popup();exit;}

page();

function tabs_all(){
	$sock=new sockets();
	$AsMaster=true;
	$SquidAsMasterPeer=intval($sock->GET_INFO("SquidAsMasterPeer"));
	if($SquidAsMasterPeer==0){$AsMaster=false;}
	$SquidAsMasterLogExtern=intval($sock->GET_INFO("SquidAsMasterLogExtern"));
	if($SquidAsMasterLogExtern==0){$AsMaster=false;}
	$SquidAsMasterLogChilds=intval($sock->GET_INFO("SquidAsMasterLogChilds"));
	if($SquidAsMasterLogChilds==1){$AsMaster=false;}