array('NOM'=>'index','URL'=>'./'),3=>array('NOM'=>'index','URL'=>'../UK/')); $gszCheminPageInverse='./'; $gszCheminPageInverse='../FR/'; $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_DECONNEXION'); $gTabVarSession = GetSessionVar(); $_bContextePageExiste = isset($gTabVarSession['PAGE_DECONNEXION']); $_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_DECONNEXION= $gTabVarSession['PAGE_DECONNEXION']; $PAGE_DECONNEXION->WB_RestaureContexte(); $MaPage = &$PAGE_DECONNEXION; } //----------------------------------------------------------------------- // 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_DECONNEXION)) { $PAGE_DECONNEXION= new CPage(false); $PAGE_DECONNEXION->Nom = 'PAGE_Deconnexion'; $PAGE_DECONNEXION->NomPhysique = basename ( __FILE__ ,substr(__FILE__,-4)); $PAGE_DECONNEXION->Alias = 'PAGE_DECONNEXION'; $PAGE_DECONNEXION->m_sNomPHP = 'PAGE_DECONNEXION'; $PAGE_DECONNEXION->Libelle = 'Déconnexion'; $PAGE_DECONNEXION->bUTF8 = true; $PAGE_DECONNEXION->bAvecContexte = true; $PAGE_DECONNEXION->sFichierPalette = './res/Material Indigo.wpc'; $MaPage = &$PAGE_DECONNEXION; $A1_POPUP_Deconnex=&CreerChamp('CChampPopup');$PAGE_DECONNEXION->WB_AjouteChamp('POPUP_Déconnex','A1',$A1_POPUP_Deconnex,'A1_POPUP_Deconnex'); $A2_POPUP_deconnection=&CreerChamp('CChampPopup');$PAGE_DECONNEXION->WB_AjouteChamp('POPUP_déconnection','A2',$A2_POPUP_deconnection,'A2_POPUP_deconnection'); $A4_BTN_Deconnection=&CreerChamp('CBouton');$PAGE_DECONNEXION->WB_AjouteChamp('BTN_Déconnection','A4',$A4_BTN_Deconnection,'A4_BTN_Deconnection'); $A4_BTN_Deconnection->m_bLibelleRiche=true; $A5_BTN_PasDeconnection=&CreerChamp('CBouton');$PAGE_DECONNEXION->WB_AjouteChamp('BTN_PasDéconnection','A5',$A5_BTN_PasDeconnection,'A5_BTN_PasDeconnection'); $A5_BTN_PasDeconnection->m_bLibelleRiche=true; //----------------------------------------------------------------------- // Initialisation de la valeur des champs //----------------------------------------------------------------------- $A1_POPUP_Deconnex->Visible = false; $A1_POPUP_Deconnex->Couleur = 0x000000; $A1_POPUP_Deconnex->CouleurInitiale = 0x000000; $A1_POPUP_Deconnex->CouleurFond = 0xFFFFFF; $A1_POPUP_Deconnex->CouleurFondInitiale = 0xFFFFFF; $A1_POPUP_Deconnex->Etat = 1; $A1_POPUP_Deconnex->m_nHauteur = 300; $A1_POPUP_Deconnex->m_nLargeur = 400; $A1_POPUP_Deconnex->m_nOpacite = 100; $A1_POPUP_Deconnex->m_Police->m_bGras = false; $A1_POPUP_Deconnex->m_Police->m_bItalique = false; $A1_POPUP_Deconnex->m_Police->m_bSouligne = false; $A1_POPUP_Deconnex->m_nX = 0; $A1_POPUP_Deconnex->m_nY = 0; $A1_POPUP_Deconnex->lierVM('PAGE_Deconnexion','POPUP_Déconnex','A1_POPUP_Deconnex'); $A2_POPUP_deconnection->Visible = false; $A2_POPUP_deconnection->Couleur = 0x000000; $A2_POPUP_deconnection->CouleurInitiale = 0x000000; $A2_POPUP_deconnection->CouleurFond = 0xE0E0E0; $A2_POPUP_deconnection->CouleurFondInitiale = 0xE0E0E0; $A2_POPUP_deconnection->Valeur = ''; $A2_POPUP_deconnection->Etat = 1; $A2_POPUP_deconnection->m_nHauteur = 560; $A2_POPUP_deconnection->m_nLargeur = 699; $A2_POPUP_deconnection->m_nOpacite = 100; $A2_POPUP_deconnection->m_Police->m_bGras = false; $A2_POPUP_deconnection->m_Police->m_bItalique = false; $A2_POPUP_deconnection->m_Police->m_bSouligne = false; $A2_POPUP_deconnection->m_nX = 0; $A2_POPUP_deconnection->m_nY = 0; $A2_POPUP_deconnection->lierVM('PAGE_Deconnexion','POPUP_déconnection','A2_POPUP_deconnection'); $A4_BTN_Deconnection->Libelle = function_exists("construireTexteRiche_A4_BTN_Deconnection") ? null : 'OUI'; $A4_BTN_Deconnection->lierVM('PAGE_Deconnexion.POPUP_déconnection','BTN_Déconnection','A4_BTN_Deconnection'); $A5_BTN_PasDeconnection->Libelle = function_exists("construireTexteRiche_A5_BTN_PasDeconnection") ? null : 'NON'; $A5_BTN_PasDeconnection->lierVM('PAGE_Deconnexion.POPUP_déconnection','BTN_PasDéconnection','A5_BTN_PasDeconnection'); // 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_Deconnexion28() { $WB_NIVEAU_PILE=empileVM('PAGE_Deconnexion','PAGE_Deconnexion'); global $A2_POPUP_deconnection; PopupAffiche(GetNomChamp($A2_POPUP_deconnection)); return _return ($_PHP_VAR_RETURN_); } // Code de chaque affichage de page //Clic de BTN_Déconnection ( POPUP_déconnection ) (serveur PHP) :: (PCode de Clic) function& A4_BTN_Deconnection16() { $WB_NIVEAU_PILE=empileVM('PAGE_Deconnexion.POPUP_déconnection','A4_BTN_Deconnection'); Operateur(95,GetGlobal('_gsUtilisateur'),getRef('')); PageAffiche(VersPrimitif('PAGE_Connexion')); return _return ($_PHP_VAR_RETURN_); } //Clic de BTN_PasDéconnection ( POPUP_déconnection ) (serveur PHP) :: (PCode de Clic) function& A5_BTN_PasDeconnection16() { $WB_NIVEAU_PILE=empileVM('PAGE_Deconnexion.POPUP_déconnection','A5_BTN_PasDeconnection'); PageAffiche(VersPrimitif(PagePrecedente())); 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_DECONNEXION','PAGE_Deconnexion'); // Code de déclaration des globales de page function& PAGE_Deconnexion0() { $WB_NIVEAU_PILE=empileVM('PAGE_Deconnexion','PAGE_Deconnexion'); return _return ($_PHP_VAR_RETURN_); } // Appel le code de déclaration des globales de PAGE_Deconnexion PAGE_Deconnexion0(); // Code d'initialisation de page PAGE_Deconnexion28(); } else { $MonProjet->SetPageCouranteContexte('PAGE_DECONNEXION','PAGE_Deconnexion'); } //----------------------------------------------------------------------- // Affectation des champ, recherche du Traitement à exécuter //----------------------------------------------------------------------- if(!GereActions( $PAGE_DECONNEXION)){ $_BTNACTION = TrouveBouton( $PAGE_DECONNEXION ); if ($_BTNACTION=='A4') { //------------------------------------------------------------------- // PCodes de A4_BTN_Deconnection //------------------------------------------------------------------- A4_BTN_Deconnection16(); } if ($_BTNACTION=='A5') { //------------------------------------------------------------------- // PCodes de A5_BTN_PasDeconnection //------------------------------------------------------------------- A5_BTN_PasDeconnection16(); } } if ( !bRenvoitCodeHTML($PAGE_DECONNEXION,true)) exit(); ?> <?php echo $MaPage->GetLibelle(); ?> GetHTMLEnteteHTML(); ?>

Vous voulez vous déconnecter?

GetHTMLFinPageHTML(); ?>