<?php
	
session_start();
error_reporting(0);
$varsesion= $_SESSION['usuario'];

if($varsesion == null || $varsesion= ''){
	echo 'Usted no tiene Autorizacion, favor de iniciar sesion';
	die();
}

?>

<!DOCTYPE html>
<html lang="es" style="relative; min-height:100%;">
<head>
<meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
		<link href="css/bootstrap.min.css" rel="stylesheet">
		<link href="css/bootstrap-theme.css" rel="stylesheet">
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
		<!--<link rel="stylesheet" type="text/css" href="css/estilos.css">-->
		<!--<link href="css/jquery.dataTables.min.css" rel="stylesheet">-->	
		<!--<script src="js/jquery-3.1.1.min.js"></script>-->
		<!--<script src="js/jquery.dataTables.min.js"></script>-->
		<link rel="stylesheet" href="css/bootstrap.min.css">
		<!--<script src="js/bootstrap.min.js"></script>-->		
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body style="background-image: url(imagenes/FondoMG4.jpg); background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover;">
        
    <nav class="navbar navbar-inverse">
        <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="index.php"><strong>INVENTARIO MG</strong></a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <!--<li class="active"><a href="bdispo.php"><span class="glyphicon glyphicon-hdd"></span> Equipos <span class="sr-only">(current)</span></a></li>-->
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-hdd"></span> Equipos<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="bdispo.php">PC</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="cany.php">Conx. AnyDesk</a></li>
            <li role="separator" class="divider"></li>
            
          </ul>
        </li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> Personal<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="regis.php">Usuarios</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="consul.php">Vendedores</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="buscaip.php">IP'S</a></li>
            
          </ul>
        </li>
        <li><a href="imp.php"><span class="glyphicon glyphicon-print"></span> Impresoras</a></li>
        <li><a href="antenas.php"><span class="glyphicon glyphicon-signal"></span> Antenas</a></li>
        <li><a href="cel.php"><span class="glyphicon glyphicon-phone"></span> Celulares</a></li>
        <li><a href="correos.php"><span class="glyphicon glyphicon-envelope"></span> Correos</a></li>
      </ul>
      
      <ul class="nav navbar-nav navbar-right">
        <li><a href="index.php">Bienvenido: <?php echo $_SESSION['usuario'] ?> </a></li>
        <li><a style="text-align: right;" href="close_sesion.php" data-toggle="modal" data-target="#confirm-delete"><span class="glyphicon glyphicon-lock" style="color: #FF0000;">Cerrar Sesion</span></a></li>
        
        <!--<li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
        
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
          </ul>
        </li>-->
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
      
	 
        
	<div class="footer" style="position: absolute; width:100%; height:120px; background-color:#363636; bottom:0;">
	    
	    <div class="container">
	     
	        <div style="text-align:center; color:#D2D2D2;">
	            	<label>Avenida Vallarta 5750 , Jocotan, Zapopan, Jalisco, 45017.</label>
	            	<label>Tel.(33)27345000</label>
	            	<p>© Morris Garages, todos los derechos reservados</p><br />
	            	
	            
	        </div>
	        <div style="text-align:center; font-size:25px; color:#D2D2D2;">
	            	<p><strong> INVENTARIO SISTEMAS MG</strong></p>
	        </div>

	    </div>
	</div>
</body>
</html>