/core/cms.php => loadMenuStruct()
SELECT * FROM xt_menu ORDER BY id ASC
Запрос занял 0.00175 с.
/core/cms.php => getAllComponents()
SELECT id, title, link, config, internal, published, version, system FROM xt_components ORDER BY title
Запрос занял 0.00061 с.
/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.00107 с.
/core/classes/user.class.php => get_fields()
SELECT id, access FROM xt_user_groups WHERE alias = 'guest' ORDER BY id ASC LIMIT 1
Запрос занял 0.00046 с.
/core/classes/user.class.php => get_fields()
SELECT int_num, int_period, autodelete, id, status, bandate, user_id, cause FROM xt_banlist WHERE ip = '3.135.201.248' AND status=1 ORDER BY id ASC LIMIT 1
Запрос занял 0.00074 с.
/components/blogs/frontend.php => getBlogsCount()
SELECT 1
FROM xt_blogs b
WHERE b.owner = 'user'
AND (b.ownertype = 'single')
Запрос занял 0.00055 с.
/components/blogs/frontend.php => getBlogs()
SELECT b.*, COUNT(p.id) as records,
u.nickname, u.login
FROM xt_blogs b
LEFT JOIN xt_blog_posts p ON p.blog_id = b.id
LEFT JOIN xt_users u ON u.id = b.user_id
WHERE b.owner = 'user'
AND (b.ownertype = 'single')
GROUP BY b.id
ORDER BY b.rating DESC
LIMIT 30, 15
Запрос занял 0.00385 с.
/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.00184 с.