data('service')); $newHours = $widget->data('newHours'); $newHours = empty($newHours) || !is_numeric($newHours) ? 24: $newHours; $login = $conf->get('glpi_login'); $password = $conf->get('glpi_password'); $glpi = new GLPI($conf->get('glpi_host')); $glpi->connect($login,$password); ?>