1 |
SET NAMES utf8mb4
|
0.00009 |
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='fd5318a59911177a74921ed00d209fe8968a334da0ffa8dc6c4965bd3636d0f7'
WHERE u.id=1
|
0.00179 |
3 |
REPLACE INTO oktopusV1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'fd5318a59911177a74921ed00d209fe8968a334da0ffa8dc6c4965bd3636d0f7',
1732171640, 'c8fa2e6a7f67b040c3fa415d30761fde6601fa5d',
'https://www.atelier-delamousse.com/gestion-de-donnees')
|
0.00018 |
4 |
UPDATE oktopusV1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00150 |
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.00047 |
6 |
SELECT td.id_type_demande, td.actif, tdl.*
FROM
oktopusV1_mod_data_management_type_demande td
JOIN
oktopusV1_mod_data_management_type_demande_locales tdl ON
tdl.id_type_demande = td.id_type_demande AND tdl.language =
'fr'
WHERE 1 ORDER BY position ASC
|
0.00185 |
7 |
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 oktopusV1_mod_slideshow_type t
WHERE 1 AND CASE
WHEN t.choix_rubrique
= 1 THEN
t.rubrique LIKE
'%\'/gestion-de-donnees\'%'
WHEN t.choix_rubrique
= 2 THEN
( SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/gestion-de-donnees\'%' AND t.actif = 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/gestion-de-donnees\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/gestion-de-donnees\'%' AND t.actif = 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00181 |
8 |
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_mod_home_popup p
LEFT JOIN
oktopusV1_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
'%\'/gestion-de-donnees\'%') ORDER BY p.rubrique DESC
|
0.00159 |
9 |
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_mod_home_popup p
LEFT JOIN
oktopusV1_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
'%\'/gestion-de-donnees\'%') ORDER BY p.rubrique DESC
|
0.00054 |