1 |
SET NAMES utf8mb4
|
0.00015 |
2 |
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV1_1_core_users AS u INNER JOIN
oktopusV1_1_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV1_1_core_users_online AS o ON
o.ident='b0569e304534e68d35d06d7b6b81b08c28d32023559561315f562c300999a385'
WHERE u.id=1
|
0.00128 |
3 |
REPLACE INTO oktopusV1_1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'b0569e304534e68d35d06d7b6b81b08c28d32023559561315f562c300999a385',
1732283744, '3757536b332be638e07821309f4a490636af6805',
'https://new.youlead.fr/campagnes-google-ads')
|
0.00024 |
4 |
UPDATE oktopusV1_1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00085 |
5 |
UPDATE oktopusV1_1_mod_news SET active = 0
WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00"
AND NOW() > end_at
|
0.00028 |
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 FROM
oktopusV1_1_mod_pages AS p INNER JOIN
oktopusV1_1_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='fr' LEFT OUTER JOIN
oktopusV1_1_mod_pages_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV1_1_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='campagnes-google-ads' AND
p.active=1 ORDER BY p.created_at DESC
|
0.00190 |
7 |
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV1_1_mod_galleries AS r LEFT JOIN
oktopusV1_1_mod_galleries_locales AS rl ON
r.id=rl.gallery_id LEFT JOIN oktopusV1_1_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.00183 |
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_1_mod_map AS m
LEFT JOIN oktopusV1_1_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.00123 |
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
oktopusV1_1_mod_social_network_reseau snr
JOIN
oktopusV1_1_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.00140 |
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
oktopusV1_1_mod_pages AS p INNER JOIN
oktopusV1_1_mod_pages_locales AS pl ON p.id=pl.page_id AND
pl.language='fr' LEFT OUTER JOIN
oktopusV1_1_mod_pages_categories AS r ON r.id=p.category_id
LEFT OUTER JOIN oktopusV1_1_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 DISTINCT sn.*, snl.*
FROM oktopusV1_1_mod_social_network
sn
JOIN
oktopusV1_1_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.00152 |
12 |
SELECT p.id, p.active, p.category_id, p.name, p.logo,
p.created_at, p.updated_at, p.bookmark, pl.description,
pl.url, pl.url_title, cl.name AS category_name FROM
oktopusV1_1_mod_partners AS p LEFT JOIN
oktopusV1_1_mod_partners_categories AS c ON
p.category_id=c.id LEFT JOIN
oktopusV1_1_mod_partners_categories_locales AS cl ON
cl.category_id=c.id LEFT JOIN
oktopusV1_1_mod_partners_locales AS pl ON pl.partner_id=p.id
WHERE 1 AND pl.language='fr' AND (cl.language='fr' OR c.id
IS NULL) AND p.active=1 ORDER BY p.bookmark DESC, p.ord DESC
|
0.00211 |
13 |
SELECT DISTINCT sn.*, snl.*
FROM oktopusV1_1_mod_social_network
sn
JOIN
oktopusV1_1_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.00030 |
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 oktopusV1_1_mod_home_popup p
LEFT JOIN
oktopusV1_1_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
'%\'/campagnes-google-ads\'%') ORDER BY p.rubrique DESC
|
0.00100 |
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 oktopusV1_1_mod_home_popup p
LEFT JOIN
oktopusV1_1_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
'%\'/campagnes-google-ads\'%') ORDER BY p.rubrique DESC
|
0.00050 |
16 |
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 oktopusV1_1_mod_home_popup p
LEFT JOIN
oktopusV1_1_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
'%\'/campagnes-google-ads\'%') ORDER BY p.rubrique DESC
|
0.00053 |
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 oktopusV1_1_mod_home_popup p
LEFT JOIN
oktopusV1_1_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
'%\'/campagnes-google-ads\'%') ORDER BY p.rubrique DESC
|
0.00052 |