1 |
SET NAMES utf8mb4
|
0.00029 |
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='8dcac6bae2cbbaba246629f346c93267076ece33cd17b79a2100a9eb1fa9d2af'
WHERE u.id=1
|
0.00088 |
3 |
REPLACE INTO oktopusV1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'8dcac6bae2cbbaba246629f346c93267076ece33cd17b79a2100a9eb1fa9d2af',
1734889715, '566408a61ac0d38245f096c6af42981976196d60',
'https://www.olives-chezmatthieu.com/panier')
|
0.00030 |
4 |
SELECT *, DATE_FORMAT(livraison_date, '%d/%m/%Y') AS
livraison_date_fr
FROM oktopusV1_mod_mosaic_panier WHERE
id_client = 'tmp_676850f3baf73'
|
0.00059 |
5 |
SELECT * FROM oktopusV1_mod_mosaic_declinaison WHERE 1 ORDER
BY position
|
0.00024 |
6 |
SELECT id, language, valeur FROM
oktopusV1_mod_mosaic_locales
WHERE `table` = 'declinaison'
|
0.00025 |
7 |
SELECT MIN(total_minimum) FROM
oktopusV1_mod_mosaic_transporteur WHERE actif = 1
|
0.00069 |
8 |
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.00034 |
9 |
SELECT r.*, rl.*,
DATE_FORMAT(r.date_debut_validite,
'%d/%m/%Y') AS date_debut_validite_fr,
DATE_FORMAT(r.date_fin_validite,
'%d/%m/%Y') AS date_fin_validite_fr
FROM
oktopusV1_mod_mosaic_regle_panier r
JOIN
oktopusV1_mod_mosaic_regle_panier_locales rl ON
rl.id_regle_panier = r.id_regle_panier AND rl.language =
'fr'
WHERE 1 AND actif = '1' AND
IF(date_debut_validite = '0000-00-00', 1 , CURDATE() BETWEEN
date_debut_validite AND date_fin_validite) AND
IF(type_client = 0, 1, type_client = '4') AND IF(id_client
= 0, 1, id_client = 'tmp_676850f3bc6f6') AND
IF(montant_minimum = 0, 1, montant_minimum <= '0') AND
IF(type_reduction <> '€', 1, valeur <= '0') AND
r.id_regle_panier IN(SELECT id_regle_panier FROM
oktopusV1_mod_mosaic_panier_regle WHERE id_panier = '')
ORDER BY priorite, code
|
0.01485 |
10 |
SELECT r.*, rl.*,
DATE_FORMAT(r.date_debut_validite,
'%d/%m/%Y') AS date_debut_validite_fr,
DATE_FORMAT(r.date_fin_validite,
'%d/%m/%Y') AS date_fin_validite_fr
FROM
oktopusV1_mod_mosaic_regle_panier r
JOIN
oktopusV1_mod_mosaic_regle_panier_locales rl ON
rl.id_regle_panier = r.id_regle_panier AND rl.language =
'fr'
WHERE 1 AND r.id_regle_panier
IN(SELECT id_regle_panier FROM
oktopusV1_mod_mosaic_panier_regle WHERE id_panier = '')
ORDER BY priorite, code
|
0.00129 |
11 |
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.00022 |
12 |
SELECT r.*, rl.*,
DATE_FORMAT(r.date_debut_validite,
'%d/%m/%Y') AS date_debut_validite_fr,
DATE_FORMAT(r.date_fin_validite,
'%d/%m/%Y') AS date_fin_validite_fr
FROM
oktopusV1_mod_mosaic_regle_panier r
JOIN
oktopusV1_mod_mosaic_regle_panier_locales rl ON
rl.id_regle_panier = r.id_regle_panier AND rl.language =
'fr'
WHERE 1 AND actif = '1' AND
IF(date_debut_validite = '0000-00-00', 1 , CURDATE() BETWEEN
date_debut_validite AND date_fin_validite) AND
IF(type_client = 0, 1, type_client = '4') AND IF(id_client
= 0, 1, id_client = 'tmp_676850f3bc6f6') AND code = '' AND
IF(montant_minimum = 0, 1, montant_minimum <= '0') AND
IF(type_reduction <> '€', 1, valeur <= '0') AND
r.id_regle_panier NOT IN(SELECT id_regle_panier FROM
oktopusV1_mod_mosaic_panier_regle WHERE id_panier = '') AND
r.apply_reduction <> 'CA' ORDER BY priorite, code
|
0.00154 |
13 |
SELECT r.*, rl.*,
DATE_FORMAT(r.date_debut_validite,
'%d/%m/%Y') AS date_debut_validite_fr,
DATE_FORMAT(r.date_fin_validite,
'%d/%m/%Y') AS date_fin_validite_fr
FROM
oktopusV1_mod_mosaic_regle_panier r
JOIN
oktopusV1_mod_mosaic_regle_panier_locales rl ON
rl.id_regle_panier = r.id_regle_panier AND rl.language =
'fr'
WHERE 1 AND r.id_regle_panier
IN(SELECT id_regle_panier FROM
oktopusV1_mod_mosaic_panier_regle WHERE id_panier = '') AND
r.code <> '' ORDER BY priorite, code
|
0.00124 |
14 |
SELECT r.*, rl.*,
DATE_FORMAT(r.date_debut_validite,
'%d/%m/%Y') AS date_debut_validite_fr,
DATE_FORMAT(r.date_fin_validite,
'%d/%m/%Y') AS date_fin_validite_fr
FROM
oktopusV1_mod_mosaic_regle_panier r
JOIN
oktopusV1_mod_mosaic_regle_panier_locales rl ON
rl.id_regle_panier = r.id_regle_panier AND rl.language =
'fr'
WHERE 1 AND r.id_regle_panier
IN(SELECT id_regle_panier FROM
oktopusV1_mod_mosaic_panier_regle WHERE id_panier = '')
ORDER BY priorite, code
|
0.00031 |
15 |
SELECT * FROM oktopusV1_mod_mosaic_transporteur WHERE
id_transporteur='6'
|
0.00024 |
16 |
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.00023 |
17 |
SELECT * FROM oktopusV1_mod_mosaic_transporteur WHERE 1 AND
actif = '1' ORDER BY position
|
0.00020 |
18 |
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.00025 |
19 |
SELECT COUNT(id_panier) FROM oktopusV1_mod_mosaic_panier
WHERE id_client = 'tmp_676850f3bc6f6'
|
0.00084 |
20 |
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.00034 |
21 |
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.00032 |
22 |
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
'%\'/panier\'%'
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 '%\'/panier\'%' AND t.actif = 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/panier\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/panier\'%' AND t.actif = 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00089 |
23 |
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.00017 |
24 |
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.00027 |
25 |
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.00018 |
26 |
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 |
27 |
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 '%\'/panier\'%')
ORDER BY p.rubrique DESC
|
0.00103 |
28 |
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 '%\'/panier\'%')
ORDER BY p.rubrique DESC
|
0.00080 |
29 |
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 '%\'/panier\'%')
ORDER BY p.rubrique DESC
|
0.00122 |
30 |
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 '%\'/panier\'%')
ORDER BY p.rubrique DESC
|
0.00080 |