1 |
SET NAMES utf8mb4
|
0.00017 |
2 |
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
hmr_core_users AS u INNER JOIN hmr_core_users_groups AS g ON
g.group_id=u.group_id LEFT JOIN hmr_core_users_online AS o
ON o.ident='18.216.104.106' WHERE u.id=1
|
0.04206 |
3 |
REPLACE INTO hmr_core_users_online (user_id, ident, logged,
csrf_token, prev_url) VALUES (1,'18.216.104.106',
1732441640, 'eb0f75a3f74e18220a12039abd618d84b00b75b9',
'https://www.hamister.fr/')
|
0.08444 |
4 |
SELECT p.id, p.user_id, p.category_id, p.active,
p.created_at, p.updated_at, p.images, p.files, p.tpl,
p.position, pl.language, pl.title, pl.subtitle,
pl.title_tag, pl.title_seo, pl.slug, pl.content,
pl.meta_description, pl.meta_keywords, pl.words, rl.title AS
category_title, rl.slug AS category_slug, rl.title_tag AS
category_title_tag, r.items_tpl AS category_items_tpl FROM
hmr_mod_pages AS p INNER JOIN hmr_mod_pages_locales AS pl
ON p.id=pl.page_id AND pl.language='fr' LEFT OUTER JOIN
hmr_mod_pages_categories AS r ON r.id=p.category_id LEFT
OUTER JOIN hmr_mod_pages_categories_locales AS rl ON
r.id=rl.category_id AND rl.language='fr' WHERE 1 AND
pl.language='fr' AND pl.slug='bienvenue-sur-hamister' AND
p.active=1 ORDER BY p.created_at DESC
|
0.00020 |
5 |
SELECT c.id, c.active, c.ord, c.parent_id, c.level, c.tpl,
cl.language, cl.name, cl.slug, COUNT(p.id) AS num_items FROM
hmr_mod_partners_categories AS c LEFT JOIN
hmr_mod_partners_categories_locales AS cl ON
cl.category_id=c.id LEFT JOIN hmr_mod_partners AS p ON
c.id=p.category_id WHERE 1 AND cl.language='fr' AND
c.active=1 GROUP BY c.id ORDER BY nleft asc
|
0.00020 |
6 |
SELECT p.id, p.user_id, p.category_id, p.active,
p.created_at, p.updated_at, p.images, p.files, p.tpl,
p.position, pl.language, pl.title, pl.subtitle,
pl.title_tag, pl.title_seo, pl.slug, pl.content,
pl.meta_description, pl.meta_keywords, pl.words, rl.title AS
category_title, rl.slug AS category_slug, rl.title_tag AS
category_title_tag, r.items_tpl AS category_items_tpl FROM
hmr_mod_pages AS p INNER JOIN hmr_mod_pages_locales AS pl
ON p.id=pl.page_id AND pl.language='fr' LEFT OUTER JOIN
hmr_mod_pages_categories AS r ON r.id=p.category_id LEFT
OUTER JOIN hmr_mod_pages_categories_locales AS rl ON
r.id=rl.category_id AND rl.language='fr' WHERE 1 AND
pl.language='fr' AND p.active=1 ORDER BY p.created_at DESC
|
0.00017 |
7 |
SELECT p.*, pl.*, CONCAT(hp.nom, ' X ', hm.nom) AS nom,
DATE_FORMAT(p.date_saillie,
'%d/%m/%Y') as date_saillie_fr,
DATE_FORMAT(p.date_mise_bas,
'%d/%m/%Y') as date_mise_bas_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 hmr_mod_hamster_portee p
JOIN hmr_mod_hamster_portee_locale pl
ON pl.id_portee = p.id_portee AND pl.language = 'fr'
JOIN hmr_mod_hamster hp ON
hp.id_hamster = p.id_pere
JOIN hmr_mod_hamster hm ON
hm.id_hamster = p.id_mere
WHERE 1 AND actif = '1' ORDER BY
date_saillie DESC
|
0.00018 |
8 |
SELECT p.id_portee, COUNT(h.id_hamster) AS nbrePetit
FROM hmr_mod_hamster_portee p
LEFT OUTER JOIN hmr_mod_hamster h ON
h.id_portee = p.id_portee
WHERE 1 AND p.id_portee = 20 AND
h.etat = '1' GROUP BY 1
|
0.00013 |
9 |
SELECT p.*, pl.legende,
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 hmr_mod_hamster_portee_photo p
LEFT OUTER JOIN
hmr_mod_hamster_portee_photo_locale pl ON pl.id_portee_photo
= p.id_portee_photo AND pl.language = 'fr'
WHERE 1 AND id_portee = '20' AND type
= 'E' ORDER BY position
|
0.00013 |
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 hmr_mod_slideshow_type t
WHERE 1 AND CASE
WHEN t.choix_rubrique
= 1 THEN
t.rubrique LIKE
'%\'/\'%'
WHEN t.choix_rubrique
= 2 THEN
( SELECT COUNT(t.id_type) FROM
hmr_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/\'%' AND t.actif = 1
) = 0
AND
t.rubrique NOT
LIKE '%\'/\'%'
ELSE
( SELECT COUNT(t.id_type) FROM
hmr_mod_slideshow_type t
WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/\'%' AND t.actif = 1
) = 0
END AND actif = '1' ORDER
BY nom
|
0.00019 |
11 |
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 hmr_mod_slideshow_type t
WHERE t.id_type = '1'
|
0.00011 |
12 |
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 hmr_mod_slideshow p
LEFT JOIN hmr_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.00020 |