'; // Yes, put here your corporate logo instead pandora_logo_head.png // The style specifies width and height so that oversized images get resized. // Optimally your logo would be this size. echo 'logo'; // Margin to logo echo ' '; // First column (identifier) echo ' '.''.__('You are').' ['.$_SESSION["id_usuario"].']'; //First column, second row (logout button) echo '

'; echo ' '. __('Logout').''; // Second column (link to main page) echo ''; echo ' '.__('General information').''; //Second column, second row (System up/down) echo '

'; echo ''; $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 ' '.__('All systems').': '.__('Down'); } elseif ($servers["down"] != 0) { //Some servers down echo ' '.$servers["down"].' '.__('servers down'); } else { //All servers up echo ' '.__('All systems').': '.__('Ready'); } unset ($servers); // Since this is the header, we don't like to trickle down variables. echo ""; // Third column // Autorefresh echo ""; if (get_parameter ("refr") != 0) { echo ' '. __('Autorefresh').''; } else { echo ' '.__('Autorefresh').''; } //Events echo '

'; echo ' '.__('Events').''; // Styled text echo '
Pandora FMS
'; ?>