Produits phares
TERRAINS VIABILISES - constructible en zone     ".....
  • Mémoire utilisée par PHP : 10,88 Mo
  • Pic mémoire allouée par PHP : 12,08 Mo
  • Temps d'execution du script : 0.986 s
  • Lang :
  • Path : phare
  • Route : mosaicEtiquette
  • $okt->page->module : mosaic
  • $okt->page->action :
ID Query Time
1
SET NAMES utf8mb4
0.00013
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.00132
3
UPDATE oktopusV6_core_users_online SET logged=1627313263,
prev_url='https://www.chambord-developpement.com/phare'
WHERE ident='3.236.110.106'
0.00067
4
SELECT COUNT(DISTINCT p.id_produit)  FROM
(oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl)
						  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 
						  LEFT JOIN oktopusV6_mod_mosaic_rubrique r ON
pr.id_rubrique = r.id_rubrique 
						  WHERE p.actif = 1 AND p.id_produit = pl.id_produit
AND pl.language = 'fr'  AND p.phare = '1' ORDER BY
p.date_creation DESC
0.00165
5
SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, r.type_affichage,
                                 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 FROM
(oktopusV6_mod_mosaic_produit p,
oktopusV6_mod_mosaic_produit_locales pl)
						  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 
						  LEFT JOIN oktopusV6_mod_mosaic_rubrique r ON
pr.id_rubrique = r.id_rubrique 
						  WHERE p.actif = 1 AND p.id_produit = pl.id_produit
AND pl.language = 'fr'  AND p.phare = '1' ORDER BY
p.date_creation DESC LIMIT 0,20
0.00182
6
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00059
7
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV6_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '13' ORDER BY position 
0.00090
8
SELECT * FROM oktopusV6_mod_mosaic_declinaison WHERE 1 ORDER
BY nom
0.00048
9
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison'
0.00029
10
 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 = '13' ORDER BY
pd.id_produit_declinaison 
0.00056
11
 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 = '41' ORDER BY
pdc.id_produit_declinaison_champ 
0.00199
12
SELECT id, language, valeur FROM
oktopusV6_mod_mosaic_locales
					  WHERE `table` = 'declinaison_champ'
0.00133
13
 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 = '46' ORDER BY
pdc.id_produit_declinaison_champ 
0.00083
14
SELECT * FROM oktopusV6_mod_mosaic_produit_locales WHERE
id_produit = '13'
0.00045
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='9'
0.00092
16
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00036
17
SELECT * FROM oktopusV6_mod_mosaic_produit_locales WHERE
id_produit = '13'
0.00017
18

            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='9'
0.00014
19
SELECT * FROM oktopusV6_mod_mosaic_rubrique_locales WHERE
id_rubrique = '9'
0.00012
20
 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('/phare', 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('/phare', tl.rubrique_slug) > 0 AND t.actif = 1
                   ) = 0
                
                                           AND
                                          
FIND_IN_SET('/phare', 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('/phare', tl.rubrique_slug) > 0 AND t.actif = 1
                   ) = 0
                 
                                   END AND actif = '1' ORDER
BY nom 
0.00120
21
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('/phare',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00072
22
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('/phare',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00040
# type fichier ligne classe fonction message