2006-03-27 05:37:27 +02:00
|
|
|
<?php
|
2007-03-02 18:56:07 +01:00
|
|
|
// Pandora FMS - the Free monitoring system
|
|
|
|
// ========================================
|
|
|
|
// Copyright (c) 2004-2007 Sancho Lerena, slerena@openideas.info
|
|
|
|
// Copyright (c) 2005-2007 Artica Soluciones Tecnologicas
|
|
|
|
// Copyright (c) 2004-2007 Raul Mateos Martin, raulofpandora@gmail.com
|
|
|
|
// Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
|
|
|
|
// Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
|
|
|
|
|
2006-12-24 23:40:09 +01:00
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
2007-03-02 18:56:07 +01:00
|
|
|
// as published by the Free Software Foundation version 2
|
2006-12-24 23:40:09 +01:00
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-03-27 05:37:27 +02:00
|
|
|
|
2007-05-18 11:29:54 +02:00
|
|
|
echo '
|
|
|
|
<div id="head_r">
|
|
|
|
<span id="logo_text1">Pandora</span> <span id="logo_text2">FMS</span>
|
|
|
|
</div>
|
2007-05-18 14:56:05 +02:00
|
|
|
<div id="head_l">
|
2007-05-20 19:12:31 +02:00
|
|
|
<a href="index.php"><img src="images/pandora_logo_head.png" border="0" alt="logo"></a>
|
2007-05-18 11:29:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
';
|
2007-05-18 14:56:05 +02:00
|
|
|
echo "<div id='head_m'>";
|
|
|
|
|
2007-06-21 20:58:35 +02:00
|
|
|
echo "<table width=620 border='0'>
|
2007-05-18 11:29:54 +02:00
|
|
|
<tr>";
|
2007-03-02 18:56:07 +01:00
|
|
|
if (isset ($_SESSION["id_usuario"])){
|
|
|
|
echo "<td width=40%>";
|
|
|
|
$id_usuario = entrada_limpia ($_SESSION["id_usuario"]);
|
2007-05-18 14:56:05 +02:00
|
|
|
if (dame_admin($_SESSION["id_usuario"])==1)
|
2007-03-02 18:56:07 +01:00
|
|
|
echo "<img src='images/user_suit.png' class='bot'> ";
|
|
|
|
else
|
|
|
|
echo "<img src='images/user_green.png' class='bot'> ";
|
2007-05-18 14:56:05 +02:00
|
|
|
echo "<a class='white'>".$lang_label["has_connected"]. '
|
|
|
|
[<b>'. $id_usuario. '</b>]</a>';
|
|
|
|
echo "<br>";
|
|
|
|
echo "<a class='white_bold' href='index.php?bye=bye'><img src='images/lock.png' class='bot'> ". $lang_label["logout"]."</a>";
|
|
|
|
echo "</td><td width='25'> </td><td>";
|
|
|
|
echo "<a class='white_bold' href='index.php?sec=main'><img src='images/information.png' class='bot'> ". $lang_label["information"]."</a>";
|
|
|
|
echo "<br>";
|
|
|
|
echo "<a class='white_bold' href='help/en/toc.php'><img src='images/help.png' class='bot'> ". $lang_label["help"]."</a>";
|
2007-03-02 18:56:07 +01:00
|
|
|
}
|
2007-05-18 11:29:54 +02:00
|
|
|
echo "</tr></table>";
|
2007-05-18 14:56:05 +02:00
|
|
|
echo "</div>";
|
2007-05-18 11:29:54 +02:00
|
|
|
|
2007-05-18 14:56:05 +02:00
|
|
|
?>
|