1 |
SET NAMES utf8mb4
|
0.00025 |
2 |
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV1_core_users AS u INNER JOIN
oktopusV1_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV1_core_users_online AS o ON
o.ident='cfd73391b2d3f97f28064136ed5362947616cd7549af2c2e891409a39ee01d8b'
WHERE u.id=1
|
0.00079 |
3 |
REPLACE INTO oktopusV1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'cfd73391b2d3f97f28064136ed5362947616cd7549af2c2e891409a39ee01d8b',
1734905569, '0bdc0d44cd043105114ff17a6091ba23d3efb488',
'https://www.olives-chezmatthieu.com/olives-7/olives-ail-basilic-63')
|
0.00051 |
4 |
SELECT r.*, rl.* FROM
oktopusV1_mod_mosaic_rubrique r
JOIN oktopusV1_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='7'
|
0.00067 |
5 |
SELECT m.nom AS nomMarque, m.image AS imageMarque, mo.nom AS
nomModele, p.*, pl.*,
DATE_FORMAT(p.debut_promo, '%d/%m/%Y') as
debut_promo_fr,
DATE_FORMAT(p.fin_promo, '%d/%m/%Y') as fin_promo_fr,
DATE_FORMAT(p.debut_nouveaute, '%d/%m/%Y') as
debut_nouveaute_fr,
DATE_FORMAT(p.fin_nouveaute, '%d/%m/%Y') as
fin_nouveaute_fr,
DATE_FORMAT(p.debut_phare, '%d/%m/%Y') as
debut_phare_fr,
DATE_FORMAT(p.fin_phare, '%d/%m/%Y') as fin_phare_fr,
DATE_FORMAT(p.debut_solde, '%d/%m/%Y') as
debut_solde_fr,
DATE_FORMAT(p.fin_solde, '%d/%m/%Y') as fin_solde_fr,
DATE_FORMAT(p.debut_commande, '%d/%m/%Y') as
debut_commande_fr,
DATE_FORMAT(p.fin_commande, '%d/%m/%Y') as
fin_commande_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,
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 oktopusV1_mod_mosaic_produit p
JOIN
oktopusV1_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr'
LEFT JOIN oktopusV1_mod_mosaic_marque m ON p.id_marque
= m.id_marque
LEFT JOIN oktopusV1_mod_mosaic_modele mo ON p.id_modele
= mo.id_modele
WHERE p.id_produit = '63'
|
0.00090 |
6 |
SELECT pp.*, p.id_tva,
DATE_FORMAT(pp.debut, '%d/%m/%Y') as
debut_fr,
DATE_FORMAT(pp.fin, '%d/%m/%Y') as fin_fr
FROM
oktopusV1_mod_mosaic_produit_prix_specifique pp
JOIN oktopusV1_mod_mosaic_produit p
ON p.id_produit = pp.id_produit
WHERE 1 AND pp.id_produit = '63' AND
pp.id_groupe IN (0,'3') AND pp.quantite_min <= '1' AND
(pp.debut IS NULL OR (CURDATE() BETWEEN pp.debut AND
pp.fin)) ORDER BY pp.id_groupe, pp.debut, pp.quantite_min
|
0.00070 |
7 |
SELECT m.*,
ml.language, ml.title,
ml.title_tag, ml.title_seo, ml.slug, ml.meta_description,
ml.meta_keywords, ml.content FROM oktopusV1_mod_map AS m
LEFT JOIN oktopusV1_mod_map_locales AS ml ON m.id=ml.id_map
AND ml.language='fr' WHERE 1 AND ml.language='fr' AND
m.active=1 ORDER BY m.created_at DESC
|
0.00041 |
8 |
SELECT r.*, rl.*, COUNT(r.id_rubrique) AS num_posts FROM
oktopusV1_mod_mosaic_rubrique AS r LEFT JOIN
oktopusV1_mod_mosaic_rubrique_locales AS rl ON r.id_rubrique
= rl.id_rubrique WHERE 1 AND rl.language='fr' AND r.actif =
1 GROUP BY r.id_rubrique ORDER BY nleft asc
|
0.00024 |
9 |
SELECT DISTINCT snr.*, snrl.*,
DATE_FORMAT(snr.created_at,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
DATE_FORMAT(snr.updated_at,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
FROM
oktopusV1_mod_social_network_reseau snr
JOIN
oktopusV1_mod_social_network_reseau_locales snrl ON
snrl.id_reseau = snr.id_reseau AND snrl.language = 'fr'
WHERE 1 AND active = '1' ORDER BY snrl.libelle
|
0.00042 |
10 |
SELECT p.id, p.original_id, p.user_id, p.category_id,
p.active, p.created_at, p.updated_at, p.images, p.files,
p.tpl, p.position, pl.language, pl.title, pl.subtitle,
pl.title_tag, pl.title_seo, pl.slug, pl.content,
pl.meta_description, pl.meta_keywords, pl.words, rl.title AS
category_title, rl.slug AS category_slug, rl.title_tag AS
category_title_tag, r.items_tpl AS category_items_tpl FROM
oktopusV1_mod_pages AS p INNER JOIN
oktopusV1_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='fr' LEFT OUTER JOIN
oktopusV1_mod_pages_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV1_mod_pages_categories_locales AS rl
ON r.id=rl.category_id AND rl.language='fr' WHERE 1 AND
pl.language='fr' AND p.active=1 ORDER BY p.created_at DESC
|
0.00051 |
11 |
SELECT * FROM oktopusV1_mod_mosaic_produit_locales WHERE
id_produit = '63'
|
0.00054 |
12 |
SELECT r.*, rl.* FROM
oktopusV1_mod_mosaic_rubrique r
JOIN oktopusV1_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='7'
|
0.00023 |
13 |
SELECT * FROM oktopusV1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
|
0.00029 |
14 |
SELECT COUNT(id_produit) FROM oktopusV1_mod_mosaic_produit
WHERE id_produit = '63'
|
0.00029 |
15 |
SELECT id, language, valeur FROM
oktopusV1_mod_mosaic_locales
WHERE `table` = 'produit_photo'
|
0.00029 |
16 |
SELECT p.id_produit_photo AS id, p.* FROM
oktopusV1_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '63' ORDER BY position
|
0.00040 |
17 |
SELECT * FROM oktopusV1_mod_mosaic_declinaison WHERE 1 ORDER
BY position
|
0.00027 |
18 |
SELECT id, language, valeur FROM
oktopusV1_mod_mosaic_locales
WHERE `table` = 'declinaison'
|
0.00017 |
19 |
SELECT pd.*, p.id_tva,
IF(1, promo, NOW() BETWEEN
p.debut_promo AND p.fin_promo) AS promo,
IF(1, solde, NOW() BETWEEN
p.debut_solde AND p.fin_solde) AS solde
FROM
oktopusV1_mod_mosaic_produit_declinaison AS pd
LEFT JOIN
oktopusV1_mod_mosaic_produit as p ON p.id_produit =
pd.id_produit
WHERE 1 AND pd.id_produit = '63' AND pd.actif = '1'
ORDER BY pd.id_produit_declinaison
|
0.00057 |
20 |
SELECT pp.*, p.id_tva,
DATE_FORMAT(pp.debut, '%d/%m/%Y') as
debut_fr,
DATE_FORMAT(pp.fin, '%d/%m/%Y') as fin_fr
FROM
oktopusV1_mod_mosaic_produit_prix_specifique pp
JOIN oktopusV1_mod_mosaic_produit p
ON p.id_produit = pp.id_produit
WHERE 1 AND pp.id_produit = '63' AND
pp.id_groupe IN (0,'3') AND (pp.debut IS NULL OR (CURDATE()
BETWEEN pp.debut AND pp.fin)) ORDER BY pp.id_groupe,
pp.debut, pp.quantite_min
|
0.00051 |
21 |
SELECT * FROM oktopusV1_mod_mosaic_produit_locales WHERE
id_produit = '63'
|
0.00020 |
22 |
SELECT r.*, rl.* FROM
oktopusV1_mod_mosaic_rubrique r
JOIN oktopusV1_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='7'
|
0.00018 |
23 |
SELECT * FROM oktopusV1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
|
0.00016 |
24 |
SELECT r.*, rl.*, COUNT(r.id_rubrique) AS num_posts FROM
oktopusV1_mod_mosaic_rubrique AS r LEFT JOIN
oktopusV1_mod_mosaic_rubrique_locales AS rl ON r.id_rubrique
= rl.id_rubrique WHERE 1 AND rl.language='fr' AND r.actif =
1 GROUP BY r.id_rubrique ORDER BY nleft asc
|
0.00038 |
25 |
SELECT * FROM oktopusV1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
|
0.00028 |
26 |
SELECT * FROM oktopusV1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '5'
|
0.00020 |
27 |
SELECT * FROM oktopusV1_mod_mosaic_produit_locales WHERE
id_produit = '63'
|
0.00023 |
28 |
SELECT r.*, rl.* FROM
oktopusV1_mod_mosaic_rubrique r
JOIN oktopusV1_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='7'
|
0.00020 |
29 |
SELECT * FROM oktopusV1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '7'
|
0.00014 |
30 |
SELECT DISTINCT r.*, rl.*
FROM oktopusV1_mod_mosaic_reassurance
r
JOIN
oktopusV1_mod_mosaic_reassurance_locales rl ON
rl.id_reassurance = r.id_reassurance AND rl.language = 'fr'
WHERE 1 AND r.placement LIKE '%F%' ORDER BY r.position
|
0.00068 |
31 |
SELECT ca.*, p.nom as nomPays, p.id_pays, p.id_zone, p.code,
p.code_num
FROM oktopusV1_mod_address_book ca,
oktopusV1_mod_geographie_pays p
WHERE ca.pays_id = p.id_pays AND
ca.facturation=1 AND ca.user_id='1'
|
0.00043 |
32 |
SELECT u.*, g.* FROM oktopusV1_core_users AS u LEFT JOIN
oktopusV1_core_users_groups AS g ON g.group_id=u.group_id
WHERE 1 AND u.id=1 ORDER BY u.username DESC
|
0.00018 |
33 |
SELECT *, DATE_FORMAT(livraison_date, '%d/%m/%Y') AS
livraison_date_fr
FROM oktopusV1_mod_mosaic_panier WHERE
id_client = 'tmp_67688ee22081a'
|
0.00068 |
34 |
SELECT p.date, pd.*, po.id_tva FROM
oktopusV1_mod_mosaic_panier AS p
LEFT JOIN
oktopusV1_mod_mosaic_panier_detail AS pd ON p.id_panier =
pd.id_panier
LEFT JOIN oktopusV1_mod_mosaic_produit
AS po ON pd.id_produit = po.id_produit WHERE p.id_client =
''
|
0.00030 |
35 |
SELECT * FROM oktopusV1_mod_mosaic_transporteur WHERE
id_transporteur='6'
|
0.00034 |
36 |
SELECT r.*, rl.*
FROM
oktopusV1_mod_mosaic_regle_produit r
JOIN
oktopusV1_mod_mosaic_regle_produit_locales rl ON
rl.id_regle_produit = r.id_regle_produit AND rl.language =
'fr'
WHERE 1 AND mode IN ('') ORDER BY
r.priorite, r.id_regle_produit
|
0.00024 |
37 |
SELECT * FROM oktopusV1_mod_mosaic_transporteur WHERE 1 AND
actif = '1' ORDER BY position
|
0.00034 |
38 |
SELECT f.montant, z.franco_port
FROM
oktopusV1_mod_mosaic_transporteur_frais_port f
LEFT JOIN oktopusV1_mod_geographie_zone z ON
z.id_zone = f.id_zone JOIN
oktopusV1_mod_mosaic_transporteur_tranche t ON t.id_tranche
= f.id_tranche WHERE f.id_zone = 6 AND f.id_transporteur =
6 AND t.actif = 1 AND '0' BETWEEN t.tranche_min AND
t.tranche_max
|
0.00031 |
39 |
SELECT DISTINCT r.*, rl.*
FROM oktopusV1_mod_mosaic_reassurance
r
JOIN
oktopusV1_mod_mosaic_reassurance_locales rl ON
rl.id_reassurance = r.id_reassurance AND rl.language = 'fr'
WHERE 1 AND (r.placement LIKE '%H%' ) ORDER BY r.position
|
0.00053 |
40 |
SELECT t.*,
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 oktopusV1_mod_slideshow_type t
WHERE 1 AND CASE
WHEN t.choix_rubrique
= 1 THEN
t.rubrique LIKE
'%\'/olives-7/olives-ail-basilic-63\'%'
WHEN t.choix_rubrique
= 2 THEN
( SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/olives-7/olives-ail-basilic-63\'%' AND
t.actif = 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/olives-7/olives-ail-basilic-63\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/olives-7/olives-ail-basilic-63\'%' AND
t.actif = 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00130 |
41 |
SELECT t.*,
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 oktopusV1_mod_slideshow_type t
WHERE t.id_type = '2'
|
0.00043 |
42 |
SELECT p.*, pl.valeur AS legende, pl.lien,
pl.contenu_titre, pl.contenu_ss_titre,
pl.contenu_description, pl.primaire_texte,
pl.primaire_texte_mobile, pl.secondaire_texte,
pl.secondaire_texte_mobile, pl.primaire_slug,
pl.secondaire_slug, pl.lien2,
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 oktopusV1_mod_slideshow p
LEFT JOIN
oktopusV1_mod_slideshow_locales pl ON pl.id_slideshow =
p.id_slideshow AND pl.language = 'fr'
WHERE 1 AND p.actif = '1' AND id_type
= '2' ORDER BY position
|
0.00050 |
43 |
SELECT DISTINCT r.*, rl.*
FROM oktopusV1_mod_mosaic_reassurance
r
JOIN
oktopusV1_mod_mosaic_reassurance_locales rl ON
rl.id_reassurance = r.id_reassurance AND rl.language = 'fr'
WHERE 1 AND (r.placement LIKE '%B%' ) ORDER BY r.position
|
0.00028 |
44 |
SELECT DISTINCT sn.*, snl.*
FROM oktopusV1_mod_social_network sn
JOIN
oktopusV1_mod_social_network_locales snl ON
snl.id_social_network = sn.id_social_network AND
snl.language = 'fr' WHERE 1 AND sn.url != '' AND sn.type !=
'' AND type LIKE '%F%' ORDER BY sn.position
|
0.00034 |
45 |
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 oktopusV1_mod_home_popup p
LEFT JOIN
oktopusV1_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 p.rubrique LIKE
'%\'/olives-7/olives-ail-basilic-63\'%') ORDER BY p.rubrique
DESC
|
0.00087 |
46 |
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 oktopusV1_mod_home_popup p
LEFT JOIN
oktopusV1_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 p.rubrique LIKE
'%\'/olives-7/olives-ail-basilic-63\'%') ORDER BY p.rubrique
DESC
|
0.00117 |
47 |
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 oktopusV1_mod_home_popup p
LEFT JOIN
oktopusV1_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 p.rubrique LIKE
'%\'/olives-7/olives-ail-basilic-63\'%') ORDER BY p.rubrique
DESC
|
0.00067 |
48 |
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 oktopusV1_mod_home_popup p
LEFT JOIN
oktopusV1_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 p.rubrique LIKE
'%\'/olives-7/olives-ail-basilic-63\'%') ORDER BY p.rubrique
DESC
|
0.00090 |