});
</script>


    <table class="tabAgenda">
    <caption>Agenda</caption>
    <thead >
        <tr>
            <th>Evento</th>
            <th>Data</th>
            
        </tr>
    </thead>
    <tbody>
    <?php 
    echo $objAgendaDAO->agendaToHTML($conexao, $turma);
    ?>
    </tbody>
</table>

<?php 
} else {
    if ($action == 0 || $action == 3) {
        if ($action == 3) {
            $objAgendaDAO->deletaEvento($conexao, $idAgenda);
        }
        ?>

<form action="" method="post" class="formularioCombo">
    <?php 
        echo $objUsuarioDAO->ComboTurma($conexao);