Exemplo n.º 1
0
                            <input style="width:80px;" name="button" onclick="window.location.href='logado.php'" id="button" type="button" value="Cancelar" class="button">
                          </td>
                     </tr>
                     <?php 
    echo "<script>disableCampos();</script>";
    ?>
                  </table>
               </form>
                <?php 
} else {
    //fim if 1
    ?>
                  <?php 
    $turno = new Turno();
    // $turnos = $turno->get_func_by_name($_POST['name_search']);
    $turnos = $turno->get_name_all_turno_disponiveis();
    echo '<table class="exibe-pesquisa">';
    foreach ($turnos as $key => $turno) {
        echo '<tr>
                                      <td><a href="edita_turno.php?verificador=1&id=' . $turnos[$key][0] . '">' . $turnos[$key][2] . ' - ' . $turnos[$key][1] . '</a></td></tr>';
    }
    echo '</table>';
    ?>

                  <?php 
}
//fim else if 1
?>