<div class="box-header"> <h3 class="box-title">Listagem de cursos</h3> <a class="btn btn-info btn-flat pull-right" href="ViewCursosObj.php" title="Atualizar resultados" data-toggle="tooltip" data-placement="left"><i class="fa fa-refresh"></i></a> </div><!-- /.box-header --> <div class="box-body"> <table id="dataT" class="table table-bordered table-hover"> <thead> <tr> <th>Cursos</th> <th>Opções</th> </tr> </thead> <tbody> <?php $listar = new Cursos(); $list = $listar->ListarCursos(); if ($list != null) { foreach ($list as $line) { ?> <tr class="odd gradeX"> <form name="view" action="EditCursoObj.php" method="post"> <td><?php echo $line->nome; ?> </td> <td> <input type='hidden' name='id' value='<?php echo $line->id; ?> '> <button type="submit" name="exibir" value="exibir" formaction="ShowCursosObj.php" class="btn btn-flat btn-info"><i class="fa fa-expand"></i> Exibir </button>