'Pandora FMS Opensource', "border" => '0'));
} else {
echo print_image('images/pandora_header_logo_enterprise.png', true, array("alt" => 'Pandora FMS Enterprise', "border" => '0'));
}
?>
|
'bot', "alt" => 'user'));
else
print_image("images/user_green.png" , false, array("class" => 'bot', "alt" => 'user'));
?>
[]
0) {
echo '';
require_css_file ('dialog');
require_jquery_file ('ui.core');
require_jquery_file ('ui.dialog');
echo '';
print_image ("images/email.png", false,
array ("title" => __('You have %d unread message(s)', $msg_cnt), "id" => "yougotmail", "class" => "bot"));
echo '';
}
}
?>
__('Logout'), "class" => 'bot', "title" => __('Logout')))?>
|
';
$servers["all"] = (int) get_db_value ('COUNT(id_server)','tserver');
$servers["up"] = (int) check_server_status ();
$servers["down"] = $servers["all"] - $servers["up"];
if ($servers["up"] == 0) {
//All Servers down or no servers at all
echo print_image("images/cross.png", true, array("alt" => 'cross', "class" => 'bot')) . ' '.__('All systems').': '.__('Down');
}
elseif ($servers["down"] != 0) {
//Some servers down
echo print_image("images/error.png", true, array("alt" => 'error', "class" => 'bot')) . ' '.$servers["down"].' '.__('servers down');
}
else {
//All servers up
echo 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 '' . 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 '' . 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 '';
print_select ($values, 'ref', '', '', __('Select'), '0', false, false, false);
unset ($values);
echo '';
}
echo " | ";
echo "";
echo "";
if (isset($config["custom_logo"]))
echo print_image("images/custom_logo/" . $config["custom_logo"], true,array("height" => '60', "width" => '139', "alt" => 'Logo'));
echo "";
?>
|
|
' . print_image("images/lightning_go.png", true, array("alt" => 'lightning_go', "class" => 'bot')) . ' '.__('Events').'';
}
?>
|