
<?php require_once "dependencias.php" ?>
<?php require_once "validar.php" ?>

<!DOCTYPE html>
<html>
<head>
  <title>Sistema de Hardmant</title>
  <link rel="shortcut icon" href="img/hardmant3.ico">
</head>
<body>

  <!-- Begin Navbar -->
  <div id="nav">
    <div class="navbar navbar-inverse navbar-fixed-top" data-spy="affix" data-offset-top="100" style="background-color: #005a65;color:#fff" >
      <div class="container">
        <div class="navbar-header" >
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar" >
            <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="menu.php"><img class="img-responsive logo img-thumbnail" src="img/hardmant4.jpg" alt="" width="150px" height="150px" ></a>
        </div>
        <div id="navbar" class="collapse navbar-collapse" >
        <i class="fa fa-h1    "> Soluciones Informaticas </i>
          <ul class="nav navbar-nav navbar-right">

            <li class="active"><a href="menu.php"><span class="glyphicon glyphicon-home" ></span> Inicio</a>
            </li>

            
          </li>
          <li class="dropdown" >
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-list-alt" ></span> Administrar <span class="caret"></span></a>
            <ul class="dropdown-menu" >
              <li><a href="cate/grillaCategoria.php">Categorias</a></li>
              <li><a href="tecnicos/grillaTecnico.php">Tecnicos</a></li>
                    <?php 
                        //session_start();
                        $uu=$_SESSION['id'];
                        if($uu == 2){
                    ?>
                      <li><a href="usuarios/grillaUsuario.php">Usuarios</a></li>
                     <?php
                        }
                        ?> 
            </ul>
          </li>
          <li><a href="clientes/grillaCliente.php"><span class="glyphicon glyphicon-user"></span> Clientes</a>
          </li>
          <li><a href="grilla.php"><span class="glyphicon glyphicon-usd"></span>Hojas Ingresadas</a>
          </li>
          <li><a href="logout.php"><span class="btn btn-outline-danger"></span> Cerrar Sesion </a>
          </li>    
          
          </li>
        </ul>
        
      </div>
      <!--/.nav-collapse -->
      
    </div>
    
    <!--/.contatiner -->
  </div>
  
</div>
<!-- Main jumbotron for a primary marketing message or call to action -->





<!-- /container -->        
<?php 
//session_start();
//$uu=$_SESSION['id'];
//echo $uu;
?>

</body>
</html>

<script type="text/javascript">
  $(window).scroll(function() {
    if ($(document).scrollTop() > 150) {
      $('.logo').height(200);

    }
    else {
      $('.logo').height(100);
    }
  }
  );
</script>