예제 #1
0
    die;
}
if (isset($_GET["admin-index-status-mysql"])) {
    echo status_mysql();
    exit;
}
if (isset($_GET["status_right_image"])) {
    status_right_image();
    exit;
}
if (isset($_GET["warnings"])) {
    warnings_js();
    exit;
}
if (isset($_GET["warnings-popup"])) {
    warnings_popup();
    exit;
}
if (isset($_GET["main_admin_tabs"])) {
    echo main_admin_tabs();
    exit;
}
if (isset($_GET["json-error-js"])) {
    json_error_js();
    exit;
}
if (isset($_GET["json-error-popup"])) {
    json_error_popup();
    exit;
}
if (isset($_GET["StartStopService-js"])) {
예제 #2
0
include_once('ressources/class.syslogs.inc');
include_once('ressources/class.system.network.inc');
include_once('ressources/class.os.system.inc');

//ini_set('display_errors', 1);
//ini_set('error_reporting', E_ALL);

$users=new usersMenus();
if(!$users->AsAnAdministratorGeneric){
		writelogs("Redirect to users.index.php",__FUNCTION__,__FILE__,__LINE__);
		header('location:users.index.php');exit;
}


if(isset($_GET["warnings"])){warnings_js();exit;}
if(isset($_GET["warnings-popup"])){warnings_popup();exit;}



if(isset($_GET["StartStopService-js"])){StartStopService_js();exit;}
if(isset($_GET["StartStopService-popup"])){StartStopService_popup();exit;}
if(isset($_GET["StartStopService-perform"])){StartStopService_perform();exit;}
if(isset($_GET["postfix-status-right"])){echo status_postfix();exit;}

if(isset($_GET["graph"])){graph();exit;}
if(isset($_GET["start-all-services"])){START_ALL_SERVICES();exit;}
if($_GET["status"]=="left"){status_left();exit;}
if($_GET["status"]=="right"){status_right();exit;}