Notice: Undefined variable: initialLoad in /var/www/clients/client1/web1/web/references.php on line 84
SELECT ref_references.id, title_fr as title, content_fr as content, clients.name_fr as client, realisations.name_fr as realisation, sectors.name_fr as sector FROM ref_references JOIN ref_submenu as clients ON ref_references.client_id = clients.id AND clients.menu_id = 1 JOIN ref_submenu as realisations ON ref_references.realisation_id = realisations.id AND realisations.menu_id = 2 JOIN ref_submenu as sectors ON ref_references.sector_id = sectors.id AND sectors.menu_id = 3 WHERE ref_references.id > 0 AND ref_references.realisation_id = '1' ORDER BY ref_references.`order`, ref_references.id