SUEVRES
  • Mémoire utilisée par PHP : 11,10 Mo
  • Pic mémoire allouée par PHP : 12,30 Mo
  • Temps d'execution du script : 0.645 s
  • Lang :
  • Path : suevres-7
  • Route : mosaicRubrique
  • $okt->page->module : mosaic
  • $okt->page->action :
ID Query Time
1
SET NAMES utf8mb4
0.00039
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.00150
3
UPDATE oktopusV6_core_users_online SET logged=1627318810,
prev_url='https://www.chambord-developpement.com/suevres-7'
WHERE ident='3.236.110.106'
0.00180
4
SELECT COUNT(id_rubrique) FROM oktopusV6_mod_mosaic_rubrique
WHERE id_rubrique = '7' 
0.00111
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.00079
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.00073
7
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00079
8
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00070
9
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00049
10
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00068
11
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '15'
0.00067
12
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '15'
0.00078
13
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00056
14
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '21'
0.00085
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='7'
0.00079
16
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00062
17
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'rubrique'
0.00066
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.00530
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 = '7' AND p.actif = '1' AND r.actif = '1' 
0.00090
20
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'rubrique'
0.00045
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.00312
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 = '7' AND p.actif = '1' AND r.actif = '1' 
0.00068
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 = '7' AND p.actif = '1' AND r.actif = '1' 
ORDER BY pr.position ASC  LIMIT 0,20
0.00144
24
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00070
25
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV6_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '29' ORDER BY position 
0.00104
26
SELECT * FROM oktopusV6_mod_mosaic_declinaison WHERE 1 ORDER
BY nom
0.00322
27
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison'
0.00068
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 = '29' ORDER BY
pd.id_produit_declinaison 
0.00094
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 = '199' ORDER
BY pdc.id_produit_declinaison_champ 
0.00102
30
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison_champ'
0.00098
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 = '201' ORDER
BY pdc.id_produit_declinaison_champ 
0.00070
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 = '204' ORDER
BY pdc.id_produit_declinaison_champ 
0.00063
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 = '206' ORDER
BY pdc.id_produit_declinaison_champ 
0.00055
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 = '208' ORDER
BY pdc.id_produit_declinaison_champ 
0.00052
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 = '209' ORDER
BY pdc.id_produit_declinaison_champ 
0.00054
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 = '210' ORDER
BY pdc.id_produit_declinaison_champ 
0.00059
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 = '211' ORDER
BY pdc.id_produit_declinaison_champ 
0.00058
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 = '212' ORDER
BY pdc.id_produit_declinaison_champ 
0.00054
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 = '213' ORDER
BY pdc.id_produit_declinaison_champ 
0.00054
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 = '214' ORDER
BY pdc.id_produit_declinaison_champ 
0.00054
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 = '215' ORDER
BY pdc.id_produit_declinaison_champ 
0.00057
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 = '220' ORDER
BY pdc.id_produit_declinaison_champ 
0.00059
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 = '223' ORDER
BY pdc.id_produit_declinaison_champ 
0.00056
44
SELECT * FROM oktopusV6_mod_mosaic_produit_locales WHERE
id_produit = '29'
0.00064
45

            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='7'
0.00046
46
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00042
47
SELECT * FROM oktopusV6_mod_mosaic_produit_locales WHERE
id_produit = '29'
0.00052
48

            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='7'
0.00056
49
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00046
50

            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.00079
51
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
0.00044
52
SELECT * FROM oktopusV6_mod_mosaic_declinaison WHERE 1 AND
actif = '1' ORDER BY nom
0.00066
53
 SELECT dc.* 
                                FROM
oktopusV6_mod_mosaic_declinaison_champ AS dc 
                                WHERE 1 AND dc.actif = '1'
ORDER BY dc.nom
0.00128
54
 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('/suevres-7', 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('/suevres-7', tl.rubrique_slug) > 0 AND t.actif
= 1
                   ) = 0
                
                                           AND
                                          
FIND_IN_SET('/suevres-7', 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('/suevres-7', tl.rubrique_slug) > 0 AND t.actif
= 1
                   ) = 0
                 
                                   END AND actif = '1' ORDER
BY nom 
0.00312
55
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('/suevres-7',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00088
56
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('/suevres-7',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00090
# type fichier ligne classe fonction message