<?php
session_start();
header('Content-type: text/html; charset=utf-8');
if (!isset($_SESSION["nome"])) {
    header("location:index.php");
} else {
    
}
$seqUnidade = 0;
if (isset($_SESSION["seqUnidade"])) {
    $seqUnidade = $_SESSION["seqUnidade"];
}
?>
<!DOCTYPE html>
<html lang="pt-BR">
    <head>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
        <meta name="description" content="Administração do Bolsão">
        <meta name="author" content="Vinícius">
        <!--    <link rel="icon" href="../../favicon.ico">-->

        <title>Administração do Bolsão</title>
        <link rel="icon" href="../images/favicon.ico" >

        <!-- Bootstrap core CSS -->
        <link href="../css/bootstrap.css" rel="stylesheet">
        <link href="../css/bootstrap-theme.min.css" rel="stylesheet">
        <link href="../css/bootstrap.min.css" rel="stylesheet">



        <!-- IE10 viewport hack for Surface/desktop Windows 8 bug 
        <link href="../../assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">-->

        <!-- Custom styles for this template -->
        <link href="../css/main.css" rel="stylesheet">
        <link href="../style.css" rel="stylesheet">
        <script  language="javascript" type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
        <script  language="javascript" type="text/javascript" src="../js/main.js"></script>
        <script  language="javascript" type="text/javascript" src="../js/bootstrap.js"></script>


    </head>

    <body>

        <div class="container-fluid">
            <!--
                <div  style="text-align: center">
                    <img class="imagemCabecalho1"  src="../images/campanha/chamada.png"/>
                    <img class="imagemCabecalho2" src="../images/campanha/bolsao.png"/>
                </div>
            -->
              <!--  <div><img src="../images/banner_topo.png" class="banner_topo" /></div> LOGO -->

            <nav class="navbar navbar-inverse">
                <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>
                    </div>
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="principal.php">Início</a></li>
                            <li role="presentation" class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Consultas <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="geral.php?u=<?php echo $seqUnidade; ?>" target="tela" >Inscrições</a></li>
                                </ul>
                            </li>
                            <li role="presentation" class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    Relatórios <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="unidadeTurmaTurno.php?u=<?php echo $seqUnidade; ?>" target="tela">Inscritos por Unidade/Turma/Turno</a></li>
                                    <li><a href="presenca.php?u=<?php echo $seqUnidade; ?>" target="tela">Estatística</a></li>
                                    <!--                                        <li><a href="relatorio_geral.php" target="tela">Inscritos por dia (GERAL)</a></li>
                                                                            <li><a href="relatorio2.php" target="tela">Inscritos por Escola</a></li>
                                                                            <li><a href="relatorio7.php" target="tela">Lista de Alunos EXTRAS</a></li>-->
                                </ul>
                            </li>
                            <!--
                            <li role="presentation" class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    Administração <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="relatorio5.php" target="tela">Lista com Nomes e Emails</a></li>
                                    <li><a href="relatorio4.php" target="tela">Lista de Alunos EXTERNOS</a></li>
                                    <li><a href="chamada_unidade_serie.php" target="tela">Lista de chamada por Série | Unidade </a></li>
                                </ul>
                            </li>
                            -->
                            <li role="presentation" class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    Notas <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="lancamentoNotas.php?u=<?php echo $seqUnidade; ?>" target="_blank">Lançar Notas</a></li>
                                </ul>
                            </li>
                            <li role="presentation" class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    Configurações <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="cadastroBolsao.php" target="tela">Cadastro de Bolsão</a></li>
                                </ul>
                            </li>

                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                            <li ><a class="right" href="logoff.php">Sair do Sistema</a></li>
                        </ul>
                    </div><!--/.nav-collapse -->

                </div>
            </nav>
        </div>

        <!-- CARREGA AS OUTRAS PÁGINAS -->
        <div class="container-fluid">
            <p><iframe width="100%" height="500" name="tela" frameborder="0"></iframe>&nbsp;</p></td>
    </div>

    <!-- FIM CARREGA AS OUTRAS PÁGINAS --> 

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/jquery-1.7.1.min.js"><\/script>')</script>
    <script  language="javascript" type="text/javascript" src="../js/bootstrap.min.js"></script>
</body>
</html>