array('NOM'=>'index','URL'=>'./'),3=>array('NOM'=>'index','URL'=>'../UK/')); $gtabCheminPage['PAGE_DECONNEXION']=array(5=>array('NOM'=>'PAGE-Deconnexion','URL'=>'./'),3=>array('NOM'=>'PAGE-Deconnexion','URL'=>'../UK/')); $gtabCheminPage['PAGE_CHOIXMETHODE']=array(5=>array('NOM'=>'PAGE-choixmethode','URL'=>'./'),3=>array('NOM'=>'PAGE-choixmethode','URL'=>'../UK/')); $gtabCheminPage['PAGE_DIMENSIONNEMENT1']=array(5=>array('NOM'=>'PAGE-Dimensionnement1','URL'=>'./'),3=>array('NOM'=>'PAGE-Dimensionnement1','URL'=>'../UK/')); $gtabCheminPage['PAGE_PROJETENREGISTRE']=array(5=>array('NOM'=>'PAGE_ProjetEnregistre','URL'=>'./'),3=>array('NOM'=>'PAGE_ProjetEnregistre','URL'=>'../UK/')); $gtabCheminPage['IMPRIME']=array(5=>array('NOM'=>'Imprime','URL'=>'./'),3=>array('NOM'=>'Imprime','URL'=>'../UK/')); $gtabCheminPage['PAGE_DIMENSIONNEMENT']=array(5=>array('NOM'=>'PAGE-Dimensionnement','URL'=>'./'),3=>array('NOM'=>'PAGE_Dimensionnement','URL'=>'../UK/')); EnvSet('JOURSSEMAINE',array("lundi","mardi","mercredi","jeudi","vendredi","samedi","dimanche")); EnvSet('MOIS',array("janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre")); EnvSet('HCreationAutoActive',true); EnvSet('FORMATDATESYSTEME','JJ/MM/AAAA'); EnvSet('FORMATHEURESYSTEME','HH:MM'); EnvSet('UNITESTAILLESFICHIER',array("o","Ko","Mo","Go","To")); $_gszSEPDEVISE = "€"; $_gszSEPDEC = ","; $_gszSEPMIL = " "; //----------------------------------------------------------------------- // Restauration de contexte //----------------------------------------------------------------------- RechargementPageSiBesoin('PAGE_CONNEXION'); $gTabVarSession = GetSessionVar(); $_bContextePageExiste = isset($gTabVarSession['PAGE_CONNEXION']); $_bContexteProjetExiste = isset($gTabVarSession['MonProjet']); if ($_bContexteProjetExiste) { // Le contexte du projet existe, on le restaure $MonProjet= $gTabVarSession['MonProjet']; $MonProjet->WB_RestaureContexte(); } if ($_bContextePageExiste) { // Le contexte de la page existe, on le restaure $PAGE_CONNEXION= $gTabVarSession['PAGE_CONNEXION']; $PAGE_CONNEXION->WB_RestaureContexte(); $MaPage = &$PAGE_CONNEXION; } //----------------------------------------------------------------------- // Déclaration de la page et de ses champs //----------------------------------------------------------------------- // le 'if (isset())' gère le cas ou session.bug_compat_42 est à VRAI if (!isset($PAGE_CONNEXION)) { $PAGE_CONNEXION= new CPage(true); $PAGE_CONNEXION->Nom = 'PAGE_Connexion'; $PAGE_CONNEXION->NomPhysique = basename ( __FILE__ ,substr(__FILE__,-4)); $PAGE_CONNEXION->Alias = 'PAGE_CONNEXION'; $PAGE_CONNEXION->m_sNomPHP = 'PAGE_CONNEXION'; $PAGE_CONNEXION->Libelle = 'Connexion'; $PAGE_CONNEXION->bUTF8 = true; $PAGE_CONNEXION->bAvecContexte = true; $PAGE_CONNEXION->sFichierPalette = './res/Material Indigo.wpc'; $MaPage = &$PAGE_CONNEXION; $GR_Groupe1=&CreerChamp('CGroupe'); $PAGE_CONNEXION->WB_AjouteChamp('GR_Groupe1','GR_Groupe1',$GR_Groupe1,'GR_Groupe1'); $M1_AREA_Header=&CreerChamp('CChampCelluleMiseEnPage');$PAGE_CONNEXION->WB_AjouteChamp('AREA_Header','M1',$M1_AREA_Header,'M1_AREA_Header'); $M4_IMG_LACAZE_ENERGIES_rvb_PANO1=&CreerChamp('CImage',200,80,15658734);$PAGE_CONNEXION->WB_AjouteChamp('IMG_LACAZE_ENERGIES_rvb_PANO1','M4',$M4_IMG_LACAZE_ENERGIES_rvb_PANO1,'M4_IMG_LACAZE_ENERGIES_rvb_PANO1'); $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->m_bDefilementAutomatique=false; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->m_nDefilementTemporisation=1000; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->m_bDefilementLancementAutomatique=true; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->m_bDefilementModeRepertoire=true; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->m_bDefilementTriActif=false; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->m_nDefilementTriOptions=-1; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->eTypeImage=0; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->nModeAffichage=1; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->nTransparence=1; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->sConteneurAliasOuFond=0xFFFFFF; $M5_STC_Company_Name=&CreerChamp('CLibelle');$PAGE_CONNEXION->WB_AjouteChamp('STC_Company_Name','M5',$M5_STC_Company_Name,'M5_STC_Company_Name'); $M3_BTN_Fr=&CreerChamp('CBouton');$PAGE_CONNEXION->WB_AjouteChamp('BTN_Fr','M3',$M3_BTN_Fr,'M3_BTN_Fr'); $M3_BTN_Fr->m_bLibelleRiche=true; $M8_BTN_uk=&CreerChamp('CBouton');$PAGE_CONNEXION->WB_AjouteChamp('BTN_uk','M8',$M8_BTN_uk,'M8_BTN_uk'); $M8_BTN_uk->m_bLibelleRiche=true; $M9_BTN_Fr1=&CreerChamp('CBouton');$PAGE_CONNEXION->WB_AjouteChamp('BTN_Fr1','M9',$M9_BTN_Fr1,'M9_BTN_Fr1'); $M9_BTN_Fr1->m_bLibelleRiche=true; $M2_AREA_Wrap=&CreerChamp('CChampCelluleMiseEnPage');$PAGE_CONNEXION->WB_AjouteChamp('AREA_Wrap','M2',$M2_AREA_Wrap,'M2_AREA_Wrap'); $A1_ZTR_Connexion=&CreerChamp('CChampZoneTexte');$PAGE_CONNEXION->WB_AjouteChamp('ZTR_Connexion','A1',$A1_ZTR_Connexion,'A1_ZTR_Connexion'); $A1_ZTR_Connexion->m_bLibelleRiche=true; $A2_SAI_Utilisateur=&CreerChamp('CSaisie');$PAGE_CONNEXION->WB_AjouteChamp('SAI_Utilisateur','A2',$A2_SAI_Utilisateur,'A2_SAI_Utilisateur'); $A2_SAI_Utilisateur->SetATTMISEABLANC(true); $A2_SAI_Utilisateur->SetChampFormate(false); $A2_SAI_Utilisateur->m_bLibelleRiche=true; $A3_BTN_Connexion=&CreerChamp('CBouton');$PAGE_CONNEXION->WB_AjouteChamp('BTN_Connexion','A3',$A3_BTN_Connexion,'A3_BTN_Connexion'); $A3_BTN_Connexion->m_bLibelleRiche=true; $A4_SAI_Mot_de_passe=&CreerChamp('CSaisie');$PAGE_CONNEXION->WB_AjouteChamp('SAI_Mot_de_passe','A4',$A4_SAI_Mot_de_passe,'A4_SAI_Mot_de_passe'); $A4_SAI_Mot_de_passe->SetATTMISEABLANC(true); $A4_SAI_Mot_de_passe->SetChampFormate(false); $A4_SAI_Mot_de_passe->m_bLibelleRiche=true; $A5_LIEN_Creer_un_compte=&CreerChamp('CChampLien');$PAGE_CONNEXION->WB_AjouteChamp('LIEN_Créer_un_compte','A5',$A5_LIEN_Creer_un_compte,'A5_LIEN_Creer_un_compte'); $A6_IMG_LE4=&CreerChamp('CImage',862,600,15658734);$PAGE_CONNEXION->WB_AjouteChamp('IMG_LE4','A6',$A6_IMG_LE4,'A6_IMG_LE4'); $A6_IMG_LE4->m_bDefilementAutomatique=false; $A6_IMG_LE4->m_nDefilementTemporisation=1000; $A6_IMG_LE4->m_bDefilementLancementAutomatique=true; $A6_IMG_LE4->m_bDefilementModeRepertoire=true; $A6_IMG_LE4->m_bDefilementTriActif=false; $A6_IMG_LE4->m_nDefilementTriOptions=-1; $A6_IMG_LE4->eTypeImage=0; $A6_IMG_LE4->nModeAffichage=1; $A6_IMG_LE4->nTransparence=1; $A6_IMG_LE4->sConteneurAliasOuFond=0xFFFFFF; $M12_AREA_Footer=&CreerChamp('CChampCelluleMiseEnPage');$PAGE_CONNEXION->WB_AjouteChamp('AREA_Footer','M12',$M12_AREA_Footer,'M12_AREA_Footer'); $M7_ZONE_SansNom1=&CreerChamp('CChampCelluleMiseEnPage');$PAGE_CONNEXION->WB_AjouteChamp('ZONE_SansNom1','M7',$M7_ZONE_SansNom1,'M7_ZONE_SansNom1'); $A10_POPUP_crercompte=&CreerChamp('CChampPopup');$PAGE_CONNEXION->WB_AjouteChamp('POPUP_crercompte','A10',$A10_POPUP_crercompte,'A10_POPUP_crercompte'); $A8_SAI_Confirmer_mot_de_passe=&CreerChamp('CSaisie');$PAGE_CONNEXION->WB_AjouteChamp('SAI_Confirmer_mot_de_passe','A8',$A8_SAI_Confirmer_mot_de_passe,'A8_SAI_Confirmer_mot_de_passe'); $A8_SAI_Confirmer_mot_de_passe->SetATTMISEABLANC(true); $A8_SAI_Confirmer_mot_de_passe->SetChampFormate(false); $A8_SAI_Confirmer_mot_de_passe->m_bLibelleRiche=true; $A9_BTN_Ok=&CreerChamp('CBouton');$PAGE_CONNEXION->WB_AjouteChamp('BTN_Ok','A9',$A9_BTN_Ok,'A9_BTN_Ok'); $A9_BTN_Ok->m_bLibelleRiche=true; $A11_SAI_Utilisateur1=&CreerChamp('CSaisie');$PAGE_CONNEXION->WB_AjouteChamp('SAI_Utilisateur1','A11',$A11_SAI_Utilisateur1,'A11_SAI_Utilisateur1'); $A11_SAI_Utilisateur1->SetATTMISEABLANC(true); $A11_SAI_Utilisateur1->SetChampFormate(false); $A11_SAI_Utilisateur1->m_bLibelleRiche=true; $A14_SAI_Motdepasse=&CreerChamp('CSaisie');$PAGE_CONNEXION->WB_AjouteChamp('SAI_Motdepasse','A14',$A14_SAI_Motdepasse,'A14_SAI_Motdepasse'); $A14_SAI_Motdepasse->SetATTMISEABLANC(true); $A14_SAI_Motdepasse->SetChampFormate(false); $A14_SAI_Motdepasse->m_bLibelleRiche=true; $A12_BTN_Annuler=&CreerChamp('CBouton');$PAGE_CONNEXION->WB_AjouteChamp('BTN_Annuler','A12',$A12_BTN_Annuler,'A12_BTN_Annuler'); $A12_BTN_Annuler->m_bLibelleRiche=true; $A13_ZTR_Creer_votre_compte=&CreerChamp('CChampZoneTexte');$PAGE_CONNEXION->WB_AjouteChamp('ZTR_Créer_votre_compte','A13',$A13_ZTR_Creer_votre_compte,'A13_ZTR_Creer_votre_compte'); $A13_ZTR_Creer_votre_compte->m_bLibelleRiche=true; //----------------------------------------------------------------------- // Initialisation de la valeur des champs //----------------------------------------------------------------------- $GR_Groupe1->lierVM('PAGE_Connexion','GR_Groupe1','GR_Groupe1'); $M1_AREA_Header->lierVM('PAGE_Connexion','AREA_Header','M1_AREA_Header'); $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->Valeur = '../../LACAZE ENERGIES_rvb PANO.jpg'; $M4_IMG_LACAZE_ENERGIES_rvb_PANO1->lierVM('PAGE_Connexion','IMG_LACAZE_ENERGIES_rvb_PANO1','M4_IMG_LACAZE_ENERGIES_rvb_PANO1'); $M5_STC_Company_Name->Libelle = 'DETERMINATION DE VOTRE SOLUTION ECS'; $M5_STC_Company_Name->Valeur = 'DETERMINATION DE VOTRE SOLUTION ECS'; $M5_STC_Company_Name->ValeurInitiale = 'DETERMINATION DE VOTRE SOLUTION ECS'; $M5_STC_Company_Name->Masque = 0; $M5_STC_Company_Name->lierVM('PAGE_Connexion','STC_Company_Name','M5_STC_Company_Name'); $M3_BTN_Fr->Libelle = function_exists("construireTexteRiche_M3_BTN_Fr") ? null : ''; $M3_BTN_Fr->lierVM('PAGE_Connexion','BTN_Fr','M3_BTN_Fr'); $M8_BTN_uk->Libelle = function_exists("construireTexteRiche_M8_BTN_uk") ? null : ''; $M8_BTN_uk->lierVM('PAGE_Connexion','BTN_uk','M8_BTN_uk'); $M9_BTN_Fr1->Libelle = function_exists("construireTexteRiche_M9_BTN_Fr1") ? null : 'Déconnecter'; $M9_BTN_Fr1->lierVM('PAGE_Connexion','BTN_Fr1','M9_BTN_Fr1'); $M2_AREA_Wrap->lierVM('PAGE_Connexion','AREA_Wrap','M2_AREA_Wrap'); $A1_ZTR_Connexion->Valeur = function_exists("construireTexteRiche_A1_ZTR_Connexion") ? null : '

Connexion

'; $A1_ZTR_Connexion->lierVM('PAGE_Connexion','ZTR_Connexion','A1_ZTR_Connexion'); $A2_SAI_Utilisateur->Couleur = 0x616161; $A2_SAI_Utilisateur->CouleurInitiale = 0x616161; $A2_SAI_Utilisateur->CouleurFond = 0xFFFFFF; $A2_SAI_Utilisateur->CouleurFondInitiale = 0xFFFFFF; $A2_SAI_Utilisateur->Valeur = ''; $A2_SAI_Utilisateur->Libelle = 'Utilisateur'; $A2_SAI_Utilisateur->Masque = '0'; $A2_SAI_Utilisateur->m_nHauteur = 23; $A2_SAI_Utilisateur->m_nLargeur = 248; $A2_SAI_Utilisateur->m_nOpacite = 100; $A2_SAI_Utilisateur->m_nCadrageVertical = 1; $A2_SAI_Utilisateur->m_Police->m_bGras = false; $A2_SAI_Utilisateur->m_Police->m_bItalique = false; $A2_SAI_Utilisateur->m_Police->m_bSouligne = false; $A2_SAI_Utilisateur->m_Police->m_sNom = 'Arial, Helvetica, sans-serif'; $A2_SAI_Utilisateur->m_Police->m_nTaille = '13px'; $A2_SAI_Utilisateur->m_nX = 276; $A2_SAI_Utilisateur->m_nY = 38; $A2_SAI_Utilisateur->lierVM('PAGE_Connexion','SAI_Utilisateur','A2_SAI_Utilisateur'); $A3_BTN_Connexion->Libelle = function_exists("construireTexteRiche_A3_BTN_Connexion") ? null : 'Valider'; $A3_BTN_Connexion->lierVM('PAGE_Connexion','BTN_Connexion','A3_BTN_Connexion'); $A4_SAI_Mot_de_passe->Couleur = 0x616161; $A4_SAI_Mot_de_passe->CouleurInitiale = 0x616161; $A4_SAI_Mot_de_passe->CouleurFond = 0xFFFFFF; $A4_SAI_Mot_de_passe->CouleurFondInitiale = 0xFFFFFF; $A4_SAI_Mot_de_passe->Valeur = ''; $A4_SAI_Mot_de_passe->Libelle = 'Mot de passe'; $A4_SAI_Mot_de_passe->Masque = '0'; $A4_SAI_Mot_de_passe->m_nHauteur = 23; $A4_SAI_Mot_de_passe->m_nLargeur = 248; $A4_SAI_Mot_de_passe->m_nOpacite = 100; $A4_SAI_Mot_de_passe->m_nCadrageVertical = 1; $A4_SAI_Mot_de_passe->m_Police->m_bGras = false; $A4_SAI_Mot_de_passe->m_Police->m_bItalique = false; $A4_SAI_Mot_de_passe->m_Police->m_bSouligne = false; $A4_SAI_Mot_de_passe->m_Police->m_sNom = 'Arial, Helvetica, sans-serif'; $A4_SAI_Mot_de_passe->m_Police->m_nTaille = '13px'; $A4_SAI_Mot_de_passe->m_nX = 276; $A4_SAI_Mot_de_passe->m_nY = 77; $A4_SAI_Mot_de_passe->lierVM('PAGE_Connexion','SAI_Mot_de_passe','A4_SAI_Mot_de_passe'); $A5_LIEN_Creer_un_compte->Libelle = 'Créer un compte'; $A5_LIEN_Creer_un_compte->lierVM('PAGE_Connexion','LIEN_Créer_un_compte','A5_LIEN_Creer_un_compte'); $A6_IMG_LE4->Valeur = '../LE3.png'; $A6_IMG_LE4->lierVM('PAGE_Connexion','IMG_LE4','A6_IMG_LE4'); $M12_AREA_Footer->lierVM('PAGE_Connexion','AREA_Footer','M12_AREA_Footer'); $M7_ZONE_SansNom1->lierVM('PAGE_Connexion','ZONE_SansNom1','M7_ZONE_SansNom1'); $A10_POPUP_crercompte->Visible = false; $A10_POPUP_crercompte->Couleur = 0x000000; $A10_POPUP_crercompte->CouleurInitiale = 0x000000; $A10_POPUP_crercompte->CouleurFond = 0xFFFFFF; $A10_POPUP_crercompte->CouleurFondInitiale = 0xFFFFFF; $A10_POPUP_crercompte->Valeur = ''; $A10_POPUP_crercompte->Etat = 1; $A10_POPUP_crercompte->m_nHauteur = 300; $A10_POPUP_crercompte->m_nLargeur = 400; $A10_POPUP_crercompte->m_nOpacite = 100; $A10_POPUP_crercompte->m_Police->m_bGras = false; $A10_POPUP_crercompte->m_Police->m_bItalique = false; $A10_POPUP_crercompte->m_Police->m_bSouligne = false; $A10_POPUP_crercompte->m_nX = 0; $A10_POPUP_crercompte->m_nY = 0; $A10_POPUP_crercompte->lierVM('PAGE_Connexion','POPUP_crercompte','A10_POPUP_crercompte'); $A8_SAI_Confirmer_mot_de_passe->Couleur = 0x616161; $A8_SAI_Confirmer_mot_de_passe->CouleurInitiale = 0x616161; $A8_SAI_Confirmer_mot_de_passe->CouleurFond = 0xFFFFFF; $A8_SAI_Confirmer_mot_de_passe->CouleurFondInitiale = 0xFFFFFF; $A8_SAI_Confirmer_mot_de_passe->Libelle = 'Confirmer mot de passe'; $A8_SAI_Confirmer_mot_de_passe->Masque = '0'; $A8_SAI_Confirmer_mot_de_passe->m_nHauteur = 23; $A8_SAI_Confirmer_mot_de_passe->m_nLargeur = 312; $A8_SAI_Confirmer_mot_de_passe->m_nOpacite = 100; $A8_SAI_Confirmer_mot_de_passe->m_nCadrageVertical = 1; $A8_SAI_Confirmer_mot_de_passe->m_Police->m_bGras = false; $A8_SAI_Confirmer_mot_de_passe->m_Police->m_bItalique = false; $A8_SAI_Confirmer_mot_de_passe->m_Police->m_bSouligne = false; $A8_SAI_Confirmer_mot_de_passe->m_Police->m_sNom = 'Roboto, Helvetica, Arial, sans-serif'; $A8_SAI_Confirmer_mot_de_passe->m_Police->m_nTaille = '13px'; $A8_SAI_Confirmer_mot_de_passe->m_nX = 46; $A8_SAI_Confirmer_mot_de_passe->m_nY = 160; $A8_SAI_Confirmer_mot_de_passe->lierVM('PAGE_Connexion.POPUP_crercompte','SAI_Confirmer_mot_de_passe','A8_SAI_Confirmer_mot_de_passe'); $A9_BTN_Ok->Libelle = function_exists("construireTexteRiche_A9_BTN_Ok") ? null : 'ok'; $A9_BTN_Ok->lierVM('PAGE_Connexion.POPUP_crercompte','BTN_Ok','A9_BTN_Ok'); $A11_SAI_Utilisateur1->Couleur = 0x616161; $A11_SAI_Utilisateur1->CouleurInitiale = 0x616161; $A11_SAI_Utilisateur1->CouleurFond = 0xFFFFFF; $A11_SAI_Utilisateur1->CouleurFondInitiale = 0xFFFFFF; $A11_SAI_Utilisateur1->Libelle = 'Utilisateur'; $A11_SAI_Utilisateur1->Masque = '0'; $A11_SAI_Utilisateur1->m_nHauteur = 23; $A11_SAI_Utilisateur1->m_nLargeur = 312; $A11_SAI_Utilisateur1->m_nOpacite = 100; $A11_SAI_Utilisateur1->m_nCadrageVertical = 1; $A11_SAI_Utilisateur1->m_Police->m_bGras = false; $A11_SAI_Utilisateur1->m_Police->m_bItalique = false; $A11_SAI_Utilisateur1->m_Police->m_bSouligne = false; $A11_SAI_Utilisateur1->m_Police->m_sNom = 'Roboto, Helvetica, Arial, sans-serif'; $A11_SAI_Utilisateur1->m_Police->m_nTaille = '13px'; $A11_SAI_Utilisateur1->m_nX = 46; $A11_SAI_Utilisateur1->m_nY = 57; $A11_SAI_Utilisateur1->SetLiaisonFichier('compteutilisateur', 'Utilisateur'); $A11_SAI_Utilisateur1->lierVM('PAGE_Connexion.POPUP_crercompte','SAI_Utilisateur1','A11_SAI_Utilisateur1'); $A14_SAI_Motdepasse->Couleur = 0x616161; $A14_SAI_Motdepasse->CouleurInitiale = 0x616161; $A14_SAI_Motdepasse->CouleurFond = 0xFFFFFF; $A14_SAI_Motdepasse->CouleurFondInitiale = 0xFFFFFF; $A14_SAI_Motdepasse->Libelle = 'motdepasse'; $A14_SAI_Motdepasse->Masque = '0'; $A14_SAI_Motdepasse->m_nHauteur = 23; $A14_SAI_Motdepasse->m_nLargeur = 312; $A14_SAI_Motdepasse->m_nOpacite = 100; $A14_SAI_Motdepasse->m_nCadrageVertical = 1; $A14_SAI_Motdepasse->m_Police->m_bGras = false; $A14_SAI_Motdepasse->m_Police->m_bItalique = false; $A14_SAI_Motdepasse->m_Police->m_bSouligne = false; $A14_SAI_Motdepasse->m_Police->m_sNom = 'Roboto, Helvetica, Arial, sans-serif'; $A14_SAI_Motdepasse->m_Police->m_nTaille = '13px'; $A14_SAI_Motdepasse->m_nX = 46; $A14_SAI_Motdepasse->m_nY = 111; $A14_SAI_Motdepasse->SetLiaisonFichier('compteutilisateur', 'motdepasse'); $A14_SAI_Motdepasse->lierVM('PAGE_Connexion.POPUP_crercompte','SAI_Motdepasse','A14_SAI_Motdepasse'); $A12_BTN_Annuler->Libelle = function_exists("construireTexteRiche_A12_BTN_Annuler") ? null : 'Annuler'; $A12_BTN_Annuler->lierVM('PAGE_Connexion.POPUP_crercompte','BTN_Annuler','A12_BTN_Annuler'); $A13_ZTR_Creer_votre_compte->Valeur = function_exists("construireTexteRiche_A13_ZTR_Creer_votre_compte") ? null : '

Créer votre compte

'; $A13_ZTR_Creer_votre_compte->lierVM('PAGE_Connexion.POPUP_crercompte','ZTR_Créer_votre_compte','A13_ZTR_Creer_votre_compte'); // fin de bloc pour 'if (isset())' qui gère le cas ou session.bug_compat_42 est à VRAI } if (!$_bContexteProjetExiste) { // Pas de contexte, il faut initialiser le conctexte globlal $MonProjet= new CProjet(); // Ouverture de l'analyse HOuvreAnalyse($CheminRepRes.'Logiciel_en_ligne.xdd'); // on charge le code du projet, if ( Res_Include('Logiciel_en_ligne-prj.php',RES_PROJET)) {DeclMonProjet(); } $MonProjet->InitProjet('Logiciel_en_ligne'); } else { Res_Include('Logiciel_en_ligne-prj.php',RES_PROJET); } //----------------------------------------------------------------------- // Implémentation des Traitements //----------------------------------------------------------------------- //----------------------------------------------------------------------- // Procédures locales de la page //----------------------------------------------------------------------- // Code d'initialisation de page function& PAGE_Connexion28_0() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','PAGE_Connexion'); return _return ($_PHP_VAR_RETURN_); } // Code de chaque affichage de page function& PAGE_Connexion151_0() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','PAGE_Connexion'); return _return ($_PHP_VAR_RETURN_); } function& PAGE_Connexion151() { ExecuteAncetre('PAGE_Connexion151_0'); $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','PAGE_Connexion'); return _return ($_PHP_VAR_RETURN_); } //Clic de BTN_Fr (serveur PHP) (modèle PAGEMOD_Simple1) :: (PCode de Clic) function& M3_BTN_Fr16() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','M3_BTN_Fr'); Nation(getRef(5)); CookieEcrit(getRef('langue'),getRef(5)); PageAffiche(VersPrimitif(PageCourante())); return _return ($_PHP_VAR_RETURN_); } //Clic de BTN_uk (serveur PHP) (modèle PAGEMOD_Simple1) :: (PCode de Clic) function& M8_BTN_uk16() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','M8_BTN_uk'); Nation(getRef(3)); CookieEcrit(getRef('langue'),getRef(3)); PageAffiche(VersPrimitif(PageCourante())); return _return ($_PHP_VAR_RETURN_); } //Clic de BTN_Fr1 (serveur PHP) (modèle PAGEMOD_Simple1) :: (PCode de Clic) function& M9_BTN_Fr116() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','M9_BTN_Fr1'); PageAffiche(VersPrimitif('PAGE_Deconnexion')); return _return ($_PHP_VAR_RETURN_); } //Clic de BTN_Connexion (serveur PHP) :: (PCode de Clic) function& A3_BTN_Connexion16() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','A3_BTN_Connexion'); global $A2_SAI_Utilisateur; global $A4_SAI_Mot_de_passe; HLitRecherchePremier(getRef('compteutilisateur'),Rubrique('compteutilisateur','Utilisateur'),VersPrimitif($A2_SAI_Utilisateur)); if (VersBooleen(Operateur(24866,$A4_SAI_Mot_de_passe,Rubrique('compteutilisateur','motdepasse')))) { Operateur(95,GetGlobal('_gsUtilisateur'),Rubrique('compteutilisateur','Utilisateur')); PageAffiche(VersPrimitif('PAGE_choixmethode')); } else { Info(getRef('erreur mdp ou util')); } return _return ($_PHP_VAR_RETURN_); } //Clic de LIEN_Créer_un_compte (serveur PHP) :: (PCode de Clic) function& A5_LIEN_Creer_un_compte16() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','A5_LIEN_Creer_un_compte'); global $A10_POPUP_crercompte; PopupAffiche(GetNomChamp($A10_POPUP_crercompte)); return _return ($_PHP_VAR_RETURN_); } //Clic de BTN_Ok ( POPUP_crercompte ) (serveur PHP) :: (PCode de Clic) function& A9_BTN_Ok16() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion.POPUP_crercompte','A9_BTN_Ok'); global $A2_SAI_Utilisateur; HLitRecherchePremier(getRef('compteutilisateur'),Rubrique('compteutilisateur','Utilisateur'),VersPrimitif($A2_SAI_Utilisateur)); if (VersBooleen(Operateur(24866,getRef(HTrouve(getRef('compteutilisateur'))),getRef(true)))) { Info(getRef('compte existant')); } else { EcranVersFichier(); HAjoute(getRef('compteutilisateur')); Info(getRef('compte crée')); } return _return ($_PHP_VAR_RETURN_); } //----------------------------------------------------------------------- // Codes d'initialisation des champ et de la page //----------------------------------------------------------------------- // Si c'est le 1er appel pour cette page (=pas de contexte) if (!$_bContextePageExiste) { $MonProjet->SetPageCourante('PAGE_CONNEXION','PAGE_Connexion'); // Code de déclaration des globales de page function& PAGE_Connexion0_0() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','PAGE_Connexion'); return _return ($_PHP_VAR_RETURN_); } // Appel le code de déclaration des globales de PAGE_Connexion PAGE_Connexion0_0(); function& PAGE_Connexion0() { $WB_NIVEAU_PILE=empileVM('PAGE_Connexion','PAGE_Connexion'); return _return ($_PHP_VAR_RETURN_); } // Appel le code de déclaration des globales de PAGE_Connexion PAGE_Connexion0(); // Code d'initialisation de page PAGE_Connexion28_0(); } else { $MonProjet->SetPageCouranteContexte('PAGE_CONNEXION','PAGE_Connexion'); } //----------------------------------------------------------------------- // Affectation des champ, recherche du Traitement à exécuter //----------------------------------------------------------------------- if(!GereActions( $PAGE_CONNEXION)){ $_BTNACTION = TrouveBouton( $PAGE_CONNEXION ); if ($_BTNACTION=='M3') { //------------------------------------------------------------------- // PCodes de M3_BTN_Fr //------------------------------------------------------------------- M3_BTN_Fr16(); } if ($_BTNACTION=='M8') { //------------------------------------------------------------------- // PCodes de M8_BTN_uk //------------------------------------------------------------------- M8_BTN_uk16(); } if ($_BTNACTION=='M9') { //------------------------------------------------------------------- // PCodes de M9_BTN_Fr1 //------------------------------------------------------------------- M9_BTN_Fr116(); } if ($_BTNACTION=='A3') { //------------------------------------------------------------------- // PCodes de A3_BTN_Connexion //------------------------------------------------------------------- A3_BTN_Connexion16(); } if ($_BTNACTION=='A5') { //------------------------------------------------------------------- // PCodes de A5_LIEN_Creer_un_compte //------------------------------------------------------------------- A5_LIEN_Creer_un_compte16(); } if ($_BTNACTION=='A9') { //------------------------------------------------------------------- // PCodes de A9_BTN_Ok //------------------------------------------------------------------- A9_BTN_Ok16(); } } if ( !bRenvoitCodeHTML($PAGE_CONNEXION,true)) exit(); ?> <?php echo $MaPage->GetLibelle(); ?> GetHTMLEnteteHTML(); ?>

Connexion

Utilisateur
Mot de passe

Créer votre compte

pszGetLibelleHTML(); ?>
pszGetLibelleHTML(); ?>
Confirmer mot de passe
GetHTMLFinPageHTML(); ?>