1 |
SET NAMES utf8mb4
|
0.00035 |
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='5afd30843845f41e5045ed6cf2d204cbf05af77bb3281c1eb3ca120af102e72b'
WHERE u.id=1
|
0.00062 |
3 |
REPLACE INTO oktopusV2_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'5afd30843845f41e5045ed6cf2d204cbf05af77bb3281c1eb3ca120af102e72b',
1732142675, 'cc678806c4ccf26d9aac25162d64fea0818e10f7',
'https://www.sthical-coutellerie.com/')
|
0.00023 |
4 |
UPDATE oktopusV2_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00045 |
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 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,
p.recipients_to, p.recipients_cc, p.recipients_bcc,
p.from_to, p.captcha, p.conversion_google, p.from_copy,
pl.subject FROM oktopusV2_mod_pages AS p INNER JOIN
oktopusV2_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='fr' LEFT OUTER JOIN
oktopusV2_mod_pages_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV2_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.00152 |
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.active=1 GROUP BY r.id ORDER BY nleft asc
|
0.00330 |
8 |
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 ml.language='fr' AND
m.active=1 ORDER BY m.created_at DESC
|
0.00081 |
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
oktopusV2_mod_social_network_reseau snr
JOIN
oktopusV2_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.00120 |
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,
p.recipients_to, p.recipients_cc, p.recipients_bcc,
p.from_to, p.captcha, p.conversion_google, p.from_copy,
pl.subject FROM oktopusV2_mod_pages AS p INNER JOIN
oktopusV2_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='fr' LEFT OUTER JOIN
oktopusV2_mod_pages_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV2_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.00077 |
11 |
SELECT 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 oktopusV2_mod_social_network_reseau snr
JOIN oktopusV2_mod_social_network_reseau_locales
snrl ON snrl.id_reseau = snr.id_reseau AND snrl.language =
'fr'
WHERE 1 AND snr.id_reseau ='1'
|
0.00056 |
12 |
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 r.id=16 AND rl.language='fr'
AND r.active=1 GROUP BY r.id ORDER BY nleft asc
|
0.00080 |
13 |
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=16 AND il.language='fr' AND i.active=1 ORDER BY
i.ord ASC LIMIT 6
|
0.00123 |
14 |
SELECT f.id, f.page_id, f.active, f.type, f.ord, f.html_id,
f.bloc, f.colonne, f.picto, f.options, f.info_personnelle,
fl.language, fl.title, fl.description, fl.value, fl.legend
FROM oktopusV2_mod_pages_forms_fields AS f LEFT JOIN
oktopusV2_mod_pages_forms_fields_locales AS fl ON
fl.field_id=f.id WHERE 1 AND active>0 AND page_id=2 AND
fl.language='fr' ORDER BY ord ASC
|
0.00059 |
15 |
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.00098 |
16 |
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.00040 |
17 |
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.00028 |
18 |
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 '%\'/\'%') ORDER BY
p.rubrique DESC
|
0.00051 |
19 |
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 '%\'/\'%') ORDER BY
p.rubrique DESC
|
0.00055 |