'Pandora FMS Opensource', "border" => '0')); } else { echo html_print_image('images/pandora_header_logo_enterprise.png', true, array("alt" => 'Pandora FMS Enterprise', "border" => '0')); } ?> 'bot', "alt" => 'user')); else html_print_image("images/user_green.png" , false, array("class" => 'bot', "alt" => 'user')); ?> [] 0) { echo ''; ui_require_css_file ('dialog'); echo ''; html_print_image ("images/email.png", false, array ("title" => __('You have %d unread message(s)', $msg_cnt), "id" => "yougotmail", "class" => "bot")); echo ''; echo " "; echo " "; } } echo ""; if ($config["alert_cnt"] > 0) { echo ''; ui_require_css_file ('dialog'); echo ''; html_print_image ("images/error.png", false, array ("title" => __('You have %d warning(s)', $config["alert_cnt"]), "id" => "yougotalert", "class" => "bot")); echo ''; echo " "; echo " "; } echo ''; html_print_image("images/log-out.png", false, array("alt" => __('Logout'), "class" => 'bot', "title" => __('Logout'))); echo ''; // Main help icon echo " "; echo " "; echo ui_print_help_icon ("main_help", true); if ($config['metaconsole'] == 1) { echo " "; echo " "; html_print_image("images/application_double.png", false, array("alt" => __('Metaconsole activated'), "class" => 'bot', "title" => __('You are using metaconsole'))); } ?> '; $servers["all"] = (int) db_get_value ('COUNT(id_server)','tserver'); $servers["up"] = (int) servers_check_status (); $servers["down"] = $servers["all"] - $servers["up"]; if ($servers["up"] == 0) { //All Servers down or no servers at all echo html_print_image("images/cross.png", true, array("alt" => 'cross', "class" => 'bot')) . ' '.__('All systems').': '.__('Down'); } elseif ($servers["down"] != 0) { //Some servers down echo html_print_image("images/error.png", true, array("alt" => 'error', "class" => 'bot')) . ' '.$servers["down"].' '.__('servers down'); } else { //All servers up echo html_print_image("images/ok.png", true, array("alt" => 'ok', "class" => 'bot')) . ' '.__('All systems').': '.__('Ready'); } unset ($servers); // Since this is the header, we don't like to trickle down variables. echo ''; } ?> false, 'code' => false); if ($config["refr"]) { $ignored_params['refr'] = 0; echo '' . html_print_image("images/page_refresh.png", true, array("class" => 'bot', "alt" => 'lightning')) . ' '. __('Autorefresh'); echo ' ('.date ("i:s", $config["refr"]).')'; echo ''; } else { $ignored_params['refr'] = ''; echo '' . html_print_image("images/page_refresh.png", true, array("class" => 'bot', "alt" => 'lightning')) . ' '. __('Autorefresh').''; $values = array ( '5' => __('5 seconds'), '10' => __('10 seconds'), '15' => __('15 seconds'), '30' => __('30 seconds'), (string)SECONDS_1MINUTE => __('1 minute'), (string)SECONDS_2MINUTES => __('2 minutes'), (string)SECONDS_5MINUTES => __('5 minutes'), (string)SECONDS_15MINUTES => __('15 minutes'), (string)SECONDS_30MINUTES => __('30 minutes'), (string)SECONDS_1HOUR => __('1 hour')); echo ''; } ?> "; if (isset($config["custom_logo"])) echo html_print_image("images/custom_logo/" . $config["custom_logo"], true,array("height" => '60', "width" => '139', "alt" => 'Logo')); echo ""; ?>
onfocus="javascript: if (fieldKeyWordEmpty) $('#keywords').val('');" size="100" style="background: white url('images/lupa_15x15.png') no-repeat right; padding: 0; padding-left:0px; margin: 0; width: 90%; height: 19px; margin-bottom: 5px; margin-left: 2px;" />
' . html_print_image("images/lightning_go.png", true, array("alt" => 'lightning_go', "class" => 'bot')) . ' '.__('Events').''; } ?>