2006-03-27 05:37:27 +02:00
|
|
|
<?php
|
2007-08-08 20:36:18 +02:00
|
|
|
// Pandora FMS - the Free Monitoring System
|
2007-03-02 18:56:07 +01:00
|
|
|
// ========================================
|
2008-04-01 15:53:11 +02:00
|
|
|
// Copyright (c) 2008 Artica Soluciones Tecnológicas, http://www.artica.es
|
2007-08-08 20:36:18 +02:00
|
|
|
// Please see http://pandora.sourceforge.net for full contribution list
|
2007-03-02 18:56:07 +01:00
|
|
|
|
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-08-08 20:36:18 +02:00
|
|
|
// as published by the Free Software Foundation for 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'>";
|
|
|
|
|
2008-02-21 16:16:54 +01:00
|
|
|
echo "<table width=550 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
|
|
|
?>
|