1 |
SET NAMES utf8mb4
|
0.00015 |
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='3.14.132.178' WHERE u.id=1
|
0.00663 |
3 |
REPLACE INTO oktopusV1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES (1,'3.14.132.178',
1732165836, '57a16528e7f5e850f5068b80b81ede82967980fe',
'https://www.atelier-artisma.com/')
|
0.00031 |
4 |
UPDATE oktopusV1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00194 |
5 |
UPDATE oktopusV1_mod_news SET active = 0
WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00"
AND NOW() > end_at
|
0.00143 |
6 |
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 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 pl.slug='accueil' AND p.active=1 ORDER
BY p.created_at DESC
|
0.00823 |
7 |
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV1_mod_galleries AS r LEFT JOIN
oktopusV1_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN oktopusV1_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.01414 |
8 |
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.00374 |
9 |
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 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.00079 |
10 |
SELECT page_id, group_id, type FROM
oktopusV1_mod_pages_permissions WHERE page_id=1
|
0.00089 |
11 |
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
oktopusV1_mod_contact_fields f LEFT JOIN
oktopusV1_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.00473 |