<!DOCTYPE html>
<html lang="pt-br">
<?php
	setlocale(LC_TIME, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese');
	date_default_timezone_set('America/Sao_Paulo');
?>

<head>
	<meta charset="UTF-8" >
    <title>>> MRK <<</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
    <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>  
    <script src="https://cdn.datatables.net/1.10.12/js/dataTables.bootstrap.min.js"></script>  
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>           
    <link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css" />  
	<script src="https://cdn.datatables.net/select/1.2.4/js/dataTables.select.min.js"></script>	
	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.10/jquery.mask.js"></script>
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9" crossorigin="anonymous">
	
	
	<script>
		$(document).ready(function($){
		  $('#nrKanban').mask("999-999-999-999", {placeholder:"000-000-000-000"});
		  $('#fichaKanban').mask("999-999-999-999-999", {placeholder:"000-000-000-000-000"});	  
		  $('#cnpj').mask("99.999.999/9999-99", {placeholder:"99.999.999/9999-99"});	  
		  $('#hora').mask("99:99", {placeholder:"00h00"});		  
		});
	</script>
	

<script>
$(document).ready(function(){
    $('[data-toggle="tooltip"]').tooltip();   
});
</script>	  

	</head>
	<body>

	 <nav class="navbar navbar-inverse">
	  <div class="container-fluid">
		<div class="navbar-header">
		  <a class="navbar-brand" href="#">MRK</a>
		</div>
		<ul class="nav navbar-nav">
		  <li class="active"><a href="index.php">Home</a></li>

		  <li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-tags"></span> KANBAN
			<span class="caret"></span></a>
			<ul class="dropdown-menu">
			  <li><a href="kanban_index.php">Listar/Emitir KANBAN</a></li>
			  <li><a href="kanban_baixa.php">Consumir</a></li>			  
			</ul>
		  </li>	
		  <li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-tasks"></span> PCP
			<span class="caret"></span></a>
			<ul class="dropdown-menu">
			  <li><a href="pedidos_lista.php">Pedidos</a></li>
			  <li><a href="pedidos_lista_compras.php">Agendar Pedidos</a></li>	
			  <li><a href="pedidos_fornecedores_recebimento_index.php">Recebimento</a></li>			  
			</ul>
		  </li>	
		  <li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-home"></span> FORNECEDOR
			<span class="caret"></span></a>
			<ul class="dropdown-menu">
			  <li><a href="pedidos_fornecedores_index.php">Fornecedor - Pedidos</a></li>			  			  
			</ul>
		  </li>	

		</ul>
    <ul class="nav navbar-nav navbar-right">
		  <li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-wrench"></span> Administrativo
			<span class="caret"></span></a>
			<ul class="dropdown-menu">
			  <li><a href="planta2_index.php">Plantas e Armazéns</a></li>	
			  <li><a href="fornecedor_index.php">Fornecedores</a></li>
			  <li><a href="pn_index.php">Part Number (PN)</a></li>			  
			  
			</ul>
		  </li>	
      <li><a href="#"><span class="glyphicon glyphicon-user"></span><?php if (!empty($nome_user)){ echo ' ' . $nome_user;} else { echo ' Sessão aberta';} ?></a></li>
      <li><a href="logout.php"><span class="glyphicon glyphicon-log-out"></span> Saír</a></li>
    </ul>		
	  </div>
	</nav> 	  
