<?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>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=divice-width, user-scalable=no,
	initial-scale=1, maximum-scale=1, minimum-scale=1">
	<link rel="stylesheet"  href="estilos-reg.css">
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
	<link href="https://fonts.googleapis.com/css?family=Muli|Roboto|Yantramanav" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="https://www.google.com/fonts#ChoosePlace:select/Collection:Nunito">
	<link href="https://www.google.com/fonts#ChoosePlace:select/Collection:Pacifico"rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="css/estilos.css">
	<script src="validar.js"></script>
</head>
<body>

	<header>
		<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">Consultores</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>

      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

		

	</header>
	<form action="registrar.php" method="post" class="form-registro" onsubmit="return validar();">
		<h2 class="form_titulo" style="background:#7B7B7C">REGISTRO DE USUARIO</h2>
		<div class="contenedor-inputs">
			<input type="text" id="nombre" name="nombre" placeholder="Nombre" class="input-48">
			<input type="text" id="area" name="area" placeholder="Area" class="input-48">
			<input type="text" id="sucursal" name="sucursal" placeholder="Sucursal" class="input-48">
			<input type="text" id="usuario" name="usuario" placeholder="Usuario" class="input-48">
			<input type="text" id="clave" name="clave" placeholder="Clave" class="input-48">
			<input type="text" id="usuariobp" name="usuariobp" placeholder="Usuario BP" class="input-48">
			<input type="text" id="clavebp" name="clavebp" placeholder="Clave BP" class="input-48">
			<input type="email" id="correo" name="correo" placeholder="Correo" class="input-100">
			<input type="text" id="clavecorreo" name="clavecorreo" placeholder="Clave Correo" class="input-48">
			<input type="text" id="ucimp" name="ucimp" placeholder="UC Imp" class="input-48">
			<input type="text" id="clavetel" name="clavetel" placeholder="Clave Tel" class="input-48">
		



			<input type="submit" value="Registrar" class="btn-registro">
		</div>
		


	</form>
	<footer >
		<div class="container-footer-all">
		<div class="container-body">
			<div class="colum1">
				<div class="row0">
					<img src="imagenes/logovolvo.png">
					<p>VOLVO Minerva</p>
				</div>
				
			</div>
			
			<div class="colum3">
				
				<div class="row2">
					<img src="imagenes/icono-casa.png">
					<label>Av. Vallarta No. 2750, Col. Arcos Sur, Guadalajara, Jalisco, CP 44150.</label>
				</div>
				<div class="row2">
					<img src="imagenes/icono-telefono.png">
					<label>EXT: 2125 , 2126</label>
				</div>
				
			</div>
					
		</div>
		<div class="container-footer">
			<div class="copy">
			© 1998-2019 Volvo Car Corporation (o sus filiales y/o empresas licenciadoras, cuando así se indique)
			</div>
		</div>
		</div>
	</footer>
</body>
</html>