$ValIsIntegrationProjetGlobal = $ObjStage->GetIsIntegrationProjetGlobal();
     $ValIsIntegrationEntiteIndependante = $ObjStage->GetIsIntegrationEntiteIndependante();
     $ValRemarquesGenerales = $ObjStage->GetRemarquesGenerales();
     $ValNbPersCentreInfo = $ObjStage->GetNbPersCentreInfo();
     $ValAreOldStagiaires = $ObjStage->GetAreOldStagiaires();
     $ValNbStagesProposes = $ObjStage->GetNbStagesProposes();
     $ValNbStagesRestant = $ObjStage->GetNbStagesRestant();
     $ValNbPersonnesService = $ObjStage->GetNbPersonnesService();
     $ValIsStagiaireSeul = $ObjStage->GetIsStagiaireSeul();
     $ValIndemnitesMensuellesStage = $ObjStage->GetIndemnitesMensuellesStage();
     $ValIndemnitesRepas = $ObjStage->GetIndemnitesRepas();
     $ValIndemnitesRepasOuiNon = $ValIndemnitesRepas != '';
     $ValIndemnitesTransport = $ObjStage->GetIndemnitesTransport();
     $ValIndemnitesTransportOuiNon = $ValIndemnitesTransport != '';
     $ValIsEmbauchePossible = $ObjStage->GetIsEmbauchePossible();
     $ValAdr1Stage = $ObjStage->GetAdr1Stage();
     $ValAdr2Stage = $ObjStage->GetAdr2Stage();
     $ValCPStage = $ObjStage->GetCPStage();
     $ValVilleStage = $ObjStage->GetVilleStage();
     $ValFK_Tuteur = $ObjStage->GetFK_Tuteur();
     break;
 case 'Valid':
     $CodErrVide = array();
     $CodErrInval = array();
     $ValPK_Stage = $PK_Stage;
     $ValFK_Entreprise = $FK_Entreprise;
     $ValNiveauStage = $NiveauStage;
     $ValMateriel = CalcCodeBin($ReqMateriels);
     $ValLangages = CalcCodeBin($ReqLangages);
     $ValAutresLangages = trim($AutresLangages);
     $ValBD = CalcCodeBin($ReqBDs);
<?php

if ($CleOK == '069b9247591948b71d303ac66371bf0b') {
    require_once $PATH_COMMUNS . 'FctDiverses.php';
    // IsInSet()
    $ReqLangages = $ConnectStages->query("SELECT * FROM {$NomTabLangages}");
    $ReqMateriels = $ConnectStages->query("SELECT * FROM {$NomTabMateriels}");
    $ReqBDs = $ConnectStages->query("SELECT * FROM {$NomTabBasesDonnees}");
    require_once $PATH_CLASS . 'CStage.php';
    require_once $PATH_CLASS . 'CUser.php';
    require_once $PATH_CLASS . 'CEntreprise.php';
    $ObjStage = new CStage($IdentPK);
    $ObjEntreprise = new CEntreprise($ObjStage->GetFK_Entreprise());
    $ObjUser = new CUser($ObjStage->GetFK_Tuteur());
    if ($ObjStage->GetAdr1Stage() != '') {
        $Adr1Stage = $ObjStage->GetAdr1Stage();
        $Adr2Stage = $ObjStage->GetAdr2Stage();
        $CPStage = $ObjStage->GetCPStage();
        $VilleStage = $ObjStage->GetVilleStage();
    } else {
        $Adr1Stage = $ObjEntreprise->GetAdr1();
        $Adr2Stage = $ObjEntreprise->GetAdr2();
        $CPStage = $ObjEntreprise->GetCP();
        $VilleStage = $ObjEntreprise->GetVille();
    }
    $ValPK_Stage = $ObjStage->GetPK_Stage();
    $ValRemarquesGenerales = $ObjStage->GetRemarquesGenerales();
    $WidthButton = 100;
    $WidthCadre = 800;
    $MsgProposeA = array();
    $MsgProposeA[1] = 'aux étudiants de DUT';