1 |
SET NAMES utf8mb4
|
0.00020 |
2 |
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
modules_v1_core_users AS u INNER JOIN
modules_v1_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN modules_v1_core_users_online AS o ON
o.ident='18.97.9.175' WHERE u.id=1
|
0.00066 |
3 |
REPLACE INTO modules_v1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES (1,'18.97.9.175',
1733480633, '687c64c37a1c0d22bc31628260e3fc233fee07d4',
'https://www.concession-singer-montpellier.fr/machines-a-coudre-2/singer-supera-5523-8')
|
0.00117 |
4 |
UPDATE modules_v1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00051 |
5 |
UPDATE modules_v1_mod_news SET active = 0
WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00"
AND NOW() > end_at
|
0.00022 |
6 |
SELECT r.*, rl.* FROM
modules_v1_mod_mosaic_rubrique r
JOIN modules_v1_mod_mosaic_rubrique_locales rl
ON rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='2'
|
0.00053 |
7 |
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 modules_v1_mod_mosaic_produit p
JOIN
modules_v1_mod_mosaic_produit_locales pl ON pl.id_produit =
p.id_produit AND pl.language = 'fr'
LEFT JOIN modules_v1_mod_mosaic_marque m ON p.id_marque
= m.id_marque
LEFT JOIN modules_v1_mod_mosaic_modele mo ON
p.id_modele = mo.id_modele
WHERE p.id_produit = '8'
|
0.00056 |
8 |
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
modules_v1_mod_galleries AS r LEFT JOIN
modules_v1_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN modules_v1_mod_galleries_items AS p ON
r.id=p.gallery_id WHERE 1 AND rl.language='fr' AND
r.active=1 GROUP BY r.id ORDER BY nleft asc
|
0.00056 |
9 |
SELECT m.*,
ml.language, ml.title,
ml.title_tag, ml.title_seo, ml.slug, ml.meta_description,
ml.meta_keywords, ml.content FROM modules_v1_mod_map AS m
LEFT JOIN modules_v1_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.00062 |
10 |
SELECT r.*, rl.*, COUNT(r.id_rubrique) AS num_posts FROM
modules_v1_mod_mosaic_rubrique AS r LEFT JOIN
modules_v1_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.00091 |
11 |
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
modules_v1_mod_social_network_reseau snr
JOIN
modules_v1_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.00074 |
12 |
SELECT p.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,
p.recipients_to, p.recipients_cc, p.recipients_bcc,
p.from_to, p.captcha, p.conversion_google, p.from_copy,
pl.subject FROM modules_v1_mod_pages AS p INNER JOIN
modules_v1_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='fr' LEFT OUTER JOIN
modules_v1_mod_pages_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN modules_v1_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.00074 |
13 |
SELECT * FROM modules_v1_mod_mosaic_produit_locales WHERE
id_produit = '8'
|
0.00033 |
14 |
SELECT r.*, rl.* FROM
modules_v1_mod_mosaic_rubrique r
JOIN modules_v1_mod_mosaic_rubrique_locales rl
ON rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='2'
|
0.00014 |
15 |
SELECT * FROM modules_v1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
|
0.00019 |
16 |
SELECT COUNT(id_produit) FROM modules_v1_mod_mosaic_produit
WHERE id_produit = '8'
|
0.00021 |
17 |
SELECT id, language, valeur FROM
modules_v1_mod_mosaic_locales
WHERE `table` = 'produit_photo'
|
0.00027 |
18 |
SELECT p.id_produit_photo AS id, p.* FROM
modules_v1_mod_mosaic_produit_photo p WHERE 1 AND actif =
'1' AND id_produit = '8' ORDER BY position
|
0.00025 |
19 |
SELECT * FROM modules_v1_mod_mosaic_produit_locales WHERE
id_produit = '8'
|
0.00015 |
20 |
SELECT r.*, rl.* FROM
modules_v1_mod_mosaic_rubrique r
JOIN modules_v1_mod_mosaic_rubrique_locales rl
ON rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='2'
|
0.00014 |
21 |
SELECT * FROM modules_v1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
|
0.00013 |
22 |
SELECT r.*, rl.*, COUNT(r.id_rubrique) AS num_posts FROM
modules_v1_mod_mosaic_rubrique AS r LEFT JOIN
modules_v1_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.00026 |
23 |
SELECT * FROM modules_v1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
|
0.00014 |
24 |
SELECT * FROM modules_v1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '5'
|
0.00022 |
25 |
SELECT * FROM modules_v1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '10'
|
0.00021 |
26 |
SELECT * FROM modules_v1_mod_mosaic_produit_locales WHERE
id_produit = '8'
|
0.00013 |
27 |
SELECT r.*, rl.* FROM
modules_v1_mod_mosaic_rubrique r
JOIN modules_v1_mod_mosaic_rubrique_locales rl
ON rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
WHERE r.id_rubrique='2'
|
0.00012 |
28 |
SELECT * FROM modules_v1_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
|
0.00009 |
29 |
SELECT ca.*, p.nom as nomPays, p.id_pays, p.id_zone, p.code,
p.code_num
FROM modules_v1_mod_address_book ca,
modules_v1_mod_geographie_pays p
WHERE ca.pays_id = p.id_pays AND
ca.facturation=1 AND ca.user_id='1'
|
0.00038 |
30 |
SELECT DISTINCT sn.*, snl.*
FROM modules_v1_mod_social_network sn
JOIN
modules_v1_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.00100 |
31 |
SELECT f.id, f.active, f.type, f.category, f.ord, f.html_id,
f.colonne, f.picto, f.options, f.info_personnelle, fl.title,
fl.legend, fl.description, fl.value FROM
modules_v1_mod_contact_fields f LEFT JOIN
modules_v1_mod_contact_fields_locales AS fl ON
fl.field_id=f.id AND fl.category=f.category WHERE 1 AND
f.active>0 AND f.category = "insert" AND fl.language='fr'
ORDER BY ord ASC
|
0.00090 |
32 |
SELECT m.*,
ml.language, ml.title,
ml.title_tag, ml.title_seo, ml.slug, ml.meta_description,
ml.meta_keywords, ml.content FROM modules_v1_mod_map AS m
LEFT JOIN modules_v1_mod_map_locales AS ml ON m.id=ml.id_map
AND ml.language='fr' WHERE 1 AND m.id = 2 AND
ml.language='fr' AND m.active=1 ORDER BY m.created_at DESC
|
0.00044 |