Esempio n. 1
0
    ?>
</th><th><?php 
    echo $idioma['Estado'];
    ?>
</th><th><?php 
    echo $idioma['Acciones'];
    ?>
</th>
        </tr>
    </thead>
    <?php 
    foreach ($tmp as $t) {
        $i++;
        $al = $alumno->mostrarTodoDatos($t['CodAlumno']);
        $al = array_shift($al);
        $hermano = $alumno->buscarHermanoApellidos($al['Paterno'], $al['Materno'], fecha2Str($Fecha, 0));
        $contarhermano = count($hermano);
        $codigohermano = array();
        foreach ($hermano as $her) {
            array_push($codigohermano, $her['CodAlumno']);
        }
        //echo $codhermanos
        $codhermanos = implode("/", $codigohermano);
        $cur = $curso->mostrarCurso($al['CodCurso']);
        $cur = array_shift($cur);
        $badge = $t['Estado'] == "Espera" ? "badge-success" : "badge-warning";
        ?>
        <tr>
        	<td class="der"><?php 
        echo $i;
        ?>