예제 #1
0
                    <button type="submit" name="recarregar" class="btn btn-info btn-flat pull-right" title="Atualizar resultados" data-toggle="tooltip" data-placement="left"><i class="fa fa-refresh"></i></button>
                  </form>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <table id="dataT" class="table table-bordered table-hover">
                    <thead>
                      <tr>
                        <th> Disciplina </th>
                        <th> Opções </th>
                      </tr>
                    </thead>
                    <tbody>
                    <?php 
if (isset($_POST['pesquisar']) || isset($_POST['retornar']) || isset($_POST['recarregar'])) {
    $listar = new Monitorias();
    $list = $listar->ListarEspecify($curso);
    if ($list != null) {
        foreach ($list as $line) {
            ?>
                      <tr class="odd gradeX">
                        <form name="view" action="EditMonitoriasObj.php" method="post">
                        <td><?php 
            echo $line->disciplina;
            ?>
</td>
                        <td>
                          <input type='hidden' name='id' value='<?php 
            echo $line->id;
            ?>
'>
                          <input type="hidden" name="curso" value="<?php