コード例 #1
0
ファイル: gruposController.php プロジェクト: Elderl23/escuela
                    $cve_aula = "cve_au!={$v_1} and cve_au!={$v_2} and  cve_au!={$v_3} and cve_au!={$v_4} ";
                    $cve_aula2 = $ogrupo->consulta_au_es2($cve_aula);
                }
                if ($g + 1 == 5) {
                    $cve_aula = "cve_au!={$v_1} and cve_au!={$v_2} and  cve_au!={$v_3} and cve_au!={$v_4} and cve_au!={$v_5} ";
                    $cve_aula2 = $ogrupo->consulta_au_es2($cve_aula);
                }
                if ($g + 1 == 6) {
                    $cve_aula = "cve_au!={$v_1} and cve_au!={$v_2} and  cve_au!={$v_3} and cve_au!={$v_4} and cve_au!={$v_5} and cve_au!={$v_6} ";
                    $cve_aula2 = $ogrupo->consulta_au_es2($cve_aula);
                }
            }
        }
    } else {
        $con2 = 0;
        $consulta_au_ge = $ogrupo->consulta_au_ge();
    }
}
if (isset($_GET["au"])) {
    $a = $_GET["au"];
    $nombre_au = $ogrupo->consulta_au_es3($a);
    $consulta_lab = $ogrupo->consulta_lab();
}
if (isset($_GET["lab"])) {
    $l = $_GET["lab"];
    $consu_horario_lab = $ogrupo->consulta_horario_lab($l);
    $con_la_es = $ogrupo->consulta_lab_es($l);
    $d = $_GET["dia"];
    if ($d >= 1 and $d <= 5) {
        $dia = "lv";
    } else {