CORMERAY
  • Mémoire utilisée par PHP : 11,13 Mo
  • Pic mémoire allouée par PHP : 12,33 Mo
  • Temps d'execution du script : 1.527 s
  • Lang :
  • Path : cormeray-21
  • Route : mosaicRubrique
  • $okt->page->module : mosaic
  • $okt->page->action :
ID Query Time
1
SET NAMES utf8mb4
0.00017
2
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV6_core_users AS u INNER JOIN
oktopusV6_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV6_core_users_online AS o ON
o.ident='3.236.110.106' WHERE u.id=1
0.00151
3
UPDATE oktopusV6_core_users_online SET logged=1627313858,
prev_url='https://www.chambord-developpement.com/cormeray-21'
WHERE ident='3.236.110.106'
0.00024
4
SELECT COUNT(id_rubrique) FROM oktopusV6_mod_mosaic_rubrique
WHERE id_rubrique = '21' 
0.00080
5
 SELECT r.*, rl.* FROM oktopusV6_mod_mosaic_rubrique r
                        JOIN
oktopusV6_mod_mosaic_rubrique_locales rl ON rl.id_rubrique =
r.id_rubrique AND rl.language = 'fr'
                        WHERE r.id_parent = '1' AND r.actif
= '1' ORDER BY r.position 
0.00039
6
 SELECT r.*, rl.* FROM oktopusV6_mod_mosaic_rubrique r
                        JOIN
oktopusV6_mod_mosaic_rubrique_locales rl ON rl.id_rubrique =
r.id_rubrique AND rl.language = 'fr'
                        WHERE r.id_parent = '2' AND r.actif
= '1' ORDER BY r.position 
0.00030
7
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00020
8
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00021
9
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00016
10
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00016
11
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '15'
0.00017
12
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '15'
0.00014
13
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00015
14
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00013
15

            SELECT r.*, rl.* FROM
oktopusV6_mod_mosaic_rubrique r
            JOIN oktopusV6_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='21'
0.00045
16
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00066
17
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'rubrique'
0.00061
18
 SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, 
                            IF(1, promo, NOW() BETWEEN
debut_promo AND fin_promo) AS promo,
                            IF(1, nouveaute, NOW() BETWEEN
debut_nouveaute AND fin_nouveaute) AS nouveaute,
                            IF(1, phare, NOW() BETWEEN
debut_phare AND fin_phare) AS phare,
                            IF(1, solde, NOW() BETWEEN
debut_solde AND fin_solde) AS solde,
							DATE_FORMAT(p.date_creation, '%d/%m/%Y %H:%i:%s') as
date_creation_fr,
							DATE_FORMAT(p.date_modification, '%d/%m/%Y %H:%i:%s')
as date_modification_fr 
                           FROM oktopusV6_mod_mosaic_produit
p
                           JOIN
oktopusV6_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr' LEFT JOIN
oktopusV6_mod_mosaic_marque m ON p.id_marque = m.id_marque
                           LEFT JOIN
oktopusV6_mod_mosaic_modele mo ON p.id_modele = mo.id_modele
                           LEFT JOIN
oktopusV6_mod_mosaic_produit_rubrique pr ON pr.id_produit =
p.id_produit
                           WHERE 1 ORDER BY nom
0.00679
19
SELECT COUNT(p.id_produit) FROM
oktopusV6_mod_mosaic_rubrique r,
oktopusV6_mod_mosaic_rubrique_locales rl,
oktopusV6_mod_mosaic_produit_rubrique pr,
oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl
                        WHERE r.id_rubrique = pr.id_rubrique
                        AND r.id_rubrique = rl.id_rubrique
                        AND rl.language = 'fr'
						AND p.id_produit = pr.id_produit
                        AND p.id_produit = pl.id_produit
                        AND pl.language = 'fr'  AND
pr.id_rubrique = '21' AND p.actif = '1' AND r.actif = '1' 
0.00107
20
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'rubrique'
0.00011
21
 SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, 
                            IF(1, promo, NOW() BETWEEN
debut_promo AND fin_promo) AS promo,
                            IF(1, nouveaute, NOW() BETWEEN
debut_nouveaute AND fin_nouveaute) AS nouveaute,
                            IF(1, phare, NOW() BETWEEN
debut_phare AND fin_phare) AS phare,
                            IF(1, solde, NOW() BETWEEN
debut_solde AND fin_solde) AS solde,
							DATE_FORMAT(p.date_creation, '%d/%m/%Y %H:%i:%s') as
date_creation_fr,
							DATE_FORMAT(p.date_modification, '%d/%m/%Y %H:%i:%s')
as date_modification_fr 
                           FROM oktopusV6_mod_mosaic_produit
p
                           JOIN
oktopusV6_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr' LEFT JOIN
oktopusV6_mod_mosaic_marque m ON p.id_marque = m.id_marque
                           LEFT JOIN
oktopusV6_mod_mosaic_modele mo ON p.id_modele = mo.id_modele
                           LEFT JOIN
oktopusV6_mod_mosaic_produit_rubrique pr ON pr.id_produit =
p.id_produit
                           WHERE 1 ORDER BY nom
0.00319
22
SELECT COUNT(p.id_produit) FROM
oktopusV6_mod_mosaic_rubrique r,
oktopusV6_mod_mosaic_rubrique_locales rl,
oktopusV6_mod_mosaic_produit_rubrique pr,
oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl
                        WHERE r.id_rubrique = pr.id_rubrique
                        AND r.id_rubrique = rl.id_rubrique
                        AND rl.language = 'fr'
						AND p.id_produit = pr.id_produit
                        AND p.id_produit = pl.id_produit
                        AND pl.language = 'fr'  AND
pr.id_rubrique = '21' AND p.actif = '1' AND r.actif = '1' 
0.00013
23
SELECT pr.*, rl.slug  FROM oktopusV6_mod_mosaic_rubrique r,
oktopusV6_mod_mosaic_rubrique_locales rl,
oktopusV6_mod_mosaic_produit_rubrique pr,
oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl
                        WHERE r.id_rubrique = pr.id_rubrique
                        AND r.id_rubrique = rl.id_rubrique
                        AND rl.language = 'fr'
						AND p.id_produit = pr.id_produit
                        AND p.id_produit = pl.id_produit
                        AND pl.language = 'fr'  AND
pr.id_rubrique = '21' AND p.actif = '1' AND r.actif = '1' 
ORDER BY pr.position ASC  LIMIT 0,20
0.00084
24
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00015
25
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV6_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '42' ORDER BY position 
0.00071
26
SELECT * FROM oktopusV6_mod_mosaic_declinaison WHERE 1 ORDER
BY nom
0.00155
27
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison'
0.00018
28
 SELECT pd.*, p.id_tva FROM
oktopusV6_mod_mosaic_produit_declinaison AS pd
                        LEFT JOIN
oktopusV6_mod_mosaic_produit as p ON p.id_produit =
pd.id_produit
						WHERE 1 AND pd.id_produit = '42' ORDER BY
pd.id_produit_declinaison 
0.00072
29
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '313' ORDER
BY pdc.id_produit_declinaison_champ 
0.00095
30
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison_champ'
0.00021
31
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '314' ORDER
BY pdc.id_produit_declinaison_champ 
0.00063
32
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '315' ORDER
BY pdc.id_produit_declinaison_champ 
0.00070
33
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '316' ORDER
BY pdc.id_produit_declinaison_champ 
0.00098
34
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '317' ORDER
BY pdc.id_produit_declinaison_champ 
0.00027
35
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '318' ORDER
BY pdc.id_produit_declinaison_champ 
0.00029
36
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '319' ORDER
BY pdc.id_produit_declinaison_champ 
0.00026
37
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '320' ORDER
BY pdc.id_produit_declinaison_champ 
0.00050
38
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '321' ORDER
BY pdc.id_produit_declinaison_champ 
0.00056
39
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '322' ORDER
BY pdc.id_produit_declinaison_champ 
0.00035
40
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '323' ORDER
BY pdc.id_produit_declinaison_champ 
0.00040
41
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '350' ORDER
BY pdc.id_produit_declinaison_champ 
0.00027
42
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '351' ORDER
BY pdc.id_produit_declinaison_champ 
0.00020
43
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '355' ORDER
BY pdc.id_produit_declinaison_champ 
0.00022
44
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '356' ORDER
BY pdc.id_produit_declinaison_champ 
0.00031
45
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '357' ORDER
BY pdc.id_produit_declinaison_champ 
0.00039
46
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '358' ORDER
BY pdc.id_produit_declinaison_champ 
0.00093
47
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '359' ORDER
BY pdc.id_produit_declinaison_champ 
0.00063
48
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '360' ORDER
BY pdc.id_produit_declinaison_champ 
0.00070
49
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '361' ORDER
BY pdc.id_produit_declinaison_champ 
0.00080
50
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '362' ORDER
BY pdc.id_produit_declinaison_champ 
0.00028
51
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '363' ORDER
BY pdc.id_produit_declinaison_champ 
0.00217
52
 SELECT pdc.*, dc.id_declinaison
						FROM oktopusV6_mod_mosaic_produit_declinaison_champ AS
pdc 
						LEFT JOIN oktopusV6_mod_mosaic_declinaison_champ AS dc
ON dc.id_declinaison_champ= pdc.id_declinaison_champ
						LEFT JOIN oktopusV6_mod_mosaic_declinaison AS d ON
d.id_declinaison = dc.id_declinaison
						WHERE 1 AND pdc.id_produit_declinaison = '366' ORDER
BY pdc.id_produit_declinaison_champ 
0.00108
53
SELECT * FROM oktopusV6_mod_mosaic_produit_locales WHERE
id_produit = '42'
0.00059
54

            SELECT r.*, rl.* FROM
oktopusV6_mod_mosaic_rubrique r
            JOIN oktopusV6_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='21'
0.00016
55
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00015
56
SELECT * FROM oktopusV6_mod_mosaic_produit_locales WHERE
id_produit = '42'
0.00017
57

            SELECT r.*, rl.* FROM
oktopusV6_mod_mosaic_rubrique r
            JOIN oktopusV6_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='21'
0.00013
58
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00011
59

            SELECT r.*, rl.* FROM
oktopusV6_mod_mosaic_rubrique r
            JOIN oktopusV6_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='2'
0.00036
60
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00017
61
SELECT * FROM oktopusV6_mod_mosaic_declinaison WHERE 1 AND
actif = '1' ORDER BY nom
0.00054
62
 SELECT dc.* 
                                FROM
oktopusV6_mod_mosaic_declinaison_champ AS dc 
                                WHERE 1 AND dc.actif = '1'
ORDER BY dc.nom
0.00068
63
 SELECT t.*, tl.rubrique_slug,  
                            DATE_FORMAT(t.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                            DATE_FORMAT(t.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                       FROM oktopusV6_mod_slideshow_type t
                       LEFT JOIN
oktopusV6_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                       WHERE 1 AND CASE 
                                       WHEN t.choix_rubrique
= 1 THEN
                                          
FIND_IN_SET('/cormeray-21', tl.rubrique_slug) > 0
                                       WHEN t.choix_rubrique
= 2 THEN
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV6_mod_slideshow_type t
                      LEFT JOIN
oktopusV6_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                      WHERE t.choix_rubrique = 1 AND
FIND_IN_SET('/cormeray-21', tl.rubrique_slug) > 0 AND
t.actif = 1
                   ) = 0
                
                                           AND
                                          
FIND_IN_SET('/cormeray-21', tl.rubrique_slug) = 0
                                       ELSE     
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV6_mod_slideshow_type t
                      LEFT JOIN
oktopusV6_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                      WHERE t.choix_rubrique = 1 AND
FIND_IN_SET('/cormeray-21', tl.rubrique_slug) > 0 AND
t.actif = 1
                   ) = 0
                 
                                   END AND actif = '1' ORDER
BY nom 
0.00168
64
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV6_mod_home_popup p
                      LEFT JOIN
oktopusV6_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR FIND_IN_SET('/cormeray-21',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00078
65
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV6_mod_home_popup p
                      LEFT JOIN
oktopusV6_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR FIND_IN_SET('/cormeray-21',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00105
# type fichier ligne classe fonction message