Esempio n. 1
0
</a></li>
                    <li class="active">Chamada: <?php 
    echo $turma['turma_nome'];
    ?>
</li>
                </ol>
            </header>
            <h1 class="text-primary h2 bold titleMobileMarginTop">Visualizar Chamada: <?php 
    echo $turma['turma_nome'];
    ?>
</h1>
            <?php 
    if (!empty($alunos) and $turma['turma_status'] == '1' and $curso['curso_status'] == '1' and $readChamadaAtualizada->getResult()) {
        ?>
                <h2 class="text-danger h4"><?php 
        echo Check::dateBR('full', $readAula->getResult()[0]['data']);
        ?>
</h2>
                <div class="col-lg-12 marginTop">
                    <table class="table table-bordered table-condensed">
                        <thead>
                            <tr class="bold">
                                <td>Nome</td>
                                <td>Chamada</td>
                            </tr>
                        </thead>
                        <tbody class="form-group">
                            <?php 
        foreach ($readAlunos->getResult() as $chamada) {
            foreach ($readChamadaAtualizada->getResult() as $atual) {
                if ($chamada['educando_id'] == $atual['educando_id']) {
Esempio n. 2
0
</a></li>
                    <li class="active">Chamada: <?php 
    echo $turma['turma_nome'];
    ?>
</li>
                </ol>
            </header>
            <h1 class="text-primary h2 bold titleMobileMarginTop">Atualizar Chamada: <?php 
    echo $turma['turma_nome'];
    ?>
</h1>
            <?php 
    if (!empty($alunos) and $turma['turma_data_inicio'] <= date('Y-m-d') and $turma['turma_data_termino'] >= date('Y-m-d') and strpos($turma['turma_semana'], Check::dateBR('semana')) !== false and $turma['turma_status'] == '1' and $curso['curso_status'] == '1') {
        ?>
                <h2 class="text-danger h4"><?php 
        echo Check::dateBR('full');
        ?>
</h2>
                <div class="col-lg-12 marginTop">
                    <form id="ChamadaUpdate" name="ChamadaUpdate" method="post" action="">
                        <table>
                            <tbody class="form-group">
                                <?php 
        foreach ($readAlunos->getResult() as $chamada) {
            foreach ($readChamadaAtualizada->getResult() as $atual) {
                if ($chamada['educando_id'] == $atual['educando_id']) {
                    $buffer[] = $atual['educando_id'];
                    ?>
                                            <tr>
                                                <td>
                                                    <label><?php