<br />

<div class="row">

    <div class="col-md-3 col-xs-12">

        <?php

        if(isset($_SESSION['email_aluno'])):

		?>    

        <nav class="navbar">

        <div class="container-fluid">

                <div>

                <div class="panel panel-success">			  

                    <div class="panel-heading"><span style="font-weight: bold; margin-left:30px;">Menu</span>

                        <div class="navbar-header" id="btn-lateral">

                          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">

                                <span class="glyphicon glyphicon-chevron-right"></span>                   

                          </button> 

                          </div>

                  </div>

                 <div class="collapse navbar-collapse" id="menu">

                  <ul class="nav navbar-nav list-group">

                        <li class="list-group-item ">

                          <a href="<?php echo base_url();?>aluno/curso/cursos_matriculados">Cursos Matriculados</a>

                        </li>

                        <li class="list-group-item ">

                            <a title="Alterar Dados" href="<?php echo base_url(); ?>aluno/aluno/dados">Alterar Dados</a>

                        </li>

                        <li class="list-group-item ">

                          <a title="Faturas" href="<?php echo base_url();?>aluno/financeiro">Financeiro</a>

                        </li>

                  </ul>

                </div> 

                </div>					

                </div>

          </div>

        </nav>

        <?php 



        endif;

        ?>

        <nav class="navbar">

        <div class="container-fluid">

                <div>

                <div class="panel panel-success">			  

                    <div class="panel-heading"><span style="font-weight: bold; margin-left:30px;">Categorias de Cursos</span>

                        <div class="navbar-header" id="btn-lateral">

                          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#lateral">

                                <span class="glyphicon glyphicon-chevron-right"></span>                   

                          </button> 

                          </div>

                  </div>

                 <div class="collapse navbar-collapse" id="lateral">

                  <ul class="nav navbar-nav list-group">

                        <?php foreach ($cat_princip_cur as $CCCatpc)    { ?>

                        <li class="list-group-item sidebar-list">

                            <a href="<?php echo base_url();?>site/cursos/<?=urlencode($CCCatpc->CCSubCat);?>" title="<?php echo $CCCatpc->CCSubCat;?>"><?php if ($CCCatpc->CCDestaque=='Sim'){ echo '<b>';}?><?php echo $CCCatpc->CCSubCat;?> </b></a>

                        </li>

                        <?php } ?>

                        

                  </ul>

                </div> 

                </div>					

                </div>

          </div>

        </nav>



   </div>

    

    <?php if(isset($_SESSION['msg'])){?>

        <div class="col-md-9">

             <div class="alert alert-warning" role="alert"><?=$_SESSION['msg'];?></div>

        </div> 

    <?php unset($_SESSION['msg']); }?>

    

            

    

 