v20211206
authorKilian Saffran <ksaffran@dks.lu>
Tue, 7 Dec 2021 09:35:54 +0000 (10:35 +0100)
committerKilian Saffran <ksaffran@dks.lu>
Tue, 7 Dec 2021 09:35:54 +0000 (10:35 +0100)
22 files changed:
public_html/css/site.css
public_html/index.php
public_html/js/askprice.js
public_html/js/shop.js
public_html/js/site.js
public_html/log/sql.log
public_html/pages/product.old.php [new file with mode: 0644]
public_html/pages/product.php
public_html/pages/product2.php
public_html/pages/productnews.php
public_html/pages/productnext.php [new file with mode: 0644]
public_html/pages/projects2.php [deleted file]
public_html/pages/sections/lastnews.php
public_html/pages/sections/productnews.php
public_html/shop/lib/lang/de.php
public_html/shop/lib/lang/en.php
public_html/shop/lib/lang/fr.php
public_html/shop/lib/modules/Articles.php
public_html/shop/lib/modules/Site.php
public_html/shop/lib/publicaliases.php
public_html/shop/log/sql.log
public_html/shop/tmpl/elements/articlecart.html

index 6169a50..7030337 100644 (file)
@@ -1862,8 +1862,8 @@ height:30px;
 }
 /*-----footer-----*/
 footer {
-  padding-top: 56px;
-  padding-bottom: 38px;
+  padding-top: 10px;
+  padding-bottom: 10px;
   background-color:#204a94;
 }
 footer .margBot1 {
index 14efaea..0d93fd8 100644 (file)
@@ -180,11 +180,13 @@ if (file_exists("shop/lib/lang/".$lang.".php")){
         <ul class="navbar-nav">
         <li class="nav-item askprice rounded" style="padding: 0px!important;"><a class="nav-link"  href="<?php echo $cfg["basepath"]."askprice/1/".$lang; ?>"><span name="askpriceitems">0</span>&nbsp;<span class="icon-inline icon-euro-tag" style="font-size: 28px;"></span></li>
         <li class="nav-item dropdown">
-              <a class="nav-link dropdown-toggle" href="#" id="dropdown10" data-bs-toggle="dropdown" aria-expanded="false"><img src="<?php echo $cfg["basepath"]; ?>img/<?php echo $lang; ?>.png" style="height:20px;" > <?php echo strtoupper($lang); ?></a>
+              <a class="nav-link dropdown-toggle" href="#" id="dropdown10" data-bs-toggle="dropdown" aria-expanded="false"><img src="<?php echo $cfg["basepath"]; ?>img/<?php echo $lang; ?>.svg" style="height:20px;" > <?php echo strtoupper($lang); ?></a>
               <ul class="dropdown-menu" aria-labelledby="dropdown10">
-                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/fr/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/fr.png"  style="height:20px;"> FR</a></li>
-                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/en/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/en.png"  style="height:20px;"> EN</a></li>
-                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/de/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/de.png"  style="height:20px;"> DE</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/fr/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/fr.svg"  style="height:20px;"> FR</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/en/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/en.svg"  style="height:20px;"> EN</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/de/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/de.svg"  style="height:20px;"> DE</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/nl/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/nl.svg"  style="height:20px;"> NL</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/pt/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/pt.svg"  style="height:20px;"> PT</a></li>
               </ul>
             </li>
         </ul>
@@ -198,18 +200,11 @@ if (file_exists("shop/lib/lang/".$lang.".php")){
 </header>
   <!-- <div id="preloader"><div id="status">&nbsp;loading...</div></div> -->
   <div class="global" style="margin-top: 60px;">
-
     
-  <div id="siteSliders" class="carousel slide" data-ride="carousel" data-bs-touch="false" data-bs-interval="5000">
-  <!--<ol class="carousel-indicators">
-    <li data-target="#siteSliders" data-slide-to="0" class="active"></li>
-    <li data-target="#siteSliders" data-slide-to="1"></li>
-    <li data-target="#siteSliders" data-slide-to="2"></li>
-  </ol>-->
+  <div id="siteSliders" class="carousel slide" data-ride="carousel" data-bs-touch="false" data-bs-interval="5000" <?php if ($page == 'productnext'){ echo 'style="height: 100px;overflow: hidden;"';} ?> >
   <div class="carousel-inner">
 
 <?php
-  //error_log("Side Page: SELECT * FROM slider WHERE page = '$slide';");
   $info = $db->queryarray("SELECT * FROM slider WHERE page = '$slide';");
   if($info == null){
     ?>
@@ -229,24 +224,13 @@ if (file_exists("shop/lib/lang/".$lang.".php")){
     <?php
    
     }
-    //   // if (isset($info['title_fr']) && $info['title_fr'] != '') { 
-    //   //     echo '<dxiv class="flex-caption"><div class="flex-box1"><p class="title1">'.$info['title_fr'].'</p></div><dixv class="flex-box2"><p>'.$info['desc_fr'] .'</p><dxiv></dxiv>';
-    //   // } 
-
   }
 ?>
 </div>
 <?php if ($info != null) {?>
-<!-- <a class="carousel-control-prev" href="#siteSliders" role="button" data-slide="prev">
-    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
-    <span class="sr-only"></span>
-  </a>
-  <a class="carousel-control-next" href="#siteSliders" role="button" data-slide="next">
-    <span class="carousel-control-next-icon" aria-hidden="true"></span>
-    <span class="sr-only"></span>
-  </a> -->
 <?php } ?>
 </div>
+
 <!-- <div id="topmenu2" class="bg-qube" style="background-color: rgb(32, 74, 148)!important; margin-top: -5px;">
    <div class="center">
     <div class="bar">
@@ -258,7 +242,7 @@ if (file_exists("shop/lib/lang/".$lang.".php")){
  </div> -->
 <!--End-->
 <!--content-->
-<div id="contenu" class="display-container" style="padding-bottom: 20px;">
+<div id="contenu" class="display-container" >
   
 <?php
 //file_put_contents("log/page.log",$page."\n",FILE_APPEND);
@@ -276,7 +260,8 @@ if (file_exists('pages/'.$page.'.php')){
      </div>
 </div>
 <!--footer-->
-<footer class="container-fluid" style="min-height: 300px;background-color: #204a94;">
+<footer class="container-fluid" style="background-color: #204a94;">
+<?php if (($page != 'product') && ($page != 'productnext')) {?>
         <div class="row" style="min-height: 250px;background-color: #204a94;"> 
         <div class="col-md-4">
                     <div class="container text-white" style="background-color: #204a94!important;" >
@@ -314,7 +299,7 @@ if (file_exists('pages/'.$page.'.php')){
 </div>
                     </div>
         </div>
-
+<?php } ?>
         <div class="container" style="height:20px; text-align: center;">
         
         <span style="color:#fff; font-size:15px; ">&copy; Qube Solutions Group 2021 </span>
@@ -338,11 +323,13 @@ if (file_exists('pages/'.$page.'.php')){
         </ul>
         <ul class="navbar-nav">
         <li class="nav-item dropup">
-              <a class="nav-link dropdown-toggle" href="#" id="dropdown1" data-bs-toggle="dropdown" aria-expanded="false"><img src="<?php echo $cfg["basepath"]; ?>img/<?php echo $lang; ?>.png" style="height:20px;" > <?php echo strtoupper($lang); ?></a>
+              <a class="nav-link dropdown-toggle" href="#" id="dropdown1" data-bs-toggle="dropdown" aria-expanded="false"><img src="<?php echo $cfg["basepath"]; ?>img/<?php echo $lang; ?>.svg" style="height:20px;" > <?php echo strtoupper($lang); ?></a>
               <ul class="dropdown-menu" aria-labelledby="dropdown1">
-                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/fr/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/fr.png"  style="height:20px;"> FR</a></li>
-                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/en/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/en.png"  style="height:20px;"> EN</a></li>
-                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/de/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/de.png"  style="height:20px;"> DE</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/fr/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/fr.svg"  style="height:20px;"> FR</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/en/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/en.svg"  style="height:20px;"> EN</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/de/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/de.svg"  style="height:20px;"> DE</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/nl/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/nl.svg"  style="height:20px;"> NL</a></li>
+                <li><a class="dropdown-item" style="color:#000!important;" href="<?php echo $cfg["basepath"].$requri_nolang; ?>/pt/" class="bar-item button"><img src="<?php echo $cfg["basepath"]; ?>img/pt.svg"  style="height:20px;"> PT</a></li>
               </ul>
             </li>
         </ul>
@@ -376,7 +363,8 @@ if (file_exists('pages/'.$page.'.php')){
   let api="<?php echo $cfg["basepath"]; ?>publicapi.php";
 </script>
 <script type="text/javascript" src="<?php echo $cfg["basepath"]; ?>vendor/bootstrap/js/bootstrap.bundle.min.js?v=<?php echo $cfg["version"];?>" ></script>
-<script src="https://cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js" integrity="sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D" crossorigin="anonymous" async></script>
+<script type="text/javascript" src="<?php echo $cfg["basepath"]; ?>shop/vendor/tabulator/js/tabulator.min.js?v={{ version }}"></script>
+<script type="text/javascript" src="<?php echo $cfg["basepath"]; ?>shop/vendor/moment/moment-with-locales.min.js?v={{ version }}"></script>
 <script type="text/javascript" src="<?php echo $cfg["basepath"]; ?>vendor/mustache/mustache.min.js?v=<?php echo $cfg["version"];?>" ></script> 
 <script type="text/javascript" src="<?php echo $cfg["basepath"]; ?>js/publicrequest.js?v=<?php echo $cfg["version"];?>"></script>
 <script type="text/javascript" src="<?php echo $cfg["basepath"]; ?>js/askprice.js?v=<?php echo $cfg["version"];?>"></script>
index 6f97c7e..9a4a9d5 100644 (file)
@@ -5,6 +5,44 @@ let publicaskprice = {
       this.setTable(ogrps.data);
     });
   },
+  init: function() {
+    //console.log("inti table!");
+    // publicaskprice.tblgroups = new Tabulator("#tbl_groups", {
+    //   height: "calc(100vh - 172px)",
+    //   layout: "fitDataStretch",
+    //   selectable: 1,
+    //   headerVisible:false, //hide header
+    //   groupToggleElement:"header",
+    //   groupBy:["famille"],
+    //   groupStartOpen:[false],
+    //   groupHeader:[function(value, count, data){ 
+    //     //console.log("GH",data)
+    //     return ((value)?data[0].famille_art + ' | ' +value :"");
+    //   }],
+    //   groupClick:function(e, group){
+    //     //console.log("code famille",group._group.rows[0].data.famille_art);
+    //     // shop.getAGbyFamilly(group._group.rows[0].data.famille_art,group._group.key);
+    //     // let openkey = group._group.key;
+    //     // var groups = shop.tblgroups.getGroups();
+    //     // for (var g=0;g<groups.length;g++){
+    //     //   if (groups[g]._group.key != openkey){
+    //     //     groups[g]._group.visible = false;
+    //     //   } 
+    //     // }
+    //   },
+    //   rowClick:function(e, row){
+    //     // shop.loadProducts();
+    //   },
+    //   rowContext:function(e, row){ e.preventDefault(); },
+    //     headerFilterPlaceholder:"{{ lbl.filter }}",
+    //     columns: [
+    //       {title: "", field: "famille", visible: false },
+    //       {title: "", field: "gp_art",width:50,resizable:false,headerSort:false },
+    //       {title: "", field: "groupe" ,resizable:false,headerSort:false },
+    //   ]
+    // });
+    shop.getgrouptbldata();
+  },
   setTable: function(odata){
     let bs = document.getElementById("lst_order_askprice");
     if (!bs){
index d78a792..873d995 100644 (file)
@@ -90,12 +90,13 @@ let shop = {
     console.log("Set Article Group*");
     let grparticle = grpdata['article'];
     let strartgrp = '<div  class="gartprod"><div  style="background-color: #fff; padding-bottom: 10px; margin: 5px;margin-left: -7px;">'+
-            '<div class="container d-none d-md-block" style="margin-left: 0px;">' +
-            '<div class="container clearfix" style="text-align: left;background-color: #fff;margin-left: 0px;">'+
+            '<div class="container d-none d-md-block" style="margin-left: 0px;padding: 0px;">' +
+            '<div class="container" style="text-align: left;background-color: #fff;margin-left: 0px; padding: 0px;">'+
+            '<div class="float-start" style="">' +
             '<img src="'+ preferences.basepath +'shop/'+ ((grpdata.image != null)?'img/'+grpdata.image + '?v=' + grpdata.imgversion:'img/qubenoimg.jpg')+ '" class="img-thumbnail float-start" style="max-width: 175px;border: 0px; margin-right: 10px;"  />'+
-           
+            '</div><div class="clearfix">' +
             '<h4 style="padding-top: 5px;">'+ ((grpdata.titre)?grpdata.titre:'&nbsp;')+'</h4>'+
-            '<p style="margin-top: 20px;">' +((grpdata.description)?grpdata.description:'&nbsp;') +'</p></div></div>'+
+            '<p style="margin-top: 20px; max-width">' +((grpdata.description)?grpdata.description.replace(/\n/g,'<br/>'):'&nbsp;') +'</p></div></div></div>'+
             '<div class="row">'+
             '<div class="container d-none d-md-block" style="padding-top: 10px;padding-bottom: 10px;">';
             strartgrp += ((grpdata.brochure != null)?'<button class="btn btn-outline-secondary btn-sm" onclick="shop.openpdf(\''+grpdata.brochure+ '\');"><span class="icon icon-pdf"  style="font-size: 18px;"></span>' + lbl.doc_brpr + '</button>&nbsp;':'');
@@ -187,5 +188,61 @@ let shop = {
   },
   setSelected: function(obj){
 
-  }
+  },
+  // getAGbyFamilly: function(fart,fname){
+  //   document.getElementById("articlehead").innerHTML=fname;
+  //   let lst = document.getElementById("lst_articlegroups");
+  //   lst.innerHTML ="";
+  //   postData({"cl":"ArticleGroups","fn":"getArticleGroupsByFamille","famille":fart,"lang":"{{lang}}"}).then(data => {
+  //    let rowx=0;
+  //    let md = 5;
+  //    let cardsize=275;
+  //    let picsize=150;
+     
+  //   //  if ( window.screen.width <= 520){
+  //   //   md=2;
+  //   //   cardsize=200;
+  //   //   picsize=130;
+     
+  //   //  }
+  //    //console.log("Groups".data.data);
+  //     for (var d=0;d<data.data.length;d++){
+  //       //console.log("row " + d);
+       
+  //       if ((d != 0) && (d%5==0)){
+  //         lst.insertAdjacentHTML('beforeend','<div class="row articlegrps" id="artrow_5_'+ rowx+'" style="display: none;"></div>');
+  //         rowx++;
+  //       }
+  //       if ((d != 0) && (d%2==0)){
+  //         lst.insertAdjacentHTML('beforeend','<div class="row articlegrps" id="artrow_2_'+ rowx+'" style="display: none;"></div>');
+  //         rowx++;
+  //       }
+        
+  //       let agshort = '<div class="padding col center hide-small" style="min-width: '+cardsize+'px;max-width: '+cardsize+'px;">';
+  //       agshort += '<div class="container card-4 center" style="cursor: pointer; padding: 0px!important;" onclick="shop.loadGroupArticle(\''+ data.data[d].article +'\',\'5_'+ rowx+'\');">';
+  //       agshort += '<img style="min-height: '+picsize+'px; height: '+picsize+'px;max-width: '+picsize+'px;" src="img/'+ data.data[d].image +'" alt="">';
+  //       agshort += '<div class="container center bg-qube text-white bold " style="min-height: 70px; padding-top: 5px;"><span>'+ data.data[d].titre +'<br></span><span style="font-size: 7pt;color: #323742;">('+ data.data[d].gp_art +' '+ data.data[d].article +')</span></div></div>';
+  //       agshort += '</div>';
+
+  //       agshort += '<div class="padding col center hide-large" style="min-width: 180px;max-width: 180px;">';
+  //       agshort += '<div class="container card-4 center" style="cursor: pointer; padding: 0px!important; overflow: hidden;" onclick="shop.loadGroupArticle(\''+ data.data[d].article +'\',\'2_'+ rowx+'\');">';
+  //       agshort += '<img style="min-height: '+picsize+'px; height: '+picsize+'px;" src="img/'+ data.data[d].image +'" alt="">';
+  //       agshort += '<div class="container center bg-qube text-white bold" style="min-height: 35px; padding-top: 5px;"><span>'+data.data[d].qubestr +'</span></div></div>';
+  //       agshort += '</div>';
+  //       lst.insertAdjacentHTML('beforeend',agshort);
+        
+  //     }
+  //     lst.insertAdjacentHTML('beforeend','<div class="row articlegrps" id="artrow_5_'+ rowx+'" style="display: none;"></div>');
+  //     lst.insertAdjacentHTML('beforeend','<div class="row articlegrps" id="artrow_2_'+ rowx+'" style="display: none;"></div>');
+  //   });
+  // },
+  getgrouptbldata: function(id){
+    // postData({"ac":"getTree","lang":preferences.lang}).then(data => {
+
+    //    console.log("tt",data.data);
+    //    //publicaskprice.tblgroups.setData(data.data).then(tblres => { });
+    //    //shop.tblmobilegroups.setData(data.data).then(tblres => { });
+    // }).catch(e => { console.log(e)});
+  },
+
 }
\ No newline at end of file
index 51a975f..aec1035 100644 (file)
@@ -62,6 +62,9 @@ let mysite = {
       }\r
     }\r
     return null;\r
+  },\r
+  reload(url){\r
+    location.href=url;\r
   }\r
 };\r
 \r
@@ -114,13 +117,9 @@ function sendForm( formid ){
 \r
 \r
 \r
-document.addEventListener('scroll', function(e) {\r
-  // if(window.scrollY >= 100){\r
-  //   document.getElementById("topmenu2").style.display = 'none';\r
-  // } else {\r
-  //   document.getElementById("topmenu2").style.display = 'block';\r
-  // }\r
-});\r
+// document.addEventListener('scroll', function(e) {\r
+\r
+// });\r
 \r
 document.addEventListener("DOMContentLoaded", function() {\r
   if (!mysite.getCookie("qubesid")){\r
@@ -136,8 +135,11 @@ document.addEventListener("DOMContentLoaded", function() {
     publicaskprice.loadTable();\r
     \r
   }\r
-  var myCarousel = document.querySelector('#siteSliders');\r
-  var carousel = new bootstrap.Carousel(myCarousel);\r
+  if (document.querySelector('#siteSliders')){\r
+    var myCarousel = document.querySelector('#siteSliders');\r
+    var carousel = new bootstrap.Carousel(myCarousel);\r
+  }\r
+  \r
   if (typeof loadp !== 'undefined'){\r
     initpage();\r
   }\r
index fabf53e..c372d3a 100644 (file)
@@ -10536,3 +10536,8645 @@ QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
 QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='' group by gp_art) and famille_art='' ORDER BY gp_art ASC;
 QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
 QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='' group by gp_art) and famille_art='' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='' group by gp_art) and famille_art='' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='3' group by gp_art) and famille_art='3' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='3' group by gp_art) and famille_art='3' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='3' group by gp_art) and famille_art='3' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'about';
+QUERYARRAY: SELECT link,coalesce(title_fr,title_fr)  as title_fr FROM main_menu WHERE parentid = '2';
+QUERYARRAY: SELECT picture,coalesce(content_fr,content_fr)  as content_fr,coalesce(name_fr,name_fr)  as name_fr FROM content WHERE linkname = 'about';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '3' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '3' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '3' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'gallerys') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'gallerys';
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: SELECT * FROM content WHERE (linkname = 'gallerys') OR (linkname = '') OR (linkname = 'data')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_fr as title,replace(content_fr,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_fr as title,replace(content_fr,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_fr as title,replace(content_fr,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_fr as title,replace(content_fr,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_fr as title,replace(content_fr,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_fr as title,replace(content_fr,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_en as title,replace(content_en,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_en) as titre,
+    coalesce(ag.description_en, ag.description_en) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_de,keywords_de,desc_de FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_de as title,replace(content_de,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_de, ag.titre_de) as titre,
+    coalesce(ag.description_de, ag.description_de) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,title_en as title,replace(content_en,'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_en) as titre,
+    coalesce(ag.description_en, ag.description_en) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_en) as titre,
+    coalesce(ag.description_en, ag.description_en) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_en) as titre,
+    coalesce(ag.description_en, ag.description_en) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='C1' group by gp_art) and famille_art='C1' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT * FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT catgallery,id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '4' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '6') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '6' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'about';
+QUERYARRAY: SELECT link,coalesce(title_fr,title_fr)  as title_fr FROM main_menu WHERE parentid = '2';
+QUERYARRAY: SELECT picture,coalesce(content_fr,content_fr)  as content_fr,coalesce(name_fr,name_fr)  as name_fr FROM content WHERE linkname = 'about';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'projects';
+QUERYARRAY: SELECT * FROM projects ORDER BY date
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '7') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'contact';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'projects';
+QUERYARRAY: SELECT * FROM projects ORDER BY date
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'about';
+QUERYARRAY: SELECT link,coalesce(title_fr,title_fr)  as title_fr FROM main_menu WHERE parentid = '2';
+QUERYARRAY: SELECT picture,coalesce(content_fr,content_fr)  as content_fr,coalesce(name_fr,name_fr)  as name_fr FROM content WHERE linkname = 'about';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '3' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'about';
+QUERYARRAY: SELECT link,coalesce(title_fr,title_fr)  as title_fr FROM main_menu WHERE parentid = '2';
+QUERYARRAY: SELECT picture,coalesce(content_fr,content_fr)  as content_fr,coalesce(name_fr,name_fr)  as name_fr FROM content WHERE linkname = 'about';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'about';
+QUERYARRAY: SELECT link,coalesce(title_fr,title_fr)  as title_fr FROM main_menu WHERE parentid = '2';
+QUERYARRAY: SELECT picture,coalesce(content_fr,content_fr)  as content_fr,coalesce(name_fr,name_fr)  as name_fr FROM content WHERE linkname = 'about';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'projects';
+QUERYARRAY: SELECT * FROM projects ORDER BY date
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ea3ae628-3e44-440b-8c0c-80c0f68dfbd8' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: SELECT gp_art,coalesce(titre_fr,titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='A2' group by gp_art) and famille_art='A2' ORDER BY gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='' and famille_art=''  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='' and gp_art='' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT famille_art,coalesce(titre_fr,titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-D' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CNT-S...I2.04' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CNT-S...I2.07' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-TR' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A105' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-D' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-G' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-D' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'about';
+QUERYARRAY: SELECT link,coalesce(title_fr,title_fr)  as title_fr FROM main_menu WHERE parentid = '2';
+QUERYARRAY: SELECT picture,coalesce(content_fr,content_fr)  as content_fr,coalesce(name_fr,name_fr)  as name_fr FROM content WHERE linkname = 'about';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='61338428-da26-416d-a585-b44715b88138' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-G' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-DT' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-SH' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-D' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-M' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-DT' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CON-LC-G' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A205' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C7') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C7'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'S1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='S1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'D2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='D2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C9') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C9'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C3'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'S1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='S1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'D4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='D4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C6') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C6'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C8') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C8'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'D1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='D1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C9') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C9'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C7') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C7'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C231' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C204' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C204' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A405' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A500' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A501' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A510' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A500' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A501' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A502' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select * from order_articles where id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and article='BFE-B-400/050-020-00' and id_order is null and code_document='DPS';
+EXEC: INSERT INTO order_articles (id,article,quantity,id_user,code_document) VALUES ('3357d0e1-dd52-4f74-a15b-0e4b870916d1','BFE-B-400/050-020-00','1','a5a86cec-3300-49d4-8fac-374b6bff2422','DPS');
+QUERY: select count(*) as cnt from order_articles where  id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and id_order is null and code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select * from order_articles where id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and article='BFE-B-400/050-020-00' and id_order is null and code_document='DPS';
+EXEC: UPDATE order_articles SET id_order=null,article='BFE-B-400/050-020-00',quantity='1',wiges_no_document=null,wiges_no_position=null,created='2021-12-03 16:09:54',modified='2021-12-03 16:09:54',id_user='a5a86cec-3300-49d4-8fac-374b6bff2422',code_document='DPS',comment=null WHERE id='3357d0e1-dd52-4f74-a15b-0e4b870916d1';
+QUERY: select count(*) as cnt from order_articles where  id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and id_order is null and code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select * from order_articles where id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and article='BFE-O-400/025-040-30' and id_order is null and code_document='DPS';
+EXEC: INSERT INTO order_articles (id,article,quantity,id_user,code_document) VALUES ('2b9b03b5-564b-46c6-afb6-ac2de9dca9b2','BFE-O-400/025-040-30','1','a5a86cec-3300-49d4-8fac-374b6bff2422','DPS');
+QUERY: select count(*) as cnt from order_articles where  id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and id_order is null and code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select * from order_articles where id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and article='BFE-O-400/050-020-30' and id_order is null and code_document='DPS';
+EXEC: INSERT INTO order_articles (id,article,quantity,id_user,code_document) VALUES ('821204d2-2080-4c29-97e3-2c7777969fbb','BFE-O-400/050-020-30','1','a5a86cec-3300-49d4-8fac-374b6bff2422','DPS');
+QUERY: select count(*) as cnt from order_articles where  id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and id_order is null and code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&NOF-ACC-R' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&NOF-D08V' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&NOF-D20V' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&NOF-ACC-M' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&BFE-O' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CAN-OPTIMA+ S' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CAN-OPTIMA+ S' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CAN-BASE C250 G' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CAN-BASE C250 G' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A405' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A405' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A405' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C110' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C110' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C110' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C101' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C101' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C101' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&NOF-D08' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A425' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A425' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A425' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A405' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A405' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A405' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A415' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A415' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A415' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A415' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A415' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A415' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A415' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A415' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A415' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A205' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A205' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A205' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A206' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A206' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A206' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A208' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A209' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A209' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A209' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='a5a86cec-3300-49d4-8fac-374b6bff2422' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A204' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A204' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A204' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A206' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A206' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A206' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A204' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A204' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A204' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A206' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A206' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A206' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A208' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A210' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A210' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A210' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A206' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A206' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A206' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A208' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A211' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A211' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A211' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&CLO-RO/GC' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A208' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A208' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A401' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A402' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A400' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A4'  and ag.gp_art='A425' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A425' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A425' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A1' and gp_art='A102';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A1' and gp_art='A104';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A201';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A200';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A208';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A208' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&KBA-M' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C100' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_pt,keywords_pt,desc_pt FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_pt,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_pt,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_pt,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_pt,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_pt,ag.titre_fr), position(' | ' in coalesce(ag.titre_pt,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C1' and gp_art='C102';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C102' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C1' and gp_art='C105';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C105' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C105' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C105' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C1' and gp_art='C105';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C105' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C105' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C105' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C1' and gp_art='C105';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C105' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C105' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C105' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C1' and gp_art='C105';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C105' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C105' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C105' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A5' and gp_art='A500';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A500' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A500' and famille_art='A5'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A4';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A1' and gp_art='A102';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A1' and gp_art='A102';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A5' and gp_art='A501';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A501' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A501' and famille_art='A5'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A501' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A5' and gp_art='A502';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A502' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A502' and famille_art='A5'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A502' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A5' and gp_art='A509';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A509' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A509' and famille_art='A5'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A509' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A5';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A5' and gp_art='A509';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A509' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A509' and famille_art='A5'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A509' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A4';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C2' and gp_art='C201';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C201' and famille_art='C2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C2' and gp_art='C201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C2' and gp_art='C202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C202' and famille_art='C2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C2' and gp_art='C202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A1' and gp_art='A104';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A204';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A204' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A204' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A204' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A201';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A205';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A205' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A205' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A205' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A209';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A209' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A209' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A209' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A204';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A204' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A204' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A204' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A210';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A210' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A210' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A210' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C6') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C6';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C6'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C6') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C6';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C6' and gp_art='C601';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C6'  and ag.gp_art='C601' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C601' and famille_art='C6'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C6' and gp_art='C601' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C6') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C6';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='C6' and gp_art='C601';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C6'  and ag.gp_art='C601' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C601' and famille_art='C6'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C6' and gp_art='C601' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'C5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='C5';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&SFS-PGS/G3' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C527' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&SFS-PCC' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C527' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&APL-P' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C526' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&VBB-VS/I' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C523' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&FIX-D/FI' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C521' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&VIS BETON' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C517' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&AMA-LOE' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C513' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&LSA-LW' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C505' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&ABS-KI2815' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C5' and gp_art='C500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A1' and gp_art='A104';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_nl,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_nl,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_nl,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_nl,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_nl,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_nl,ag.titre_fr), position(' | ' in coalesce(ag.titre_nl,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_nl,titre_fr) as titre,coalesce(description_nl,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select * from order_articles where id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and article='LGX-BC-23101150' and id_order is null and code_document='DPS';
+EXEC: INSERT INTO order_articles (id,article,quantity,id_user,code_document) VALUES ('3d3cf4de-d070-4d00-b9e2-56d94ca5145c','LGX-BC-23101150','1','9e7f0769-4e7f-4364-abdc-25854463725f','DPS');
+QUERY: select count(*) as cnt from order_articles where  id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and id_order is null and code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select * from order_articles where id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and article='LGX-BC-23101200' and id_order is null and code_document='DPS';
+EXEC: INSERT INTO order_articles (id,article,quantity,id_user,code_document) VALUES ('4372c35d-7efe-4eeb-9c1d-c90ed16ac668','LGX-BC-23101200','1','9e7f0769-4e7f-4364-abdc-25854463725f','DPS');
+QUERY: select count(*) as cnt from order_articles where  id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and id_order is null and code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_pt,keywords_pt,desc_pt FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_pt,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_pt,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_pt,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_pt,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_pt,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_pt,ag.titre_fr), position(' | ' in coalesce(ag.titre_pt,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_pt,titre_fr) as titre,coalesce(description_pt,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_nl,title_fr) as title,replace(coalesce(content_nl,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_nl,title_fr) as title,replace(coalesce(content_nl,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_nl, ag.titre_nl) as titre,
+    coalesce(ag.description_nl, ag.description_nl) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_de,keywords_de,desc_de FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_de,title_fr) as title,replace(coalesce(content_de,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_de,title_fr) as title,replace(coalesce(content_de,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_de, ag.titre_de) as titre,
+    coalesce(ag.description_de, ag.description_de) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_fr,title_fr) as title,replace(coalesce(content_fr,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_nl,keywords_nl,desc_nl FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_nl,title_fr) as title,replace(coalesce(content_nl,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_nl,title_fr) as title,replace(coalesce(content_nl,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_nl, ag.titre_fr) as titre,
+    coalesce(ag.description_nl, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_fr) as titre,
+    coalesce(ag.description_en, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_fr) as titre,
+    coalesce(ag.description_en, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnews';
+QUERYARRAY: SELECT * FROM productnews WHERE id = '1' 
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_fr) as titre,
+    coalesce(ag.description_en, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'nouveautes';
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_fr) as titre,
+    coalesce(ag.description_en, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C4';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C7') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C7';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C7'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C100';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C100' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C100' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C100' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C101';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C101' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C101' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C101' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C105';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C105' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C105' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C105' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C106';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C106' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C106' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C106' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C107';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C107' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C107' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C107' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C108';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C108' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C108' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C108' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C109';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C109' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C109' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C109' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C102';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C102' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='C1' and gp_art='C100';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C100' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C100' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C100' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A5';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&GIT-E1' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&GIT-E1' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&GIT-E1' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='&PDS-GB' and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A5';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A5' and gp_art='A500';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A5'  and ag.gp_art='A500' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A500' and famille_art='A5'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A5' and gp_art='A500' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A205';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A205' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A205' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A205' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A209';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A209' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A209' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A209' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A211';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A211' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A211' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A211' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A206';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A206' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A206' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A206' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A201';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A201' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A201' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A201' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A200';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A200' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A200' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A200' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A205';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A205' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A205' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A205' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C8') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='C8';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C8'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnew';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'home';
+QUERYARRAY: SELECT id,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content,picture FROM website_news WHERE isactive='1'
+QUERYARRAY: SELECT id,picture,coalesce(title_en,title_fr) as title,replace(coalesce(content_en,content_fr),'
+','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_en, ag.titre_fr) as titre,
+    coalesce(ag.description_en, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: SELECT * FROM website_projects ORDER BY publishdate DESC LIMIT 6
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A1';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A1' and gp_art='A102';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_en,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_en,titre_fr) as title from groupes where famille_art='A2' and gp_art='A202';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = '3') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art is not null  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A202' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A202' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A202' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'D1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='D1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A5') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A5'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C1'  and ag.gp_art='C154' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C154' and famille_art='C1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C1' and gp_art='C154' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C4'  and ag.gp_art='C408' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C408' and famille_art='C4'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C4' and gp_art='C408' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='C2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C215' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C215' and famille_art='C2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C2' and gp_art='C215' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C224' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C224' and famille_art='C2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C2' and gp_art='C224' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'C2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='C2'  and ag.gp_art='C208' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='C208' and famille_art='C2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='C2' and gp_art='C208' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A4') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_en,keywords_en,desc_en FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_en,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_en,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_en,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_en,ag.titre_fr), position(' | ' in coalesce(ag.titre_en,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_en,titre_fr) as titre,coalesce(description_en,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A102' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A102' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A102' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A1'  and ag.gp_art='A104' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+emontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A104' and famille_art='A1'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A1' and gp_art='A104' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'product';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A2'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A2') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A2';
+QUERY: select coalesce(titre_fr,titre_fr) as title from groupes where famille_art='A2' and gp_art='A203';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.famille_art='A2'  and ag.gp_art='A203' and ag.isactive=1  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A203' and famille_art='A2'  and isactive=1 order by titre,article;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A2' and gp_art='A203' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: SELECT name_fr,keywords_fr,desc_fr FROM content WHERE (linkname = 'A1') OR (linkname = '')
+QUERYARRAY: SELECT * FROM slider WHERE page = 'productnext';
+QUERY: select coalesce(titre_fr,titre_fr) as title from familles where famille_art='A1';
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='9e7f0769-4e7f-4364-abdc-25854463725f' and oa.id_order is null and oa.code_document='DPS'
diff --git a/public_html/pages/product.old.php b/public_html/pages/product.old.php
new file mode 100644 (file)
index 0000000..68a3972
--- /dev/null
@@ -0,0 +1,156 @@
+<?php 
+include("shop/lib/modules/ArticleGroups.php");
+$ag = new ArticleGroups($db,$cfg);
+?>
+  <div   class="row product-menu" style="text-algin: left; margin: 0px!important;">
+<?php
+        
+         $abfrage = "SELECT famille_art,coalesce(titre_".$lang.",titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC";
+         $fam = $db->queryarray($abfrage);
+         $selfamille = null;
+       
+             foreach($fam as $info) {
+         if ($prod == $info['famille_art']){
+           $selfamille = $info['famille_art'];
+         }
+         ?><div class="col-xl-2 col-lg-3 col-md-4 col-sm-6" style="min-width: padding-top: 5px; overflow: hidden;"><a class="listlink" href="<?php echo $cfg["basepath"];?>product/<?php echo $info['famille_art'].'/'.$cfg["lang"]; ?>/"><div style="font-size: 13pt; padding-top: 3px;"><?php echo $info['famille_art'].' | '.$info['titre'];?></div></a></div>
+        <?php
+        }
+?>
+  </div>
+
+<?php if ($selfamille != null) { ?>
+<div class="row">
+  <div class="col d-none d-lg-block col-lg-4 col-xl-2" id="gartgroups" style="width: 300px; border-bottom: 0.5px solid #ccc;border-right:0.5px solid #ccc; padding-right: 0px;">
+ <?php 
+    $grabfrage = "SELECT gp_art,coalesce(titre_".$lang.",titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='".$selfamille."' group by gp_art) and famille_art='".$selfamille."' ORDER BY gp_art ASC;";
+        $grp = $db->queryarray($grabfrage);
+        
+        $col = "odd";
+             foreach($grp as $g) {
+         if ($col == "odd"){ $col = "even"; } else{ $col = "odd"; } 
+         ?>
+         
+         <div style="padding-right: 0px; width: 100%;" >
+         <div class="<?php echo $col; ?> " style="padding-top:3px;height: 32px;vertical-align:middle; float: left; border-right: 0.5px solid #ccc;overflow: hidden;" ><a class="grplist" style="font-size: 11pt;" href="<?php echo $cfg["basepath"].'product/'.$selfamille.'/'.$g["gp_art"].'/'.$cfg["lang"]; ?>/"><?php echo $g['gp_art']; ?></a></div> 
+          <div class=" <?php echo $col; ?>"  style="padding-top:3px;vertical-align:middle; height: 32px; white-space: no-wrap; overflow: hidden;text-overflow: ellipsis;"><a class="grplist" style="font-size: 11pt;" href="<?php echo $cfg["basepath"].'product/'.$selfamille.'/'.$g["gp_art"].'/'.$cfg["lang"]; ?>/"><?php echo $g['titre']; ?></a></div>
+         </div>
+        <?php
+
+
+        }
+        ?>
+        </div>
+        <div class="col">
+        
+        
+        <?php
+      } else {
+
+      }
+        ?>
+
+       
+    
+    <div class="row" style="margin-left: 0px;">
+      
+    <?php
+
+       // $abfrage = "SELECT * FROM groups WHERE  ORDER BY famille_art,gp_art;";
+      //  if ($selfamille == null){
+      //   $selfamille = $fam[0]['famille_art']; 
+      // }
+
+      if ($pgrp == null){
+        
+        $agroups = $ag->getArticleGroupsByFamille($selfamille,$lang);
+        $count=1;
+      foreach($agroups as $agr) {
+        $imgfile = $cfg["basepath"].'shop/img/qubenoimg.jpg';
+        if (file_exists('shop/img/'.$agr['image'])) {
+          
+          $imgfile = $cfg["basepath"].'shop/img/'.$agr['image'].'?v='.$agr['imgversion'];
+        }
+        if ($agr["brochure"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["brochure"]) && filesize($cfg["basepath"].'shop/media/'.$agr["brochure"]) == 0){
+          $agr["brochure"] = null;
+        }
+        if ($agr["fichetechnique"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["fichetechnique"]) && filesize($cfg["basepath"].'shop/media/'.$agr["fichetechnique"]) == 0){
+          $agr["fichetechnique"] = null;
+        }
+        if ($agr["noticemontage"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["noticemontage"]) && filesize($cfg["basepath"].'shop/media/'.$agr["noticemontage"]) == 0){
+          $agr["noticemontage"] = null;
+        }
+        if ($agr["fichebim"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["fichebim"]) && filesize($cfg["basepath"].'shop/media/'.$agr["noticemontage"]) == 0){
+          $agr["fichebim"] = null;
+        }
+        if ($agr["certificat"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["certificat"]) && filesize($cfg["basepath"].'shop/media/'.$agr["certificat"]) == 0){
+          $agr["certificat"] = null;
+        }
+        if ($agr["formulaire"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["formulaire"]) && filesize($cfg["basepath"].'shop/media/'.$agr["formulaire"]) == 0){
+          $agr["formulaire"] = null;
+        }
+        if ($agr["solution"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["solution"]) && filesize($cfg["basepath"].'shop/media/'.$agr["solution"]) == 0){
+          $agr["solution"] = null;
+        }
+        if ($agr["soumission"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["soumission"]) && filesize($cfg["basepath"].'shop/media/'.$agr["soumission"]) == 0){
+          $agr["soumission"] = null;
+        }
+        
+        $site->group_product($imgfile,$agr,$lang,$count);
+        ?>
+        <div class="artgroups" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div>
+          <!-- <div class="row border artgroups center white" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div> -->
+          
+        <?php
+          $count++;
+        }
+      } else {
+        
+        $agroups = $ag->getArticleGroupsByFamilleAndGroup($selfamille,$pgrp,$lang);
+
+        ?>
+        <!-- <div id="productdata"></div> -->
+        <script>
+          let loadp = true;
+          function initpage(){
+            let lst = document.getElementById("productdata");
+            postData({"ac":"getArticleGroups","groupcode":"<?php echo $pgrp; ?>","famillycode":"<?php echo $selfamille; ?>","lang":"<?php echo $lang; ?>"}).then(agrps => {
+        shop.article_groups = agrps.data;
+        //console.log("groups",shop.article_groups);
+        lst.innerHTML='';
+        postData({"ac":"getByFamillyAndGroups","famillycode":"<?php echo $selfamille; ?>","groupcode":"<?php echo $pgrp; ?>","lang":"<?php echo $lang; ?>"}).then(arts => {
+          shop.articles = arts.data;
+          for (var g=0;g< shop.article_groups.length;g++){
+            let agrp = shop.setArticleGroup(g,shop.article_groups[g],shop.articles,'shop');
+            lst.insertAdjacentHTML('beforeend','' +agrp +'');
+          }
+          publicaskprice.getItemCount();
+        });
+      }).catch(e => { console.log(e)});
+          }
+        </script>
+        <?php 
+
+      }
+
+        
+        ?>
+    </div>
+    <div id="productdata" class="flexmasonry">
+  </div>
+
+      <?php
+if ($selfamille != null){
+  ?>
+  </div>
+  <?php
+}
+       
+       
+        
+        ?>
+        
+        
+        <?php
+  include_once("shop/tmpl/elements/articlecart.html");
+?> 
\ No newline at end of file
index 81582a8..bff8154 100644 (file)
@@ -1,67 +1,74 @@
 <?php \r
 include("shop/lib/modules/ArticleGroups.php");\r
 $ag = new ArticleGroups($db,$cfg);\r
-?>\r
-  <!-- <div class="row "> -->\r
+$famname = "";\r
+$grpname = "";\r
+$selfamille = null;\r
+if (strlen($prod) > 1){ $selfamille = $prod;}\r
 \r
-  <div   class="row product-menu" style="text-algin: left; margin: 0px!important;">\r
-<?php\r
-        \r
-         $abfrage = "SELECT famille_art,coalesce(titre_".$lang.",titre_fr) as titre FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC";\r
-         $fam = $db->queryarray($abfrage);\r
-         $selfamille = null;\r
-       \r
-             foreach($fam as $info) {\r
-         if ($prod == $info['famille_art']){\r
-           $selfamille = $info['famille_art'];\r
-         }\r
-         ?><div class="col-xl-2 col-lg-3 col-md-4 col-sm-6" style="min-width: padding-top: 5px; overflow: hidden;"><a class="listlink" href="<?php echo $cfg["basepath"];?>product/<?php echo $info['famille_art'].'/'.$cfg["lang"]; ?>/"><div style="font-size: 13pt; padding-top: 3px;"><?php echo $info['famille_art'].' | '.$info['titre'];?></div></a></div>\r
-        <?php\r
-        }\r
 ?>\r
+  <nav class="navbar navbar-expand-lg bg-qube">\r
+  <div class="container-fluid">\r
+    <a class="navbar-brand text-white" >Produits <span style="margin-left: 200px;"><?php if ($selfamille != null) {echo $selfamille." | ".$famname; }?></span></a>\r
+    <form class="d-flex">\r
+        <input class="form-control me-2" type="search" placeholder="Recherche" aria-label="Recherche">\r
+        <button class="btn btn-outline-light" type="submit"><span class="icon icon-search"></span></button>\r
+      </form>\r
   </div>\r
+</nav>\r
 \r
-<?php if ($selfamille != null) { ?>\r
-<div class="row">\r
+\r
+<div class="row" style="margin-right: 0px;">\r
   <div class="col d-none d-lg-block col-lg-4 col-xl-2" id="gartgroups" style="width: 300px; border-bottom: 0.5px solid #ccc;border-right:0.5px solid #ccc; padding-right: 0px;">\r
- <?php \r
-    $grabfrage = "SELECT gp_art,coalesce(titre_".$lang.",titre_fr) as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='".$selfamille."' group by gp_art) and famille_art='".$selfamille."' ORDER BY gp_art ASC;";\r
-        $grp = $db->queryarray($grabfrage);\r
         \r
-        $col = "odd";\r
-             foreach($grp as $g) {\r
-         if ($col == "odd"){ $col = "even"; } else{ $col = "odd"; } \r
-         ?>\r
-         \r
-         <div style="padding-right: 0px; width: 100%;" >\r
-         <div class="<?php echo $col; ?> " style="padding-top:3px;height: 32px;vertical-align:middle; float: left; border-right: 0.5px solid #ccc;overflow: hidden;" ><a class="grplist" style="font-size: 11pt;" href="<?php echo $cfg["basepath"].'product/'.$selfamille.'/'.$g["gp_art"].'/'.$cfg["lang"]; ?>/"><?php echo $g['gp_art']; ?></a></div> \r
-          <div class=" <?php echo $col; ?>"  style="padding-top:3px;vertical-align:middle; height: 32px; white-space: no-wrap; overflow: hidden;text-overflow: ellipsis;"><a class="grplist" style="font-size: 11pt;" href="<?php echo $cfg["basepath"].'product/'.$selfamille.'/'.$g["gp_art"].'/'.$cfg["lang"]; ?>/"><?php echo $g['titre']; ?></a></div>\r
-         </div>\r
-        <?php\r
+       <!-- START -->\r
 \r
+       <div id="tbl_groups" class="tabulator" role="grid" tabulator-layout="fitDataStretch" style="height: calc(100vh - 157px);">\r
+        <div class="tabulator-tableHolder" tabindex="0" style="min-height: calc(100% - 0px); height: calc(100% - 0px); max-height: calc(100% - 0px);">\r
+          <div class="tabulator-table" style="padding-top: 0px;">\r
+            <?php \r
+              $fam = "";\r
+              $cla = "odd";\r
+              $agrp = $ag->getPublishedGroups($lang);\r
+              foreach ($agrp as $ax){\r
+                if ($cla == "odd"){ $cla = "even";} else { $cla="odd"; }\r
+                if ($fam != $ax['famille_art']){\r
+                  ?>\r
+                    <div class="tabulator-row tabulator-group tabulator-group-level-0 tabulator-row-odd tabulator-group<?php echo  ((($ax['famille_art'] == $selfamille) && ($selfamille != null))?'-visible':'')?> " onclick="mysite.reload('<?php echo $cfg["basepath"];?>product/<?php echo $ax['famille_art'].'/'.$cfg["lang"]; ?>/');" role="rowgroup">\r
+                <div class="tabulator-group-toggle" style="margin-left: 0px;">\r
+                <div class="tabulator-arrow" ></div></div><?php echo $ax['famille_art'].' | '.$ax['famille']; ?>\r
+            </div>\r
+                  <?php\r
+                  $fam = $ax['famille_art'];\r
+                }\r
+                if (($ax['famille_art'] == $selfamille) && ($selfamille != null)) {\r
+                ?>\r
+                  <div class="tabulator-row tabulator-selectable tabulator-row-<?php echo $cla; ?>" role="row" name="fam_<?php echo $ax['famille_art']; ?>" style="padding-left: 0px;" onclick="mysite.reload('<?php echo $cfg["basepath"]."product/".$ax["famille_art"].'/'.$ax["gp_art"].'/'.$cfg["lang"]; ?>/');">\r
+                  <div class="tabulator-cell" role="gridcell" tabulator-field="famille" title="" style="display: none; height: 36px;">\r
+                    <?php echo $ax["famille"]; ?>\r
+                  </div>\r
+                  <div class="tabulator-cell" role="gridcell" tabulator-field="gp_art" title="" style="width: 50px; height: 36px;"><?php echo $ax["gp_art"]; ?></div>\r
+                  <div class="tabulator-cell" role="gridcell" tabulator-field="groupe" title="" style="width: 215px; height: 36px;"><?php echo $ax["groupe"]; ?></div></div>\r
+                <?php\r
+                }\r
+              }\r
+            ?>\r
+            \r
+                \r
+                \r
+                \r
+              \r
+          </div>\r
+            </div></div>\r
 \r
-        }\r
-        ?>\r
-        </div>\r
+       <!-- END -->\r
+            </div>\r
         <div class="col">\r
-        \r
-        \r
-        <?php\r
-      } else {\r
-\r
-      }\r
-        ?>\r
-\r
-       \r
     \r
-    <div class="row" style="margin-left: 0px;">\r
+    <div class="row" style="margin-left: 0px; height: calc(100vh - 157px); overflow-y: scroll;">\r
       \r
     <?php\r
 \r
-       // $abfrage = "SELECT * FROM groups WHERE  ORDER BY famille_art,gp_art;";\r
-      //  if ($selfamille == null){\r
-      //   $selfamille = $fam[0]['famille_art']; \r
-      // }\r
 \r
       if ($pgrp == null){\r
         \r
@@ -106,12 +113,20 @@ $ag = new ArticleGroups($db,$cfg);
         <?php\r
           $count++;\r
         }\r
+        ?>\r
+        <script>\r
+          let loadp = true;\r
+          function initpage(){\r
+            publicaskprice.init();\r
+            publicaskprice.getItemCount();\r
+          }\r
+          </script> <?php\r
       } else {\r
         \r
         $agroups = $ag->getArticleGroupsByFamilleAndGroup($selfamille,$pgrp,$lang);\r
 \r
         ?>\r
-        <!-- <div id="productdata"></div> -->\r
+        \r
         <script>\r
           let loadp = true;\r
           function initpage(){\r
@@ -134,24 +149,12 @@ $ag = new ArticleGroups($db,$cfg);
         <?php \r
 \r
       }\r
-\r
-        \r
         ?>\r
-    </div>\r
-    <div id="productdata" class="flexmasonry">\r
+    \r
+    <div id="productdata" style="padding-bottom: 30px; overflow-y: hidden;">\r
+  </div>\r
   </div>\r
-\r
-      <?php\r
-if ($selfamille != null){\r
-  ?>\r
   </div>\r
-  <?php\r
-}\r
-       \r
-       \r
-        \r
-        ?>\r
-        \r
         \r
         <?php\r
   include_once("shop/tmpl/elements/articlecart.html");\r
index 3ed11e2..9962e99 100644 (file)
@@ -1,62 +1,32 @@
 <?php 
 include("shop/lib/modules/ArticleGroups.php");
 $ag = new ArticleGroups($db,$cfg);
+$selfamille = $prod;
 ?>
-
-<div class="product-menu row text-white">
-  <div class="col l1 m1 s1">&nbsp;</div>
-  <div id="product-menu"  class="col l10 m10 s10" style="text-algin: left;">
-<?php
-        
-         $abfrage = "SELECT famille_art,titre_fr FROM familles where famille_art in (select famille_art from articles where isactive='1' group by famille_art) ORDER BY famille_art ASC";
-         $fam = $db->queryarray($abfrage);
-         $selfamille = null;
-       
-             foreach($fam as $info) {
-         if ($prod == $info['famille_art']){
-           $selfamille = $info['famille_art'];
-         }
-         ?><div class="col l3 m6 s12 btn" style="padding-top: 5px; overflow: hidden;"><a class="text-white"  style="text-decoration: none;" href="<?php echo $cfg["basepath"];?>product/<?php echo $info['famille_art'].'/'.$cfg["lang"]; ?>/"><div style="font-size: 13pt; padding-top: 3px;"><?php echo $info['famille_art'].' | '.$info['titre_fr'];?></div></a></div>
-        <?php
-        }
-?>
-  </div><div class="col l1 m1 s1">&nbsp;</div>
+  <nav class="navbar navbar-expand-lg bg-qube">
+  <div class="container-fluid">
+    <a class="navbar-brand text-white" >Produits</a>
+    <form class="d-flex">
+        <input class="form-control me-2" type="search" placeholder="Recherche" aria-label="Recherche">
+        <button class="btn btn-outline-light" type="submit"><span class="icon icon-search"></span></button>
+      </form>
+  </div>
+</nav>
+<div class="d-flex flex-column flex-shrink-0 text-white bg-dark" style="width: 280px;height:calc(100vh - 200px);">
+    <div id="tbl_groups"></div>
 </div>
-<?php if ($selfamille != null) { ?>
-<div class="row text-black">
-  <div class="cell-row">
-    <div class="cell" style="width: 320px;">
-    <div class="tabulator tabulator-tableHolder">
-    <?php 
-    $grabfrage = "SELECT gp_art,titre_fr as titre FROM groupes where gp_art in (select gp_art from articles where isactive='1' and famille_art='".$selfamille."' group by gp_art) and famille_art='".$selfamille."' ORDER BY gp_art ASC;";
-        $grp = $db->queryarray($grabfrage);
-        
-        $col = "odd";
-             foreach($grp as $g) {
-         if ($col == "odd"){ $col = "even"; } else{ $col = "odd"; } 
-         ?><div class="tabulator-row tabulator-selectable tabulator-row-<?php echo $col; ?> <?php echo (($pgrp != null && $pgrp == $g["gp_art"])?"tabulator-selected":""); ?>"  >
-          <div class="tabulator-cell"  style="width: 54px; height: 32px;"> <?php echo $g['gp_art']; ?></div>
-          
-          <div class="tabulator-cell" style="width: 260px; height: 32px; overflow-y: hidden;"><a style="text-decoration: none; font-size: 14px;" href="<?php echo $cfg["basepath"].'product/'.$selfamille.'/'.$g["gp_art"].'/'.$cfg["lang"]; ?>/"> <?php echo $g['titre']; ?></a></div>
-         </div>
-        <?php
 
-// <!-- <a style="text-decoration: none;"
-//  >
-//  echo $g['gp_art']." | ".$g['titre'];</a></div> 
-        }
-      }
-        ?>
-        </div>
-    </div>
-    <div class="cell rest">
-      <div style="width: 100%;">&nbsp;</div>
+<div class="row">
+  <div class="col d-none d-lg-block col-lg-4 col-xl-2" id="gartgroups" style="width: 300px;">
+  </div>
+  <div class="col">
+    <div class="row" style="margin-left: 0px;">
     <?php
 
        // $abfrage = "SELECT * FROM groups WHERE  ORDER BY famille_art,gp_art;";
-       if ($selfamille == null){
-        $selfamille = $fam[0]['famille_art']; 
-      }
+      //  if ($selfamille == null){
+      //   $selfamille = $fam[0]['famille_art']; 
+      // }
 
       if ($pgrp == null){
         
@@ -83,11 +53,21 @@ $ag = new ArticleGroups($db,$cfg);
         if ($agr["certificat"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["certificat"]) && filesize($cfg["basepath"].'shop/media/'.$agr["certificat"]) == 0){
           $agr["certificat"] = null;
         }
+        if ($agr["formulaire"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["formulaire"]) && filesize($cfg["basepath"].'shop/media/'.$agr["formulaire"]) == 0){
+          $agr["formulaire"] = null;
+        }
+        if ($agr["solution"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["solution"]) && filesize($cfg["basepath"].'shop/media/'.$agr["solution"]) == 0){
+          $agr["solution"] = null;
+        }
+        if ($agr["soumission"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["soumission"]) && filesize($cfg["basepath"].'shop/media/'.$agr["soumission"]) == 0){
+          $agr["soumission"] = null;
+        }
         
         $site->group_product($imgfile,$agr,$lang,$count);
         ?>
-          <div class="row border artgroups center white" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div>
-          <!-- <div class="border red artgroups" id="artgroup_<?php echo $count ?>" style="margin: auto; height: 200px; width: 95vw; display: none;"></div> -->
+        <div class="artgroups" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div>
+          <!-- <div class="row border artgroups center white" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div> -->
+          
         <?php
           $count++;
         }
@@ -96,26 +76,8 @@ $ag = new ArticleGroups($db,$cfg);
         $agroups = $ag->getArticleGroupsByFamilleAndGroup($selfamille,$pgrp,$lang);
 
         ?>
-        <div id="productdata"></div>
-        <script>
-          let loadp = true;
-          function initpage(){
-            let lst = document.getElementById("productdata");
-            postData({"ac":"getArticleGroups","groupcode":"<?php echo $pgrp; ?>","famillycode":"<?php echo $selfamille; ?>","lang":"<?php echo $lang; ?>"}).then(agrps => {
-        shop.article_groups = agrps.data;
-        //console.log("groups",shop.article_groups);
-        lst.innerHTML='';
-        postData({"ac":"getByFamillyAndGroups","famillycode":"<?php echo $selfamille; ?>","groupcode":"<?php echo $pgrp; ?>","lang":"<?php echo $lang; ?>"}).then(arts => {
-          shop.articles = arts.data;
-          for (var g=0;g< shop.article_groups.length;g++){
-            let agrp = shop.setArticleGroup(g,shop.article_groups[g],shop.articles,'shop');
-            lst.insertAdjacentHTML('beforeend','<div class="white border margin">' +agrp +'</div>');
-          }
-          
-        });
-      }).catch(e => { console.log(e)});
-          }
-        </script>
+        <!-- <div id="productdata"></div> -->
+        
         <?php 
 
       }
@@ -123,15 +85,32 @@ $ag = new ArticleGroups($db,$cfg);
         
         ?>
     </div>
+    <div id="productdata" class="flexmasonry">
   </div>
-</div>
-      <?php
 
-       
-        // $abfrage = "SELECT * FROM groups WHERE  famille_art='".$selfamille."' ORDER BY gp_art;"; 
-        
-        ?>
+  </div>
+<script>
+          let loadp = true;
+
+          function initpage(){
+            publicaskprice.init();
+            publicaskprice.getItemCount();
+            let lst = document.getElementById("productdata");
+      //       postData({"ac":"getArticleGroups","groupcode":"<?php echo $pgrp; ?>","famillycode":"<?php echo $selfamille; ?>","lang":"<?php echo $lang; ?>"}).then(agrps => {
+      //   shop.article_groups = agrps.data;
+      //   //console.log("groups",shop.article_groups);
+      //   lst.innerHTML='';
+      //   postData({"ac":"getByFamillyAndGroups","famillycode":"<?php echo $selfamille; ?>","groupcode":"<?php echo $pgrp; ?>","lang":"<?php echo $lang; ?>"}).then(arts => {
+      //     shop.articles = arts.data;
+      //     for (var g=0;g< shop.article_groups.length;g++){
+      //       let agrp = shop.setArticleGroup(g,shop.article_groups[g],shop.articles,'shop');
+      //       lst.insertAdjacentHTML('beforeend','' +agrp +'');
+      //     }
+          
+      //   });
+      // }).catch(e => { console.log(e)});
+          }
+        </script>
         
         
         <?php
index 1cc66ef..93c088b 100644 (file)
@@ -1,21 +1,22 @@
 <?php\r
 \r
-          echo '<div class="row padding">';\r
+          echo '<div class="container row">';\r
          $abfrage = "SELECT * FROM productnews WHERE id = '$cat' ";\r
          $result = $db->queryarray($abfrage);\r
          /*$count = 0*/\r
         foreach ($result as $info) {\r
-        echo '<div class="container col l6 m12 s12 margin" >\r
+        echo '<div class="container" >\r
               <h2 style="margin-top:50px; margin-left:0px; text-align:left;">'.$info['title_'.$lang.''] .'</h2>\r
               <div class="span8" style="float:left; text-align:left; margin-left:0; padding:0;">\r
               '.$info['content_'.$lang.''].'\r
               </div>\r
-              <div class="span4" style="display:block; float:left; text-align:left;  margin-left:20px; padding:20px;">\r
-              <img  src="'.$cfg["basepath"].'data/gallerys/content/news/crop_'.$info['picture'].'" style="width:350px; height:auto;" alt="'.$info['title_'.$lang.''].'" border=0>\r
+              <div class="col" style="display:block; float:left; text-align:left;  margin-left:20px; padding:20px;">\r
+              <img  src="'.$cfg["basepath"].'data/gallerys/content/news/crop_'.$info['picture'].'" style="width:350px; height:auto;" alt="'.$info['title_'.$lang.''].'">\r
               </div>\r
              \r
               ';\r
-         echo '<div style="margin-top:50px; height:10px; border-top: 1px solid #204a94;"></div><div class="my-gallery" itemscope itemtype="https://schema.org/ImageGallery">';\r
+         echo '<div style="margin-top:50px; height:10px; border-top: 1px solid #204a94;"></div>\r
+              <div class="my-gallery">';\r
   $alledateien = scandir('data/gallerys/productnews/'.$info['link'] .''); //Ordner "files" auslesen\r
      foreach ($alledateien as $datei) { // Ausgabeschleife\r
       if ($datei != "." && $datei != "..") {\r
@@ -33,8 +34,8 @@
        $convert    = $location . " -resize 150x150^ -gravity center -extent 350x350 " . $name . " ".$nameto; // Command creating\r
        if (file_exists($cfg["basepath"].'data/gallerys/productnews/'.$info['link'] .'/thumbs/thumb_'.$filename.'')) {} else {exec ($convert);}// Execution of complete command.\r
         list($width, $height) = getimagesize('data/gallerys/productnews/'.$info['link'] .'/'.$filename.'');\r
-    echo '<figure itemprop="associatedMedia" itemscope itemtype="https://schema.org/ImageObject"><a href="'.$cfg["basepath"].'data/gallerys/productnews/'.$info['link'] .'/'.$datei.'" itemprop="contentUrl" data-size="'.$width.'x'.$height.'" title="'.$info['title_'.$lang.''].'">\r
-    <img src="'.$cfg["basepath"].'data/gallerys/productnews/'.$info['link'].'/thumbs/thumb_'.$dateiinfo['basename'].'" itemprop="thumbnail" alt="'.$info['title_'.$lang.''].'" ></a></figure>';\r
+    echo '<a href="'.$cfg["basepath"].'data/gallerys/productnews/'.$info['link'] .'/'.$datei.'" data-size="'.$width.'x'.$height.'" title="'.$info['title_'.$lang.''].'">\r
+    <img src="'.$cfg["basepath"].'data/gallerys/productnews/'.$info['link'].'/thumbs/thumb_'.$dateiinfo['basename'].'" alt="'.$info['title_'.$lang.''].'" ></a>';\r
  }\r
 }\r
 }\r
diff --git a/public_html/pages/productnext.php b/public_html/pages/productnext.php
new file mode 100644 (file)
index 0000000..5d9e649
--- /dev/null
@@ -0,0 +1,170 @@
+<?php 
+include("shop/lib/modules/ArticleGroups.php");
+$ag = new ArticleGroups($db,$cfg);
+$famname = "";
+$grpname = "";
+$selfamille = null;
+if (strlen($prod) > 1){ 
+  $dfam = $db->query("select coalesce(titre_".$lang.",titre_fr) as title from familles where famille_art='".$prod."';");
+  $famname = $dfam["title"];
+  $selfamille = $prod;
+  if (strlen($pgrp) > 1){ 
+    $dgrp= $db->query("select coalesce(titre_".$lang.",titre_fr) as title from groupes where famille_art='".$selfamille."' and gp_art='".$pgrp."';");
+    $grpname = $dgrp["title"];
+  }
+}
+
+
+?>
+  <nav class="navbar navbar-expand-lg bg-qube">
+  <div class="container-fluid">
+    <a class="navbar-brand text-white" >Produits <span style="margin-left: 200px;"><?php if ($selfamille != null) {echo $selfamille." | ".$famname; }?> <?php if ($pgrp != null) {echo " - ".$pgrp." | ".$grpname; }?></span></a>
+    <form class="d-flex">
+        <input class="form-control me-2" type="search" placeholder="Recherche" aria-label="Recherche">
+        <button class="btn btn-outline-light" type="submit"><span class="icon icon-search"></span></button>
+      </form>
+  </div>
+</nav>
+
+
+<div class="row" style="margin-right: 0px;">
+  <div class="col d-none d-lg-block col-lg-4 col-xl-2" id="gartgroups" style="width: 300px; border-bottom: 0.5px solid #ccc;border-right:0.5px solid #ccc; padding-right: 0px;">
+        
+       <!-- START -->
+
+       <div id="tbl_groups" class="tabulator" role="grid" tabulator-layout="fitDataStretch" style="height: calc(100vh - 257px);">
+        <div class="tabulator-tableHolder" tabindex="0" style="min-height: calc(100% - 0px); height: calc(100% - 0px); max-height: calc(100% - 0px);">
+          <div class="tabulator-table" style="padding-top: 0px;">
+            <?php 
+              $fam = "";
+              $cla = "odd";
+              $agrp = $ag->getPublishedGroups($lang);
+              foreach ($agrp as $ax){
+                if ($cla == "odd"){ $cla = "even";} else { $cla="odd"; }
+                if ($fam != $ax['famille_art']){
+                  ?>
+                    <div class="tabulator-row tabulator-group tabulator-group-level-0 tabulator-row-odd tabulator-group<?php echo  ((($ax['famille_art'] == $selfamille) && ($selfamille != null))?'-visible':'')?> " onclick="mysite.reload('<?php echo $cfg["basepath"];?>productnext/<?php echo $ax['famille_art'].'/'.$cfg["lang"]; ?>/');" role="rowgroup">
+                <div class="tabulator-group-toggle" style="margin-left: 0px;">
+                <div class="tabulator-arrow" ></div></div><?php echo $ax['famille_art'].' | '.$ax['famille']; ?>
+            </div>
+                  <?php
+                  $fam = $ax['famille_art'];
+                }
+                if (($ax['famille_art'] == $selfamille) && ($selfamille != null)) {
+                ?>
+                  <div class="tabulator-row tabulator-selectable tabulator-row-<?php echo $cla; ?>" role="row" name="fam_<?php echo $ax['famille_art']; ?>" style="padding-left: 0px;" onclick="mysite.reload('<?php echo $cfg["basepath"]."productnext/".$ax["famille_art"].'/'.$ax["gp_art"].'/'.$cfg["lang"]; ?>/');">
+                  <div class="tabulator-cell" role="gridcell" tabulator-field="famille" title="" style="display: none; height: 36px;">
+                    <?php echo $ax["famille"]; ?>
+                  </div>
+                  <div class="tabulator-cell" role="gridcell" tabulator-field="gp_art" title="" style="width: 50px; height: 36px;"><?php echo $ax["gp_art"]; ?></div>
+                  <div class="tabulator-cell" role="gridcell" tabulator-field="groupe" title="" style="width: 215px; height: 36px;"><?php echo $ax["groupe"]; ?></div></div>
+                <?php
+                }
+              }
+            ?>
+            
+                
+                
+                
+              
+          </div>
+            </div></div>
+
+       <!-- END -->
+            </div>
+        <div class="col">
+    
+    <div class="row" style="margin-left: 0px; height: calc(100vh - 257px); overflow-y: scroll;">
+      
+    <?php
+
+
+      if ($pgrp == null){
+        
+        $agroups = $ag->getArticleGroupsByFamille($selfamille,$lang);
+        $count=1;
+      foreach($agroups as $agr) {
+        $imgfile = $cfg["basepath"].'shop/img/qubenoimg.jpg';
+        if (file_exists('shop/img/'.$agr['image'])) {
+          
+          $imgfile = $cfg["basepath"].'shop/img/'.$agr['image'].'?v='.$agr['imgversion'];
+        }
+        if ($agr["brochure"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["brochure"]) && filesize($cfg["basepath"].'shop/media/'.$agr["brochure"]) == 0){
+          $agr["brochure"] = null;
+        }
+        if ($agr["fichetechnique"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["fichetechnique"]) && filesize($cfg["basepath"].'shop/media/'.$agr["fichetechnique"]) == 0){
+          $agr["fichetechnique"] = null;
+        }
+        if ($agr["noticemontage"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["noticemontage"]) && filesize($cfg["basepath"].'shop/media/'.$agr["noticemontage"]) == 0){
+          $agr["noticemontage"] = null;
+        }
+        if ($agr["fichebim"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["fichebim"]) && filesize($cfg["basepath"].'shop/media/'.$agr["noticemontage"]) == 0){
+          $agr["fichebim"] = null;
+        }
+        if ($agr["certificat"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["certificat"]) && filesize($cfg["basepath"].'shop/media/'.$agr["certificat"]) == 0){
+          $agr["certificat"] = null;
+        }
+        if ($agr["formulaire"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["formulaire"]) && filesize($cfg["basepath"].'shop/media/'.$agr["formulaire"]) == 0){
+          $agr["formulaire"] = null;
+        }
+        if ($agr["solution"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["solution"]) && filesize($cfg["basepath"].'shop/media/'.$agr["solution"]) == 0){
+          $agr["solution"] = null;
+        }
+        if ($agr["soumission"] != null && file_exists($cfg["basepath"].'shop/media/'.$agr["soumission"]) && filesize($cfg["basepath"].'shop/media/'.$agr["soumission"]) == 0){
+          $agr["soumission"] = null;
+        }
+        
+        $site->group_product($imgfile,$agr,$lang,$count);
+        ?>
+        <div class="artgroups" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div>
+          <!-- <div class="row border artgroups center white" id="artgroup_<?php echo $count ?>" style="margin: auto;  display: none;"></div> -->
+          
+        <?php
+          $count++;
+        }
+        ?>
+        <script>
+          let loadp = true;
+          function initpage(){
+            publicaskprice.init();
+            publicaskprice.getItemCount();
+          }
+          </script> <?php
+      } else {
+        
+        $agroups = $ag->getArticleGroupsByFamilleAndGroup($selfamille,$pgrp,$lang);
+
+        ?>
+        
+        <script>
+          let loadp = true;
+          function initpage(){
+            let lst = document.getElementById("productdata");
+            postData({"ac":"getArticleGroups","groupcode":"<?php echo $pgrp; ?>","famillycode":"<?php echo $selfamille; ?>","lang":"<?php echo $lang; ?>"}).then(agrps => {
+        shop.article_groups = agrps.data;
+        //console.log("groups",shop.article_groups);
+        lst.innerHTML='';
+        postData({"ac":"getByFamillyAndGroups","famillycode":"<?php echo $selfamille; ?>","groupcode":"<?php echo $pgrp; ?>","lang":"<?php echo $lang; ?>"}).then(arts => {
+          shop.articles = arts.data;
+          for (var g=0;g< shop.article_groups.length;g++){
+            let agrp = shop.setArticleGroup(g,shop.article_groups[g],shop.articles,'shop');
+            lst.insertAdjacentHTML('beforeend','' +agrp +'');
+          }
+          publicaskprice.getItemCount();
+        });
+      }).catch(e => { console.log(e)});
+          }
+        </script>
+        <?php 
+
+      }
+        ?>
+    
+    <div id="productdata" style="padding-bottom: 30px; overflow-y: hidden;">
+  </div>
+  </div>
+  </div>
+        
+        <?php
+  include_once("shop/tmpl/elements/articlecart.html");
+?> 
\ No newline at end of file
diff --git a/public_html/pages/projects2.php b/public_html/pages/projects2.php
deleted file mode 100644 (file)
index 7d84dbc..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="padding row container" style="text-align:center;">
-<?php
-
-         $abfrage = "SELECT * FROM projects ORDER BY date";
-         $result = $db->queryarray($abfrage);
-        foreach($result as $info) {
-         $content = $info['content_'.$lang.''];
-         echo '<div class="span33">
-               <div id="box" class="image" style="height:150px; overflow:hidden; margin-bottom:0px;">
-                <img  src="'.$cfg["basepath"].'data/images/'.$info['picture'].'"  alt="test" border=0>
-                </div>
-                <div style="clear: both;"></div>
-                <div id="desc_news" style="height:150px; background:#245caa; overflow:hidden; margin-bottom:0px; padding:10px;"><h3 style="color:#fff;">'.$info['title_'.$lang.''].'</h3>'.$content.'&nbsp;. . .</div>
-                <div style="height:30px; text-align:right; padding:5px; background:#245caa;"><a href="'.$cfg["basepath"].'project/'.$info['id'].'/fr/"><img src="'.$cfg["basepath"].'img/plus.png" width="" height="" alt="lire plus" border=0></a></div>
-              </div>';
-         }
-        echo '';
-      ?>
-      </div>
\ No newline at end of file
index 19ccce3..929d179 100644 (file)
@@ -1,26 +1,25 @@
-<div class="container-fluid  productsrow app" style="background-color:#fff;">
-  <div class="container">
-    <div class="homeh2" style="margin-bottom: 10px;">
-      <h2 style="color:#225ba6;"><?php echo $lbl["lastnews"]; ?></h2> 
-    </div>
-  </div>
-    <div class="row ">
+<div class="container-fluid  productsrow app" style="background-color:#fff; padding-top: 15px;">
+    <div class="row">
   <?php
-  $news = $db->queryarray("SELECT * FROM website_news ORDER BY publishdate DESC LIMIT 6");
+  $news = $db->queryarray("SELECT id,coalesce(title_".$lang.",title_fr) as title,replace(coalesce(content_".$lang.",content_fr),'\n','<br/>') as content,picture FROM website_news WHERE isactive='1'");
        foreach($news as $n) {
-    $gallery = ((isset($info["catgallery"]))?$info["catgallery"]:null);
     ?>
+
     <div class="col-lg-4 col-md-6 col-sm-12" style="padding-bottom: 30px;" style="padding-bottom: 30px;">
+    <div class="card"  style="padding: 10px;margin-bottom: 10px; border: 0px! important">
       <div class="row">
-      <div class="col-4">
-        <img  src="<?php echo $cfg["basepath"].'data/gallerys/content/news/crop_'.$n['picture']; ?>" alt="<?php echo $n['title_'.$lang]; ?>" style="border:0; width: 100%;">
+      <div class="col-3" style="padding-bottom: 10px;">
+        <img  src="<?php echo $cfg["basepath"].'data/gallerys/content/news/'.$n['picture']; ?>" style="width: 100%; " alt="<?php echo $n['title']; ?>" >
       </div>
-      <div class="col-8">
-        <h2 class="h2"><?php echo $n['title_'.$lang];?></h2>
-          <?php echo $n['content_'.$lang]; ?>
+      <div class="col-md-8 col-sm-12">
+        <h4 style="font-weight: bold;"><?php echo $n['title'];?></h4>
+        <div class="container">
+            <?php echo $n['content'];?>
+        </div>
       </div>
       </div>
     </div>
+    </div>
     <?php } ?>
   </div>
   
index 2b99a93..5498986 100644 (file)
@@ -6,24 +6,30 @@
   </div>
     <div class="row">
 <?php
-  $result = $db->queryarray("SELECT * FROM productnews ORDER BY date DESC LIMIT 6");
+  $result = $db->queryarray("SELECT id,picture,coalesce(title_".$lang.",title_fr) as title,replace(coalesce(content_".$lang.",content_fr),'\n','<br/>') as content FROM productnews ORDER BY date DESC LIMIT 6");
        foreach($result as $info) {
-         $gallery = ((isset($info["catgallery"]))?$info["catgallery"]:null);
-         
-         list($width, $height, $type, $attr) = getimagesize('data/gallerys/content/news/crop_'.$info['picture']);
          ?>
-        <div class="col-lg-4 col-md-6 col-sm-12"  style="padding-bottom: 30px;">
+         
+         <div class="col-lg-4 col-md-6 col-sm-12">
+        <div class="card"  style="padding: 10px;margin-bottom: 10px;">
           <div class="row">  
-          <div class="col-4">
-           <img src="<?php echo $cfg["basepath"]; ?>data/gallerys/content/news/crop_<?php echo $info['picture']; ?>" style="width: 100%;" alt="<?php echo $info['title_'.$lang]; ?>" >
+          <div class="col-3" style="padding-bottom: 5px;">
+           <img src="<?php echo $cfg["basepath"]; ?>data/gallerys/content/news/crop_<?php echo $info['picture']; ?>" style="width: 100%; " alt="<?php echo $info['title']; ?>" >
+            </div>
+            <div class="col-md-8 col-sm-12" >
+              
+              <h4 style="font-weight: bold;" ><?php echo $info['title']; ?></h4>
+              <div class="container" style="max-height: 150px; overflow: hidden;">
+                <?php echo str_replace("<br/>","\n",$info['content']);?>
+              </div>
             </div>
-            <div class="col-8">
-              <h2 class="h2"><?php $info['title_'.$lang]; ?></h2>
-                <?php echo substr($info['content_'.$lang],0,300);?>... <br/><br/> 
-                <a href="<?php echo $cfg["basepath"].'productnews/'.$info['id'].'/'.$lang.'/'; ?>">Lire plus...</a>
+              <div class="d-flex justify-content-end">
+              <a class="btn btn-outline-secondary btn-sm" href="<?php echo $cfg["basepath"].'productnews/'.$info['id'].'/'.$lang.'/'; ?>"><?php echo $lbl["readmore"]; ?></a>
+              </div>  
             </div>
         </div>
         </div>
+        
          <?php }  ?>
     </div> 
 </div>
\ No newline at end of file
index 479a1db..541296f 100644 (file)
   "lastnews" => "Letzte Neuigkeiten",
   "lastprojects" => "Letze Projekte",
   "mobileapp" => "Mobile App",
-  "productnews" => "Produkt News"
+  "productnews" => "Produkt News",
+  "readmore" => "weiter lesen...",
  );
 ?>
\ No newline at end of file
index 8a2c3c8..8209d31 100644 (file)
   "lastnews" => "Dernières nouvelles",
   "lastprojects" => "Derniers projets",
   "mobileapp" => "Mobile APPS",
-  "productnews" => "Product News"
+  "productnews" => "Product News",
+  "readmore" => "read more...",
 );
 ?>
\ No newline at end of file
index 4e9f451..23da72c 100644 (file)
   "lastnews" => "Dernières nouvelles",
   "lastprojects" => "Derniers projets",
   "mobileapp" => "Mobile APPS",
-  "productnews" => "Product News"
+  "productnews" => "Product News",
+  "readmore" => "lire plus...",
 );
 ?>
\ No newline at end of file
index 4bbe908..1d902ff 100644 (file)
@@ -15,13 +15,13 @@ class Articles{
   public function getArticleGroups($famillycode,$groupcode,$lang){
     if (!$lang){ $lang=$this->cfg["lang"];}
     
-    return $this->dbh->queryarray("select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_".$lang.",titre_".$this->cfg["lang"].") as titre,coalesce(description_".$lang.",description_".$this->cfg["lang"].") as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    return $this->dbh->queryarray("select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_".$lang.",titre_fr) as titre,coalesce(description_".$lang.",description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
     where gp_art='".$groupcode."' and famille_art='".$famillycode."'  and isactive=1 order by titre,article;");
   }
 
   public function getArticleGroup($article,$lang){
     if (!$lang){ $lang=$this->cfg["lang"];}
-    return $this->dbh->queryarray("select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_".$lang.",titre_".$this->cfg["lang"].") as titre,coalesce(description_".$lang.",description_".$this->cfg["lang"].") as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='".$article."' and isactive=1 order by titre,article;");
+    return $this->dbh->queryarray("select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_".$lang.",titre_fr) as titre,coalesce(description_".$lang.",description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim,certificat,formulaire,soumission,solution from article_groups where article='".$article."' and isactive=1 order by titre,article;");
   }
 
   public function getByFamillyAndGroups($famillycode,$groupcode,$lang){
@@ -32,7 +32,7 @@ class Articles{
   public function getFavoriteArticleGroups($iduser,$lang){
     if (!$lang){ $lang=$this->cfg["lang"];}
     
-    return $this->dbh->queryarray("select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_".$lang.",titre_".$this->cfg["lang"].") as titre,coalesce(description_".$lang.",description_".$this->cfg["lang"].") as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,fichetechnique,brochure,noticemontage,videolink,fimchebim,certificat,formulaire,soumission,solution from article_groups where article in (select article_group from articles where isactive=1 and article in (select article from userfavorites where id_user='".$iduser."') group by article_group) order by titre,article;");
+    return $this->dbh->queryarray("select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_".$lang.",titre_fr) as titre,coalesce(description_".$lang.",description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,fichetechnique,brochure,noticemontage,videolink,fimchebim,certificat,formulaire,soumission,solution from article_groups where article in (select article_group from articles where isactive=1 and article in (select article from userfavorites where id_user='".$iduser."') group by article_group) order by titre,article;");
   }
 
   public function getFavoriteArticles($iduser,$lang){
@@ -46,8 +46,8 @@ class Articles{
     if (!$lang){ $lang=$this->cfg["lang"];}
     $datescount=20;
     $sql = "select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
-    coalesce(ag.titre_".$this->cfg["lang"].", ag.titre_".$this->cfg["lang"].") as titre,
-    coalesce(ag.description_".$this->cfg["lang"].", ag.description_".$this->cfg["lang"].") as description,
+    coalesce(ag.titre_".$lang.", ag.titre_fr) as titre,
+    coalesce(ag.description_".$lang.", ag.description_fr) as description,
     ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
     ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
   from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT ".$datescount." ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;";
@@ -62,6 +62,30 @@ class Articles{
     return $this->dbh->querybykey('article_group',"select ar.id, UPPER(ar.article_group) as article_group, UPPER(ar.article) as article, ar.gp_art, ar.famille_art, ar.c01, ar.c02, ar.c03, ar.c04, ar.c05, ap.prix_net, ar.unite_quantite, ar.qte_stock, qte_commandee, ar.doc_ft, ar.doc_mo, ar.doc_fs, ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro,ar.doc_soumis,ar.doc_solu,ar.doc_form, case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew from articles ar left join article_prices ap on (ar.article = ap.article) where UPPER(article_group) in ($agrps) and ar.isactive = 1 group by ar.id, ar.article_group, ar.article order by ar.article_group, ar.article;");
   }
 
+  // public function search($text,$lang){
+  //   $sql = "select "; 
+  //   $texts = explode(" ",$text);
+  //   $sql .= " fa.titre_fr ,gr.titre_fr,ar.article ,ar.article_group, ag.titre_fr ,ag.description_fr ,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ag.c01_label ,ag.c02_label ,ag.c03_label ,ag.c04_label ,ag.c05_label ";
+  //   $sql .= " from familles fa 
+  //   left join groupes gr on (fa.famille_art=gr.famille_art)
+  //   left join articles ar on (fa.famille_art=ar.famille_art and gr.gp_art=ar.gp_art)
+  //   left join article_groups ag on (fa.famille_art=ag.famille_art and gr.gp_art=ag.gp_art and ar.article_group=ag.article) where ";
+  //   $where = "";
+  //   foreach ($texts as $t){
+  //     if (strlen($where) > 0){
+  //       $where .= " OR ";
+  //     }
+  //     if (strlen($t) >= 3){
+  //       $where .= " fa.titre_".$lang." LIKE '%".$t."%'  or gr.titre_".$lang."  LIKE '%".$t."%'  or ar.article LIKE '%".$t."%'  or ar.article_group LIKE '%".$t."%'  or ag.titre_".$lang." LIKE '%".$t."%'  or ag.description_".$lang." LIKE '%".$t."%'  or ar.c01 LIKE '%".$t."%'  or ar.c02 LIKE '%".$t."%'  or ar.c03 LIKE '%".$t."%'  or ar.c04  LIKE '%".$t."%'  or ar.c05  LIKE '%".$t."%'  or ag.c01_label  LIKE '%".$t."%'  or ag.c02_label  LIKE '%".$t."%'  or ag.c03_label  LIKE '%".$t."%'  or ag.c04_label  LIKE '%".$t."%'  or ag.c05_label LIKE '%".$t."%' ";
+  //     }
+      
+  //   }
+  //   if (strlen($where > 0)){
+
+  //   }
+    
+  // }
+
   
 }
 ?>
\ No newline at end of file
index 3e27952..be556ec 100644 (file)
@@ -136,7 +136,7 @@ class Site{
     if ($form == 'frm_newsletter'){
       
     } elseif ($form == 'frm_contact'){
-
+      
     } elseif ($form == 'frm_candidature'){
       
     }
index ea1c8b6..eccb7c5 100644 (file)
@@ -19,7 +19,8 @@
     'getOrderItemCount' => array("cl" => "Orders","fn" => "getItemCount"),
     'sendform' => array("cl" => "Site" , "fn" => "saveForm"),
     'setArticleComment' => array("cl" => "Orders", "fn" => "setArticleComment" ),
-    'setArticleQuantity' => array("cl" => "Orders", "fn" => "setArticleQuantity" )
+    'setArticleQuantity' => array("cl" => "Orders", "fn" => "setArticleQuantity" ),
+    'getTree' => array("cl"=>"ArticleGroups","fn"=>"getPublishedGroups")
   );
   
 ?>
\ No newline at end of file
index 61501df..592b2c2 100644 (file)
@@ -105727,3 +105727,655 @@ QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage
 QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
         join users us on (se.id_user=us.id) 
         where se.id = '67791c01-5598-4942-98ff-57f9b7148b7c' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select id,usertype from users where lower(useremail)=lower('ksaffran@dks.lu') and userpassword = 'a1b496fa520a1c52edd076ca7a59e56667e7ebeb5ba5ba966d2d01628e165359' and userpassword is not null and userpassword != '' and isenabled='1';
+QUERY: select id,usertype from users where lower(useremail)=lower('ksaffran@dks.lu') and userpassword = '0ecf731e2426a8a469f06e9f4a3bcbed6f8071d9d3e3ef7ef5fd9165021e27ec' and userpassword is not null and userpassword != '' and isenabled='1';
+QUERY: select uuid_v4() as sessid;
+EXEC: delete from sessions where id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and remote_addr='::1' and user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36';
+QUERY: INSERT INTO sessions (id, id_user, remoteaddr, useragent, created) VALUES ('a31d88ce-c2b2-4c0f-be21-3310b739faef','ef3b63ab-24a5-4972-86fb-8c3a4f36e75c','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36',CURRENT_TIMESTAMP);
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select cladr.client,cladr.adresse_client,concat('(',cladr.client,') ',cladr.nom_1)  as name_display from (\r
+      select client,nom_1,nom_2,adresse_client from clients where client in (\r
+      select id_client from clients_contacts cc group by id_client)) cladr\r
+      left join (select client from clients_contratcadre group by client) ccc on (cladr.client=ccc.client) where ccc.client is not null order by cladr.nom_1; 
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select client,CONCAT(client,' | ', nom_1) as dspname,adresse_client from clients where client in (select id_client from clients_contacts cc where useremail in (select useremail from users where id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c'));
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and oa.id_order is null and oa.code_document='RSS'
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and oa.id_order is null and oa.code_document='DPS'
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select us.nom,us.useremail,us.usertype, us.userlanguage, us.isenabled \r
+    from users us where us.id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c';
+QUERYBYKEY: select ar.id, UPPER(ar.article_group) as article_group, UPPER(ar.article) as article, ar.gp_art, ar.famille_art, ar.c01, ar.c02, ar.c03, ar.c04, ar.c05, ap.prix_net, ar.unite_quantite, ar.qte_stock, qte_commandee, ar.doc_ft, ar.doc_mo, ar.doc_fs, ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro,ar.doc_soumis,ar.doc_solu,ar.doc_form, case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew from articles ar left join article_prices ap on (ar.article = ap.article) where UPPER(article_group) in ('&BAB-L/A HH','&BAB-L/A R','&BAB-L/B H','&BAB-L/B-R','&BAB-L/C H','&BAB-L/C R','&BAB-S/B R','&BAB-S/C H','&BAB-S/C R','&BAB-S/D H','&BAB-S/D R','&BAB-S/E H','&BAB-S/E HH','&BAB-V/A H','&BAB-V/A R','&BAB-V/B H','&BAB-V/B R','&BAV-A','&BAV-R','&BAV-S') and ar.isactive = 1 group by ar.id, ar.article_group, ar.article order by ar.article_group, ar.article;
+QUERYARRAY: select client,CONCAT(client,' | ', nom_1) as dspname,adresse_client from clients where client in (select id_client from clients_contacts cc where useremail in (select useremail from users where id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c'));
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A1'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'a31d88ce-c2b2-4c0f-be21-3310b739faef' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select id,usertype from users where lower(useremail)=lower('ksaffran@dks.lu') and userpassword = '0ecf731e2426a8a469f06e9f4a3bcbed6f8071d9d3e3ef7ef5fd9165021e27ec' and userpassword is not null and userpassword != '' and isenabled='1';
+QUERY: select uuid_v4() as sessid;
+EXEC: delete from sessions where id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and remote_addr='::1' and user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36';
+QUERY: INSERT INTO sessions (id, id_user, remoteaddr, useragent, created) VALUES ('d177c3b5-5e28-48c9-9d12-8ba69fc97bfd','ef3b63ab-24a5-4972-86fb-8c3a4f36e75c','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36',CURRENT_TIMESTAMP);
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ar.gp_art as id,ar.famille_art,coalesce(fm.titre_fr,fm.titre_fr) as famille,ar.gp_art,coalesce(gr.titre_fr,gr.titre_fr) as groupe
+    from articles ar
+    join article_groups ag on (ar.article_group=ag.article) 
+    join groupes gr on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERYARRAY: select cladr.client,cladr.adresse_client,concat('(',cladr.client,') ',cladr.nom_1)  as name_display from (\r
+      select client,nom_1,nom_2,adresse_client from clients where client in (\r
+      select id_client from clients_contacts cc group by id_client)) cladr\r
+      left join (select client from clients_contratcadre group by client) ccc on (cladr.client=ccc.client) where ccc.client is not null order by cladr.nom_1; 
+im ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select client,CONCAT(client,' | ', nom_1) as dspname,adresse_client from clients where client in (select id_client from clients_contacts cc where useremail in (select useremail from users where id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c'));
+_order is null and oa.code_document='RSS'
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select us.nom,us.useremail,us.usertype, us.userlanguage, us.isenabled \r
+    from users us where us.id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c';
+QUERYARRAY: select client,CONCAT(client,' | ', nom_1) as dspname,adresse_client from clients where client in (select id_client from clients_contacts cc where useremail in (select useremail from users where id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c'));
+QUERYBYKEY: select ar.id, UPPER(ar.article_group) as article_group, UPPER(ar.article) as article, ar.gp_art, ar.famille_art, ar.c01, ar.c02, ar.c03, ar.c04, ar.c05, ap.prix_net, ar.unite_quantite, ar.qte_stock, qte_commandee, ar.doc_ft, ar.doc_mo, ar.doc_fs, ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro,ar.doc_soumis,ar.doc_solu,ar.doc_form, case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew from articles ar left join article_prices ap on (ar.article = ap.article) where UPPER(article_group) in ('&BAB-L/A HH','&BAB-L/A R','&BAB-L/B H','&BAB-L/B-R','&BAB-L/C H','&BAB-L/C R','&BAB-S/B R','&BAB-S/C H','&BAB-S/C R','&BAB-S/D H','&BAB-S/D R','&BAB-S/E H','&BAB-S/E HH','&BAB-V/A H','&BAB-V/A R','&BAB-V/B H','&BAB-V/B R','&BAV-A','&BAV-R','&BAV-S') and ar.isactive = 1 group by ar.id, ar.article_group, ar.article order by ar.article_group, ar.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and oa.id_order is null and oa.code_document='DPS'
+QUERYARRAY: select ag.id, UPPER(ag.article) as article, ag.gp_art, ag.famille_art,
+    coalesce(ag.titre_fr, ag.titre_fr) as titre,
+    coalesce(ag.description_fr, ag.description_fr) as description,
+    ag.c01_label, ag.c02_label, ag.c03_label, ag.c03_label, ag.c04_label, ag.c05_label, replace(ag.image, ' ', '%20') as image,
+    ag.fichetechnique, ag.brochure, ag.noticemontage, ag.videolink, ad.creationdate,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution
+  from article_groups ag  join ( select article as article_group,creationdate from ( select ag2.article,ar2.creationdate as creationdate from articles ar2 join article_groups ag2  on (ar2.article_group=ag2.article) where ag2.isactive= 1 order by ar2.creationdate DESC) ar3 group by article,creationdate order by creationdate DESC LIMIT 20 ) ad on (UPPER(ag.article) = UPPER(ad.article_group)) where ag.isactive = 1 group by ag.id order by ad.creationdate DESC, ag.article;
+QUERYARRAY: select client,CONCAT(client,' | ', nom_1) as dspname,adresse_client from clients where client in (select id_client from clients_contacts cc where useremail in (select useremail from users where id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c'));
+on (ar.gp_art=gr.gp_art )
+    join familles fm on (ar.famille_art=fm.famille_art)
+    where ar.isactive=1 and ag.isactive =1
+    group by ar.famille_art,ar.gp_art
+    order by ar.famille_art,ar.gp_art ASC;
+QUERY: select count(oa.id) as cnt,JSON_ARRAYAGG(oa.article) as articles,JSON_ARRAYAGG(ar.id) as aid from order_articles oa join articles ar on (oa.article=ar.article) where ar.isactive= 1 and oa.id_user='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c' and oa.id_order is null and oa.code_document='RSS'
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYBYKEY: select ar.id, UPPER(ar.article_group) as article_group, UPPER(ar.article) as article, ar.gp_art, ar.famille_art, ar.c01, ar.c02, ar.c03, ar.c04, ar.c05, ap.prix_net, ar.unite_quantite, ar.qte_stock, qte_commandee, ar.doc_ft, ar.doc_mo, ar.doc_fs, ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro,ar.doc_soumis,ar.doc_solu,ar.doc_form, case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew from articles ar left join article_prices ap on (ar.article = ap.article) where UPPER(article_group) in ('&BAB-L/A HH','&BAB-L/A R','&BAB-L/B H','&BAB-L/B-R','&BAB-L/C H','&BAB-L/C R','&BAB-S/B R','&BAB-S/C H','&BAB-S/C R','&BAB-S/D H','&BAB-S/D R','&BAB-S/E H','&BAB-S/E HH','&BAB-V/A H','&BAB-V/A R','&BAB-V/B H','&BAB-V/B R','&BAV-A','&BAV-R','&BAV-S') and ar.isactive = 1 group by ar.id, ar.article_group, ar.article order by ar.article_group, ar.article;
+QUERYARRAY: select client,CONCAT(client,' | ', nom_1) as dspname,adresse_client from clients where client in (select id_client from clients_contacts cc where useremail in (select useremail from users where id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c'));
+QUERY: select us.nom,us.useremail,us.usertype, us.userlanguage, us.isenabled \r
+    from users us where us.id='ef3b63ab-24a5-4972-86fb-8c3a4f36e75c';
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select ag.id,UPPER(ag.article) as article,ag.gp_art,ag.famille_art,coalesce(ag.titre_fr,ag.titre_fr) as titre,replace(ag.image,' ','%20') as image,SUBSTRING(coalesce(ag.titre_fr,ag.titre_fr), position(' | ' in coalesce(ag.titre_fr,ag.titre_fr))+3) as qubestr,ag.fichetechnique,ag.brochure,ag.noticemontage,ag.videolink,ag.imgversion,ag.fichebim ,ag.certificat,ag.formulaire,ag.soumission,ag.solution from article_groups ag left join groupes grp on (ag.gp_art=grp.gp_art) where ag.isactive=1  and ag.famille_art='A4'  group by ag.id order by ag.gp_art,grp.titre_fr,ag.titre_fr,ag.article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A400' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A400' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A401' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A401' and isactive=1) group by id,article_group,article order by article_group,article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYARRAY: select id,UPPER(article) as article,gp_art,famille_art,coalesce(titre_fr,titre_fr) as titre,coalesce(description_fr,description_fr) as description,c01_label,c02_label,c03_label,c03_label,c04_label,c05_label,replace(image,' ','%20') as image,imgversion,fichetechnique,brochure,noticemontage,videolink,fichebim ,certificat,formulaire,soumission,solution from article_groups 
+    where gp_art='A402' and famille_art='A4'  and isactive=1 order by titre,article;
+QUERY: select se.id as sid,se.id_user,se.sessiondata,us.usertype,us.userlanguage from sessions se 
+        join users us on (se.id_user=us.id) 
+        where se.id = 'd177c3b5-5e28-48c9-9d12-8ba69fc97bfd' and us.isenabled ='1'  and se.remoteaddr= '::1' and se.useragent ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36' ;
+QUERYBYKEY: select ar.id,UPPER(ar.article_group) as article_group,UPPER(ar.article) as article,ar.gp_art,ar.famille_art,ar.c01,ar.c02,ar.c03,ar.c04,ar.c05,ap.prix_net,ar.unite_quantite,qte_stock,qte_commandee,ar.doc_ft,ar.doc_mo,ar.doc_fs,case when ar.creationdate + INTERVAL 1 month > CURRENT_DATE then 1 else null end as isnew,ar.videolink,ar.doc_cert,ar.doc_bim,ar.doc_bro from articles ar left join article_prices ap on (ar.article=ap.article) where ar.isactive=1 and ar.article_group in (select article from article_groups where famille_art='A4' and gp_art='A402' and isactive=1) group by id,article_group,article order by article_group,article;
index 5e4a31e..ca95cd7 100644 (file)
           [%#show_favrem%]<button class="btn btn-danger btn-sm" onclick="shop.favoritesRemoveArticle('[%adx%]','[%gdx%]');"><span class="icon icon-trash"></span></button>[%/show_favrem%]
           [%#show_ask%]<button class="btn btn-askprice btn-sm" name="btnask_[%id%]" title="ajouter au panier pour demande de prix" onclick="shop.articletoaskprice('[%adx%]','[%gdx%]');"><span class="icon icon-euro-tag" ></span></button>[%/show_ask%]
           [%#show_shop%]<button class="btn btn-success btn-sm" onclick="shop.articletobasket('[%adx%]','[%gdx%]');"><span class="icon icon-shop" ></span></button>[%/show_shop%]
+          <div class="btn-group [%nodoc%]">
+            <button class="btn btn-outline-secondary btn-sm dropdown-toggle " style="font-size: 8pt; outline: undef;" type="button" data-bs-toggle="dropdown" aria-expanded="false"><span class="icon icon-pdf" ></span></button>
+            <ul class="dropdown-menu" style="padding-left: 3px;">
+              [%#doc_ft%]<li><a class="plink" style="color: #000;font-size: 10pt;" onclick="shop.openpdf('[%doc_ft%]');"><span class="icon icon-pdf">&nbsp;Fiche Technique</span></a>[%/doc_ft%]
+              [%#doc_mo%]<li><a class="plink" style="color: #000;font-size: 10pt;" onclick="shop.openpdf('[%doc_mo%]');"><span class="icon icon-pdf">&nbsp;Montage</span></a></li>[%/doc_mo%]
+              [%#doc_fs%]<li><button class="btn btn-outline-secondary btn-sm" onclick="shop.openpdf('[%doc_fs%]');"><span class="icon icon-pdf">&nbsp;Fiche de Sécurité</span></a></li>[%/doc_fs%]
+            </ul>
+          </div>
         </div>
         <!--<div class="" style="padding-left: 10px;">
             [%#doc_ft%]<button class="btn btn-outline-secondary btn-sm" onclick="shop.openpdf('[%doc_ft%]');"><span class="icon icon-pdf">&nbsp;FT</span></button>[%/doc_ft%]