1 |
SET NAMES utf8mb4
|
0.00024 |
2 |
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV2_core_users AS u INNER JOIN
oktopusV2_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV2_core_users_online AS o ON
o.ident='321e785292c0ee4348c1c18ddd326a6b8f9c5275f5f391485123cb17a37f024e'
WHERE u.id=1
|
0.00059 |
3 |
UPDATE oktopusV2_core_users_online SET logged=1728481415,
prev_url='https://www.sthical-coutellerie.com/galerie-nos-gammes/couteaux-fermants'
WHERE
ident='321e785292c0ee4348c1c18ddd326a6b8f9c5275f5f391485123cb17a37f024e'
|
0.00023 |
4 |
UPDATE oktopusV2_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00052 |
5 |
UPDATE oktopusV2_mod_news SET active = 0
WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00"
AND NOW() > end_at
|
0.00030 |
6 |
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV2_mod_galleries AS r LEFT JOIN
oktopusV2_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN oktopusV2_mod_galleries_items AS p ON
r.id=p.gallery_id WHERE 1 AND
rl.slug='nos-gammes/couteaux-fermants' AND rl.language='fr'
AND r.active=1 GROUP BY r.id ORDER BY nleft asc
|
0.00117 |
7 |
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV2_mod_galleries AS r LEFT JOIN
oktopusV2_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN oktopusV2_mod_galleries_items AS p ON
r.id=p.gallery_id WHERE 1 AND rl.language='fr' AND
r.parent_id=14 AND r.active=1 GROUP BY r.id ORDER BY nleft
asc
|
0.00169 |
8 |
SELECT i.id, i.user_id, i.gallery_id, i.active,
i.created_at, i.updated_at, i.image, i.tpl, i.ord,
il.language, il.title, il.subtitle, il.title_tag,
il.title_seo, il.slug, il.content, il.meta_description,
il.meta_keywords, il.words, gl.title AS gallery_title,
gl.slug AS gallery_slug, g.items_tpl AS gallery_items_tpl
FROM oktopusV2_mod_galleries_items AS i INNER JOIN
oktopusV2_mod_galleries_items_locales AS il ON
i.id=il.item_id AND il.language='fr' LEFT OUTER JOIN
oktopusV2_mod_galleries AS g ON g.id=i.gallery_id LEFT
OUTER JOIN oktopusV2_mod_galleries_locales AS gl ON
g.id=gl.gallery_id AND gl.language='fr' WHERE 1 AND
i.gallery_id=14 AND il.language='fr' AND i.active=1 ORDER BY
i.ord ASC
|
0.00049 |
9 |
SELECT t.active, t.ord, t.locked, t.password, t.tpl,
t.items_tpl, t.id, t.parent_id, t.nleft, t.nright, t.level,
l.title, l.title_tag, l.title_seo, l.slug, l.content,
l.meta_description, l.meta_keywords FROM
oktopusV2_mod_galleries AS t JOIN
oktopusV2_mod_galleries_locales AS l ON t.id = l.gallery_id
AND l.language = "fr" WHERE t.id = 14
|
0.00030 |
10 |
SELECT t.active, t.ord, t.locked, t.password, t.tpl,
t.items_tpl, t.id, t.parent_id, t.nleft, t.nright, t.level,
l.title, l.title_tag, l.title_seo, l.slug, l.content,
l.meta_description, l.meta_keywords FROM
oktopusV2_mod_galleries AS t JOIN
oktopusV2_mod_galleries_locales AS l ON t.id = l.gallery_id
AND l.language = "fr" WHERE nleft <= 8 AND nright >= 15
ORDER BY level
|
0.00046 |
11 |
SELECT m.*,
ml.language, ml.title,
ml.title_tag, ml.title_seo, ml.slug, ml.meta_description,
ml.meta_keywords, ml.content FROM oktopusV2_mod_map AS m
LEFT JOIN oktopusV2_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.00038 |
12 |
SELECT m.* FROM oktopusV2_mod_map_element AS m WHERE 1 AND
m.id_map = 2 AND m.active=1 AND m.type NOT
IN("marker","markerAddress") ORDER BY m.created_at DESC
|
0.00018 |
13 |
SELECT m.* FROM oktopusV2_mod_map_element AS m WHERE 1 AND
m.id_map = 2 AND m.active=1 AND m.type
IN("marker","markerAddress") ORDER BY m.created_at DESC
|
0.00015 |
14 |
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 oktopusV2_mod_home_popup p
LEFT JOIN
oktopusV2_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
'%\'/galerie-nos-gammes/couteaux-fermants\'%') ORDER BY
p.rubrique DESC
|
0.00050 |
15 |
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 oktopusV2_mod_home_popup p
LEFT JOIN
oktopusV2_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
'%\'/galerie-nos-gammes/couteaux-fermants\'%') ORDER BY
p.rubrique DESC
|
0.00048 |