<?php
include 'header.php';
include 'connect.php';
require_once 'inc/messages.php';
require_once 'inc/usuario.php';

checkLogin('login.php');

$id_usuario = $_SESSION[SESSION_USER_NAME]['id'];
?>
</br></br></br>
<!--<form id=validate_custom method=POST action="erpc_alterar_senha_ws.php">-->
  <div class=block>
    <div class=header>
      <h2>Mapa Teste</h2>
    </div>
      <div class="block">
    <div class="content">
      <?php
      displayMessagesAndErrors(true); ?>
    </div>
  </div>
<?php

$_SESSION['clientes']  = $_POST['clientes'];



?>

      <!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a id="mform1" href="#form1" aria-controls="form1" role="tab" data-toggle="tab">Clientes</a></li>
  <li role="presentation"><a id="mform2" href="#form2" aria-controls="form2" role="tab" data-toggle="tab">Vendas</a></li>
  <li role="presentation"><a id="mform3" href="#form3" aria-controls="form3" role="tab" data-toggle="tab">Produtos</a></li>
</ul>
      <!-- Tab panes -->
<div class="tab-content">
  <div role="tabpanel" class="tab-pane fade in active" id="form1">
    <iframe id='frmmapa1' src="mapas/mapa.php?tipo=clientes" width="1100" height="900" frameborder="0" style="border:0"  allowfullscreen></iframe>
  </div>

  <div role="tabpanel" class="tab-pane fade" id="form2" hidden>
   <iframe id='frmmapa1' src="mapas/mapa.php?tipo=vendas" width="1100" height="900" frameborder="0" style="border:0"  allowfullscreen></iframe>
  </div>

  <div role="tabpanel" class="tab-pane fade" id="form3" hidden>
   <iframe id='frmmapa1' src="mapas/mapa.php?tipo=produtos" width="1100" height="900" frameborder="0" style="border:0"  allowfullscreen></iframe>
  </div>


  <div class=footer>
      <div class="side pull-right">
        <div class=btn-group>
          <button class="btn btn-default" type="button" onClick="window.history.go(-1)" value="Voltar">Voltar</button>
        </div>
      </div>
    </div>
</div>



  </div>
<!--</form>-->


<?php include 'footer.php'; ?>
