1 |
SET NAMES utf8mb4
|
0.00016 |
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='d7a8b22b61c3b700fb0a944183ec93e846d9d15ed003422d27f8728a8acabb97'
WHERE u.id=1
|
0.00075 |
3 |
REPLACE INTO oktopusV2_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'d7a8b22b61c3b700fb0a944183ec93e846d9d15ed003422d27f8728a8acabb97',
1734799932, '70b5a2640ffeeff21d5e1294886f1bb20153024f',
'https://www.damienpinon.com/en/actualite-wine-paris-vinexpo-paris-2024')
|
0.00028 |
4 |
UPDATE oktopusV2_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00046 |
5 |
UPDATE oktopusV2_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00021 |
6 |
SELECT id, title, code, img, active, ord FROM
oktopusV2_core_languages WHERE 1 AND code='en' ORDER BY ord
ASC
|
0.00048 |
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 oktopusV2_mod_news AS p LEFT OUTER
JOIN oktopusV2_core_users AS u ON u.id=p.user_id INNER JOIN
oktopusV2_mod_news_locales AS pl ON p.id=pl.post_id AND
pl.language='en' LEFT OUTER JOIN
oktopusV2_mod_news_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV2_mod_news_categories_locales AS rl
ON r.id=rl.category_id AND rl.language='en' WHERE 1 AND
pl.language='en' AND p.active=1 ORDER BY p.selected DESC,
p.created_at DESC
|
0.00217 |
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='en' WHERE 1 AND ml.language='en' AND
m.active=1 ORDER BY m.created_at DESC
|
0.00089 |
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 = 'en'
WHERE 1 AND active = '1' ORDER BY snrl.libelle
|
0.00088 |
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
oktopusV2_mod_pages AS p INNER JOIN
oktopusV2_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='en' 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='en' WHERE 1 AND
pl.language='en' AND p.active=1 ORDER BY p.created_at DESC
|
0.00074 |
11 |
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 oktopusV2_mod_news AS p LEFT OUTER
JOIN oktopusV2_core_users AS u ON u.id=p.user_id INNER JOIN
oktopusV2_mod_news_locales AS pl ON p.id=pl.post_id AND
pl.language='en' LEFT OUTER JOIN
oktopusV2_mod_news_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV2_mod_news_categories_locales AS rl
ON r.id=rl.category_id AND rl.language='en' WHERE 1 AND
pl.language='en' AND
pl.slug='wine-paris-vinexpo-paris-2024' ORDER BY p.selected
DESC, p.created_at DESC
|
0.00097 |
12 |
UPDATE oktopusV2_mod_news SET visit=visit+1 WHERE id=1
|
0.00034 |
13 |
SELECT t.*,
DATE_FORMAT(t.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
DATE_FORMAT(t.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
FROM oktopusV2_mod_slideshow_type t
WHERE 1 AND CASE
WHEN t.choix_rubrique
= 1 THEN
t.rubrique LIKE
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%'
WHEN t.choix_rubrique
= 2 THEN
( SELECT COUNT(t.id_type) FROM
oktopusV2_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%' AND
t.actif = 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
oktopusV2_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%' AND
t.actif = 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00066 |
14 |
SELECT t.*,
DATE_FORMAT(t.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
DATE_FORMAT(t.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
FROM oktopusV2_mod_slideshow_type t
WHERE t.id_type = '2'
|
0.00032 |
15 |
SELECT p.*, pl.valeur AS legende, pl.lien,
pl.contenu_titre, pl.contenu_ss_titre,
pl.contenu_description, pl.primaire_texte,
pl.primaire_texte_mobile, pl.secondaire_texte,
pl.secondaire_texte_mobile, pl.primaire_slug,
pl.secondaire_slug, pl.lien2,
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_slideshow p
LEFT JOIN
oktopusV2_mod_slideshow_locales pl ON pl.id_slideshow =
p.id_slideshow AND pl.language = 'en'
WHERE 1 AND p.actif = '1' AND id_type
= '2' ORDER BY position
|
0.00049 |
16 |
SELECT DISTINCT sn.*, snl.*
FROM oktopusV2_mod_social_network sn
JOIN
oktopusV2_mod_social_network_locales snl ON
snl.id_social_network = sn.id_social_network AND
snl.language = 'en' WHERE 1 AND sn.url != '' AND sn.type !=
'' AND type LIKE '%F%' ORDER BY sn.position
|
0.00083 |
17 |
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 = 'en'
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
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%') ORDER
BY p.rubrique DESC
|
0.00055 |
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 = 'en'
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
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%') ORDER
BY p.rubrique DESC
|
0.00053 |
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 = 'en'
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
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%') ORDER
BY p.rubrique DESC
|
0.00050 |
20 |
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 = 'en'
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
'%\'/en/actualite-wine-paris-vinexpo-paris-2024\'%') ORDER
BY p.rubrique DESC
|
0.00043 |