1 |
SET NAMES utf8mb4
|
0.00013 |
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='90fc2ee4bd40014cc8b4a574c5c6731808889dcec35a3e18d93e4ca88c3201ea'
WHERE u.id=1
|
0.00059 |
3 |
UPDATE modules_v1_core_users_online SET logged=1733765405,
prev_url='https://www.chiroprecy.fr/actualites' WHERE
ident='90fc2ee4bd40014cc8b4a574c5c6731808889dcec35a3e18d93e4ca88c3201ea'
|
0.00017 |
4 |
UPDATE modules_v1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00040 |
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.00023 |
6 |
SELECT COUNT(p.id) AS num_posts FROM modules_v1_mod_news AS
p LEFT OUTER JOIN modules_v1_core_users AS u ON
u.id=p.user_id INNER JOIN modules_v1_mod_news_locales AS pl
ON p.id=pl.post_id AND pl.language='fr' LEFT OUTER JOIN
modules_v1_mod_news_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN modules_v1_mod_news_categories_locales AS rl
ON r.id=rl.category_id AND rl.language='fr' WHERE 1 AND
pl.language='fr' AND p.active=1
|
0.00061 |
7 |
SELECT p.id, p.user_id, p.category_id, p.active, p.selected,
p.created_at, p.updated_at, p.end_at, p.images, p.files,
p.tpl, p.visit, pl.language, pl.title, pl.subtitle,
pl.title_tag, pl.title_seo, pl.slug, pl.content,
pl.content_short, pl.meta_description, pl.meta_keywords,
pl.words, u.username, u.lastname, u.firstname, rl.title AS
category_title, rl.slug AS category_slug, r.items_tpl AS
category_items_tpl FROM modules_v1_mod_news AS p LEFT OUTER
JOIN modules_v1_core_users AS u ON u.id=p.user_id INNER
JOIN modules_v1_mod_news_locales AS pl ON p.id=pl.post_id
AND pl.language='fr' LEFT OUTER JOIN
modules_v1_mod_news_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN modules_v1_mod_news_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.selected DESC,
p.created_at DESC LIMIT 0,5
|
0.00071 |
8 |
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.00067 |
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
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.00082 |
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
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.00120 |
11 |
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.00019 |
12 |
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.00017 |
13 |
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.00016 |