1 |
SET NAMES utf8mb4
|
0.00021 |
2 |
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV5_1_core_users AS u INNER JOIN
oktopusV5_1_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV5_1_core_users_online AS o ON
o.ident='a827f0a59176f407f530dd86a7026c3b1705ed08ed981f08f7fdf405ec0a0fac'
WHERE u.id=1
|
0.00075 |
3 |
REPLACE INTO oktopusV5_1_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES
(1,'a827f0a59176f407f530dd86a7026c3b1705ed08ed981f08f7fdf405ec0a0fac',
1734801824, '725ba828fda070858b8473c86d37fad093554bfe',
'https://www.lestabourelles-leveret.com/closduveret/avis-client')
|
0.00024 |
4 |
UPDATE oktopusV5_1_mod_news SET active = 1
WHERE active = 3 AND NOW() >
created_at
|
0.00065 |
5 |
UPDATE oktopusV5_1_mod_news SET active = 0
WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00"
AND NOW() > end_at
|
0.00035 |
6 |
SELECT COUNT(id) AS num_sig FROM oktopusV5_1_mod_guestbook
WHERE 1 AND type='1' AND visible=1 AND (spam_status = "" OR
spam_status IS NULL) AND language='fr' ORDER BY date_sign
DESC
|
0.00388 |
7 |
SELECT id, language, message, nom, email, url, note, ip,
visible_home, date_sign, visible, spam_status, spam_filter,
date_reponse, reponse,type,element,id_user,
DATE_FORMAT(date_sign, "%d/%m/%Y %Hh%i") AS date_sign_fr,
DATE_FORMAT(date_reponse, "%d/%m/%Y %Hh%i") AS
date_reponse_fr FROM oktopusV5_1_mod_guestbook WHERE 1 AND
type='1' AND visible=1 AND (spam_status = "" OR spam_status
IS NULL) AND language='fr' ORDER BY date_sign DESC LIMIT 0,5
|
0.00063 |
8 |
SELECT COUNT(id) AS num_sig, AVG(note) AS avg_note FROM
oktopusV5_1_mod_guestbook WHERE 1 AND visible=1 AND
(spam_status = "" OR spam_status IS NULL) AND language='fr'
|
0.00033 |
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 oktopusV5_1_mod_slideshow_type t
WHERE 1 AND CASE
WHEN t.choix_rubrique
= 1 THEN
t.rubrique LIKE
'%\'/closduveret/avis-client\'%'
WHEN t.choix_rubrique
= 2 THEN
( SELECT COUNT(t.id_type) FROM
oktopusV5_1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/closduveret/avis-client\'%' AND t.actif
= 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/closduveret/avis-client\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
oktopusV5_1_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/closduveret/avis-client\'%' AND t.actif
= 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00103 |
10 |
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 oktopusV5_1_mod_slideshow_type t
WHERE t.id_type = '1'
|
0.00041 |
11 |
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 oktopusV5_1_mod_slideshow p
LEFT JOIN
oktopusV5_1_mod_slideshow_locales pl ON pl.id_slideshow =
p.id_slideshow AND pl.language = 'fr'
WHERE 1 AND p.actif = '1' AND id_type
= '1' ORDER BY position
|
0.00068 |
12 |
SELECT DISTINCT sn.*, snl.*
FROM oktopusV5_1_mod_social_network
sn
JOIN
oktopusV5_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.00119 |
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 oktopusV5_1_mod_home_popup p
LEFT JOIN
oktopusV5_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
'%\'/closduveret/avis-client\'%') ORDER BY p.rubrique DESC
|
0.00078 |
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 oktopusV5_1_mod_home_popup p
LEFT JOIN
oktopusV5_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
'%\'/closduveret/avis-client\'%') ORDER BY p.rubrique DESC
|
0.00064 |