if ($rol == "1") { } else { header("Location: login.php"); exit; } } else { header("Location: login.php"); exit; } } else { header("Location: login.php"); exit; } $usuario = $_SESSION['usuario']; try { $Grupo = $oGrupo->seleccionar_grupo($IdGrup); } catch (Exception $e) { echo "Ha ocurrido un error"; } if ($Grupo != null) { foreach ($Grupo as $key => $bl) { $nomGrup = $bl['nomGruo']; $numGrup = $bl['numGrup']; $fchaFundGrup = $bl['fchaFundGrup']; $exclGrup = $bl['exclGrup']; $lugReuGrup = $bl['lugReuGrup']; $proLugGrup = $bl['proLugGrup']; $telgrup = $bl['telgrup']; $nomDep = $bl['nomDep']; $nomMunic = $bl['nomMunic']; $callGrup = $bl['callGrup'];