'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 " ";
}
}
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 ' | ';
echo '';
if ($config["metaconsole"] == 0){
echo '';
$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 '';
}
else {
// TODO: Put here to remark this is a metaconsole
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'),
'60' => '1 '.__('minute'),
'120' => '2 '.__('minutes'),
'300' => '5 '.__('minutes'),
'900' => '15 '.__('minutes'),
'1800' => '30 '.__('minutes'),
'3600' => '1 '.__('hour'));
echo '';
html_print_select ($values, 'ref', '', '', __('Select'), '0', false, false, false);
unset ($values);
echo '';
}
echo " | ";
echo "";
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 "";
?>
|
|
' . html_print_image("images/lightning_go.png", true, array("alt" => 'lightning_go', "class" => 'bot')) . ' '.__('Events').'';
}
?>
|