0) ? fxPromoteurHubOrLegacyBackUrl($intEveId, $strLangue) : ($vDomaine . $strBasePath); $intActor = intval($_SESSION['com_id'] ?? 0); if (!empty($_SESSION['usa_id'])) { $intActor = intval($_SESSION['usa_id']); } if ($intEveId <= 0 || (empty($_SESSION['com_id']) && empty($_SESSION['usa_id'])) || !fxEveAccesCanTeamInvite($intActor, $intEveId)) { // Headers déjà envoyés (include après layout) : message + lien, pas de header Location. echo '
'; echo fxEveAccesPromoteurEsc(fxEveAccesPromoteurT('eve_acces_promoteur_access_denied', $strLangue)); echo ' '; echo fxEveAccesPromoteurEsc(fxEveAccesPromoteurT('eve_acces_promoteur_btn_back', $strLangue)); echo '
'; return; } $strFlash = ''; $strError = ''; if (!empty($_GET['ok'])) { $strFlash = (string)$_GET['ok']; } if (!empty($_GET['err'])) { $strError = (string)$_GET['err']; } fxEveAccesPromoteurRenderPage($intEveId, $strLangue, $strFlash, $strError);