<?php
require_once('shared/iniciaSesion.php');

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no" />
    <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Poppins:400,500,700,300,600">
    <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans">
    <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dijit/themes/claro/claro.css">
    <link media="screen" rel="stylesheet" type="text/css" href="css/menu.css" />
    <link rel="shortcut icon" type="image/x-icon" href="css/layout/global/sp.ico" />
    <script type="text/JavaScript" src="js/menu.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js" data-dojo-config="async: true, parseOnLoad:true"></script>
    <script>
        require(["dijit/Tooltip",  "dojo/parser", "dojo/domReady!"],
            function(Tooltip, parser){ parser.parse(); new Tooltip({ connectId: ["salirDelSistema"], label: "Cerrar Sesión", showDelay: 500, defaultPosition: "before-centered" });	});

        function salir() {
            location.href = "acceso_logout.php";
        }
    </script>
</head>
<body class="claro">
<div id="header">
    <div id="header_container">
        <div id="header_inner">
            <div id="header_inner_l1"></div>
            <div id="header_inner_l2"></div>
        </div>
        <div id="header_user_container">
            <div id="header_inner_user_container_table">
                <strong>Bienvenido a Planta S&P:</strong><?php echo($_SESSION['GBL_NOMBRE']); ?><span class="division">|</span>
                <span id="salirDelSistema" class="salir" onclick="salir();"></span><br/>
                <span class="l2">
                    	<a href="#" onclick="actMenu(1);">Cambiar contraseña</a><span class="division">|</span>
                        <a href="#" onclick="actMenu(2);">Preguntas frecuentes</a><span class="division">|</span>
                        <a href="#" onclick="actMenu(3);">Tutoriales</a><span class="division">|</span>
                        <a href="#" onclick="actMenu(4);">Reportar una falla</a>
                    </span>
            </div>
        </div>
    </div>
</div>
<div id="wrapper_bg">
    <div id="wrapper_bg_container">
        <div id="wrapper_bg_container_title"> Planta S&P </div>
    </div>
</div>
</body>
</html>
