global $g_user; if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); if ( $g_user->check_module("DASHBOARD") == 0) die(); global $http,$cn; try { $what=$http->get("what"); } catch (\Exception $e) { echo $e->getMessage(); throw $e; } if ( $what == 'main_display') { status_Operation_Event::main_display($cn); }else { $status_operation_event=new Status_Operation_Event($cn); $status_operation_event->display($what); }