1 |
SET NAMES utf8mb4
|
0.00013 |
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='8fc2c9fe3d0417e1cd7044592508fd5a189b20c2a9a6d6b62db711902a1a353c'
WHERE u.id=1
|
0.00056 |
3 |
REPLACE INTO oktopusV1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'8fc2c9fe3d0417e1cd7044592508fd5a189b20c2a9a6d6b62db711902a1a353c',
1732172247, 'cb899b3848f8b67b5ed59e6ddfcec32887a38ee9',
'https://www.atelier-delamousse.com/contact')
|
0.00010 |
4 |
UPDATE oktopusV1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00023 |
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.00015 |
6 |
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 = "contact" AND fl.language='fr'
ORDER BY ord ASC
|
0.00104 |
7 |
SELECT COUNT(m.id) AS num_elem FROM
oktopusV1_mod_map_element AS m WHERE 1 AND m.id_map = 1
AND m.type = "route" AND m.active=1
|
0.00056 |
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 m.id = 1 AND
ml.language='fr' AND m.active=1 ORDER BY m.created_at DESC
|
0.00023 |
9 |
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
'%\'/contact\'%'
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 '%\'/contact\'%' AND t.actif = 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/contact\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/contact\'%' AND t.actif = 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00062 |
10 |
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 '%\'/contact\'%')
ORDER BY p.rubrique DESC
|
0.00034 |
11 |
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 '%\'/contact\'%')
ORDER BY p.rubrique DESC
|
0.00022 |