Galeries
  • Mémoire utilisée par PHP : 10,16 Mo
  • Pic mémoire allouée par PHP : 11,33 Mo
  • Temps d'execution du script : 0.368 s
  • Lang :
  • Path : galeries
  • Route : galleriesList
  • $okt->page->module : galleries
  • $okt->page->action : list
ID Query Time
1
SET NAMES utf8mb4
0.00400
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='34.236.36.94' WHERE u.id=1
0.00115
3
UPDATE oktopusV1_core_users_online SET logged=1627145881,
prev_url='https://www.traiteur-lacledesol.com/galeries'
WHERE ident='34.236.36.94'
0.00019
4
UPDATE oktopusV1_mod_news SET active = 1
                           WHERE active = 3 AND NOW() >
created_at 
0.00039
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.00017
6
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV1_mod_galleries AS r LEFT JOIN
oktopusV1_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN oktopusV1_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.00255
7
 SELECT t.*, tl.rubrique_slug,  
                            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
                       LEFT JOIN
oktopusV1_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                       WHERE 1 AND CASE 
                                       WHEN t.choix_rubrique
= 1 THEN
                                          
FIND_IN_SET('/galeries', tl.rubrique_slug) > 0
                                       WHEN t.choix_rubrique
= 2 THEN
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
                      LEFT JOIN
oktopusV1_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                      WHERE t.choix_rubrique = 1 AND
FIND_IN_SET('/galeries', tl.rubrique_slug) > 0 AND t.actif =
1
                   ) = 0
                
                                           AND
                                          
FIND_IN_SET('/galeries', tl.rubrique_slug) = 0
                                       ELSE     
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV1_mod_slideshow_type t
                      LEFT JOIN
oktopusV1_mod_slideshow_type_locales tl ON tl.id_type =
t.id_type AND tl.language = 'fr'
                      WHERE t.choix_rubrique = 1 AND
FIND_IN_SET('/galeries', tl.rubrique_slug) > 0 AND t.actif =
1
                   ) = 0
                 
                                   END AND actif = '1' ORDER
BY nom 
0.00130
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 FIND_IN_SET('/galeries',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00075
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 FIND_IN_SET('/galeries',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00035
# type fichier ligne classe fonction message