/core/cms.php => loadMenuStruct()
SELECT * FROM xt_menu ORDER BY id ASC
Запрос занял 0.00046 с.
/core/cms.php => getAllComponents()
SELECT id, title, link, config, internal, published, version, system FROM xt_components ORDER BY title
Запрос занял 0.00026 с.
/core/cms.php => loadPluginsData()
SELECT p.id, p.plugin, p.config, e.event FROM xt_event_hooks e LEFT JOIN xt_plugins p ON e.plugin_id = p.id WHERE p.published = 1
Запрос занял 0.00032 с.
/core/classes/user.class.php => get_fields()
SELECT id, access FROM xt_user_groups WHERE alias = 'guest' ORDER BY id ASC LIMIT 1
Запрос занял 0.00016 с.
/core/classes/user.class.php => get_fields()
SELECT int_num, int_period, autodelete, id, status, bandate, user_id, cause FROM xt_banlist WHERE ip = '18.97.9.175' AND status=1 ORDER BY id ASC LIMIT 1
Запрос занял 0.00024 с.
/components/blogs/frontend.php => getPost()
SELECT p.*,
u.nickname as author_nickname,
u.login as author_login,
up.imageurl as author_image,
u.is_deleted as author_deleted
FROM xt_blog_posts p
LEFT JOIN xt_users u ON u.id = p.user_id
LEFT JOIN xt_user_profiles up ON up.user_id = u.id
WHERE p.seolink = 'u-menja-snova-yamaha' LIMIT 1
Запрос занял 0.00039 с.
/core/classes/blog.class.php => get_fields()
SELECT * FROM xt_blogs WHERE id = '1' AND owner = 'user' ORDER BY id ASC LIMIT 1
Запрос занял 0.00020 с.
/core/classes/blog.class.php => get_fields()
SELECT * FROM xt_blog_cats WHERE id = '6' ORDER BY id ASC LIMIT 1
Запрос занял 0.00016 с.
/core/lib_tags.php => cmsTagLine()
SELECT tag
FROM xt_tags
WHERE target='blogpost' AND item_id='20601'
ORDER BY tag DESC
Запрос занял 0.00025 с.
/components/blogs/frontend.php => setFlag()
UPDATE xt_blog_posts SET hits = '3664' WHERE id='20601'
Запрос занял 0.00019 с.
/core/lib_karma.php => get_fields()
SELECT total_rating, total_votes FROM xt_ratings_total WHERE item_id = '20601' AND target='blogpost' ORDER BY id ASC LIMIT 1
Запрос занял 0.00021 с.
/core/classes/blog.class.php => get_fields()
SELECT seolink, title FROM xt_blog_posts WHERE id < '20601' AND blog_id = '1' ORDER BY id DESC LIMIT 1
Запрос занял 0.00027 с.
/core/classes/blog.class.php => get_fields()
SELECT seolink, title FROM xt_blog_posts WHERE id > '20601' AND blog_id = '1' ORDER BY id ASC LIMIT 1
Запрос занял 0.00017 с.
/components/comments/frontend.php => getComments()
SELECT c.*,
IFNULL(u.nickname, 0) as nickname,
IFNULL(u.login, 0) as login,
IFNULL(u.is_deleted, 0) as is_deleted,
IFNULL(p.imageurl, 0) as imageurl,
IFNULL(p.gender, 0) as gender
FROM xt_comments c
LEFT JOIN xt_users u ON u.id = c.user_id
LEFT JOIN xt_user_profiles p ON p.user_id = u.id
WHERE c.published = 1
AND (c.target='blog' AND c.target_id = '20601')
ORDER BY c.pubdate ASC
LIMIT 1000
Запрос занял 0.00043 с.
/core/classes/page.class.php => loadModulesForMenuItem()
SELECT m.*, mb.position as mb_position
FROM xt_modules m
INNER JOIN xt_modules_bind mb ON mb.module_id = m.id AND mb.menu_id IN (0, 0)
WHERE m.published = 1 AND (m.is_strict_bind = 0)
ORDER BY m.ordering ASC
Запрос занял 0.00077 с.