/core/cms.php => loadMenuStruct()
SELECT * FROM xt_menu ORDER BY id ASC
Запрос занял 0.00056 с.
/core/cms.php => getAllComponents()
SELECT id, title, link, config, internal, published, version, system FROM xt_components ORDER BY title
Запрос занял 0.00027 с.
/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.00035 с.
/core/classes/user.class.php => get_fields()
SELECT id, access FROM xt_user_groups WHERE alias = 'guest' ORDER BY id ASC LIMIT 1
Запрос занял 0.00019 с.
/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.00026 с.
/core/classes/blog.class.php => get_fields()
SELECT * FROM xt_blogs WHERE seolink = 'a-vot-i-moja' AND owner = 'user' ORDER BY id ASC LIMIT 1
Запрос занял 0.00040 с.
/core/classes/user.class.php => get_field()
SELECT gender as getfield FROM xt_user_profiles WHERE user_id = '46' LIMIT 1
Запрос занял 0.00022 с.
/core/classes/user.class.php => get_fields()
SELECT nickname, login FROM xt_users WHERE id = '46' ORDER BY id ASC LIMIT 1
Запрос занял 0.00014 с.
/components/blogs/frontend.php => getPostsCount()
SELECT 1
FROM xt_blog_posts p
INNER JOIN xt_blogs b ON b.id = p.blog_id
WHERE p.published = 1 AND b.owner = 'user'
AND (p.blog_id = '30')
AND (b.allow_who = 'all')
AND (p.allow_who = 'all')
Запрос занял 0.00035 с.
/components/blogs/frontend.php => getPostsCount()
SELECT 1
FROM xt_blog_posts p
INNER JOIN xt_blogs b ON b.id = p.blog_id
WHERE p.published = 1 AND b.owner = 'user'
AND (p.blog_id = '30')
AND (b.allow_who = 'all')
AND (p.allow_who = 'all')
AND (p.cat_id = '7')
Запрос занял 0.00019 с.
/components/blogs/frontend.php => getPosts()
SELECT p.*,
u.nickname as author, u.login, u.is_deleted,
b.allow_who as blog_allow_who,
b.seolink as bloglink,
b.title as blog_title,
b.owner as owner
FROM xt_blog_posts p
INNER JOIN xt_blogs b ON b.id = p.blog_id
LEFT JOIN xt_users u ON u.id = p.user_id
WHERE p.published = 1 AND b.owner = 'user'
AND (p.blog_id = '30')
AND (b.allow_who = 'all')
AND (p.allow_who = 'all')
AND (p.cat_id = '7')
ORDER BY p.pubdate DESC
LIMIT 0, 10
Запрос занял 0.00035 с.
/core/classes/blog.class.php => cmsTagLine()
SELECT tag
FROM xt_tags
WHERE target='blogpost' AND item_id='46'
ORDER BY tag DESC
Запрос занял 0.00027 с.
/components/blogs/frontend.php => getBlogCats()
SELECT cat.*, IFNULL(COUNT(p.id), 0) as post_count
FROM xt_blog_cats cat
LEFT JOIN xt_blog_posts p ON p.cat_id = cat.id AND p.published = 1
WHERE cat.blog_id = '30'
GROUP BY cat.id
Запрос занял 0.00116 с.
/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.00082 с.