Esempio n. 1
0
     $_SESSION["cve2"] = "11-03";
 }
 if ($h == 6) {
     $_SESSION["cve2"] = "12-04";
 }
 if ($h == 7) {
     $_SESSION["cve2"] = "01-05";
 }
 if ($h == 8) {
     $_SESSION["cve2"] = "02-06";
 }
 if ($h == 9) {
     $_SESSION["cve2"] = "03-07";
 }
 list($ho1, $ho2) = explode("-", $_SESSION["cve2"]);
 $consulta_maes_grupo = $ogrupo->consulta_maes_grupo();
 if ($consulta_maes_grupo != null) {
     $con = 3;
     $con = 1;
     $acum = "";
     for ($g = 0; $g < sizeof($consulta_maes_grupo); $g++) {
         if ($g + 1 == 1) {
             $v_1 = $consulta_maes_grupo[0]["cve_maes"];
         }
         if ($g + 1 == 2) {
             $v_1 = $consulta_maes_grupo[0]["cve_maes"];
             $v_2 = $consulta_maes_grupo[1]["cve_maes"];
         }
         if ($g + 1 == 3) {
             $v_1 = $consulta_maes_grupo[0]["cve_maes"];
             $v_2 = $consulta_maes_grupo[1]["cve_maes"];