1 |
SET NAMES utf8mb4
|
0.00073 |
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='7d87cc6d2c248cbe6acb0c564957e030328e019d8b8a6c9a7600734a4dcfdeff'
WHERE u.id=1
|
0.00068 |
3 |
REPLACE INTO oktopusV1_1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'7d87cc6d2c248cbe6acb0c564957e030328e019d8b8a6c9a7600734a4dcfdeff',
1732284521, '94fec5d0543fffd82b3f27f7420e4273e9b8bd6c',
'https://new.youlead.fr/galeries')
|
0.00020 |
4 |
UPDATE oktopusV1_1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00053 |
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.00032 |
6 |
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.parent_id=0 AND r.active=1 GROUP BY r.id ORDER BY nleft
asc
|
0.00513 |
7 |
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.00127 |
8 |
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.00168 |
9 |
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.00034 |
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_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 '%\'/galeries\'%')
ORDER BY p.rubrique DESC
|
0.00072 |
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_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 '%\'/galeries\'%')
ORDER BY p.rubrique DESC
|
0.00054 |
12 |
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 '%\'/galeries\'%')
ORDER BY p.rubrique DESC
|
0.00070 |
13 |
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 '%\'/galeries\'%')
ORDER BY p.rubrique DESC
|
0.00084 |