@@ -411,4 +458,4 @@
-
\ No newline at end of file
+
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index f5e92263..9138f50e 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -1,432 +1,1050 @@
get_full_path($activeLink);
+ $fullPath = explode("\ ", $fullPath);
+
+ $activeLevel1 = $activeLink;
+ $activeLevel2 = sizeof($fullPath)>1?$fullPath[1]:'';
+ $activeLevel3 =sizeof($fullPath)>2?$fullPath[2]:'';
+ $activeLevel4 = sizeof($fullPath)>3?$fullPath[3]:'';
+ $activeLevel5 = sizeof($fullPath)>4?$fullPath[4]:'';
+
+ $_SESSION['firstLevelMenu']=$activeLink;
+
+ const MAX_COMPANY_NAME_LENGTH = 20;
-// Active menu tracking
-$_SESSION['firstLevelMenu'] = '';
-$current_url = $_SERVER['REQUEST_URI'];
-$elements = explode("/", $current_url);
-$activeLink = $elements[1];
-$fullPath = $gabary->get_full_path($activeLink);
-$fullPath = explode("\ ", $fullPath);
-
-$activeLevel1 = $activeLink;
-$activeLevel2 = sizeof($fullPath) > 1 ? $fullPath[1] : '';
-$activeLevel3 = sizeof($fullPath) > 2 ? $fullPath[2] : '';
-$activeLevel4 = sizeof($fullPath) > 3 ? $fullPath[3] : '';
-$activeLevel5 = sizeof($fullPath) > 4 ? $fullPath[4] : '';
-
-$_SESSION['firstLevelMenu'] = $activeLink;
-
-const MAX_COMPANY_NAME_LENGTH = 20;
-
-$companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
-$modeDev = $_SESSION['modeDev_C'];
-$imgData = $_SESSION['photoAssureCrypte'];
-
-// Get breadcrumb info
-$infovue = $gabary->getInfosVue($_SESSION['vue']);
-$_SESSION['descriptionVue'] = est_anglophone() ? $infovue['DescriptionEng'] : $infovue['Description'];
-$_SESSION['titreRetour'] = est_anglophone() ? $infovue['titreRetourEng'] : $infovue['titreRetour'];
-$_SESSION['retourVue'] = $infovue['lienRetour'];
+/*
+ if (strlen($_SESSION['nomSociete']) <= MAX_COMPANY_NAME_LENGTH) {
+ $companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
+ } else {
+ $companyDisplayName = strtoupper($_SESSION['codeSociete']);
+ }
+*/
+ $companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
+ $modeDev = $_SESSION['modeDev_C'];
+
+ $imgData = $_SESSION['photoAssureCrypte'];
?>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0): ?>
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

">
-
= $_SESSION['nomBeneficiaire_C'] ?? '' ?>
-
-
-
-
= _("Photo non disponible") ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
= $_SESSION['vue'] ?>
+
+
+
+
+
+
+
-
-
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ">
+
+
+ 0){
+ $current_url = $_SERVER['REQUEST_URI'];
+ $elements = explode("/", $current_url);
+ $activeLink = $elements[1];
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $_SESSION['codeGcAssureurDefaut'],
+ // "codeGcAssureur_C" => $_SESSION['codeGcAssureur_C'],
+ // "dossierSociete" => $_SESSION['dossierSociete'],
+ )
+ );
+ exit();
+ */
+ ?>
+
+
+
+ = $contenu ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
= _("Fam.")." [".format_N($_SESSION['ndAdh_C'])."] | ". _("Dép.")." [".format_N($_SESSION['ndDep_C'])."] | ". _("Bén.")." [".format_N($_SESSION['ndActif_C'])."]" ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ "0"): ?>
+

">
+
+
+
+
+
+
+
+ = _("Dernières polices ouvertes") ?>
+
+
+
+
+ -
+
+
+
+
+ = htmlspecialchars($contextPolice['libellePolice']) ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ = _("GESTION DES COTATIONS") ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- = _("Chargement...") ?>
-
-
\ No newline at end of file
diff --git a/Vue/gabarit_new_design_2026_02_14.php b/Vue/gabarit_new_design_2026_02_14.php
new file mode 100755
index 00000000..f5e92263
--- /dev/null
+++ b/Vue/gabarit_new_design_2026_02_14.php
@@ -0,0 +1,432 @@
+get_full_path($activeLink);
+$fullPath = explode("\ ", $fullPath);
+
+$activeLevel1 = $activeLink;
+$activeLevel2 = sizeof($fullPath) > 1 ? $fullPath[1] : '';
+$activeLevel3 = sizeof($fullPath) > 2 ? $fullPath[2] : '';
+$activeLevel4 = sizeof($fullPath) > 3 ? $fullPath[3] : '';
+$activeLevel5 = sizeof($fullPath) > 4 ? $fullPath[4] : '';
+
+$_SESSION['firstLevelMenu'] = $activeLink;
+
+const MAX_COMPANY_NAME_LENGTH = 20;
+
+$companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
+$modeDev = $_SESSION['modeDev_C'];
+$imgData = $_SESSION['photoAssureCrypte'];
+
+// Get breadcrumb info
+$infovue = $gabary->getInfosVue($_SESSION['vue']);
+$_SESSION['descriptionVue'] = est_anglophone() ? $infovue['DescriptionEng'] : $infovue['Description'];
+$_SESSION['titreRetour'] = est_anglophone() ? $infovue['titreRetourEng'] : $infovue['titreRetour'];
+$_SESSION['retourVue'] = $infovue['lienRetour'];
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0): ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

">
+
= $_SESSION['nomBeneficiaire_C'] ?? '' ?>
+
+
+
+
= _("Photo non disponible") ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ = _("Chargement...") ?>
+
+
+
+
\ No newline at end of file
diff --git a/fond.png b/fond.png
new file mode 100644
index 00000000..ba9cd7ee
Binary files /dev/null and b/fond.png differ
diff --git a/phpqrcode/qrconfig.php b/phpqrcode/qrconfig.php
index e53dff8c..e9d675d8 100755
--- a/phpqrcode/qrconfig.php
+++ b/phpqrcode/qrconfig.php
@@ -8,7 +8,12 @@
define('QR_CACHEABLE', true); // use cache - more disk reads but less CPU power, masks and format templates are stored there
define('QR_CACHE_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR); // used when QR_CACHEABLE === true
define('QR_LOG_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR); // default error logs dir
+<<<<<<< HEAD
+=======
+ // define('QR_LOG_DIR', sys_get_temp_dir().DIRECTORY_SEPARATOR);
+
+>>>>>>> 92dad797a24e5d73e1e9215544eb3510b0475c5f
define('QR_FIND_BEST_MASK', true); // if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code
define('QR_FIND_FROM_RANDOM', false); // if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly
define('QR_DEFAULT_MASK', 2); // when QR_FIND_BEST_MASK === false