/core/cms.php => loadMenuStruct()
SELECT * FROM xt_menu ORDER BY id ASC
Запрос занял 0.00075 с.
/core/cms.php => getAllComponents()
SELECT id, title, link, config, internal, published, version, system FROM xt_components ORDER BY title
Запрос занял 0.00068 с.
/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.00072 с.
/core/classes/user.class.php => get_fields()
SELECT id, access FROM xt_user_groups WHERE alias = 'guest' ORDER BY id ASC LIMIT 1
Запрос занял 0.00033 с.
/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.22.181.198' AND status=1 ORDER BY id ASC LIMIT 1
Запрос занял 0.00050 с.
/components/forum/model.php => get_fields()
SELECT t.*, f.NSLeft, f.NSRight FROM xt_forum_threads t
INNER JOIN xt_forums f ON f.id = t.forum_id WHERE t.id = '21656' ORDER BY id ASC LIMIT 1
Запрос занял 0.00082 с.
/core/classes/db.class.php => get_table()
SELECT id, title, access_list, moder_list FROM xt_forums WHERE NSLeft <= 6 AND NSRight >= 7 AND parent_id > 0 AND NSDiffer = '' ORDER BY NSLeft
Запрос занял 0.00047 с.
/components/forum/frontend.php => setFlag()
UPDATE xt_forum_threads SET hits = '1545' WHERE id='21656'
Запрос занял 0.00073 с.
/components/forum/frontend.php => getPosts()
SELECT p.id, p.thread_id, p.user_id, p.pubdate, p.editdate, p.edittimes, p.rating, p.attach_count, p.content_html, p.pinned,
u.nickname, u.login, u.is_deleted, u.logdate, u.status,
up.imageurl, up.signature_html, up.city, up.karma, g.access as group_access, g.is_admin
FROM xt_forum_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
LEFT JOIN xt_user_groups g ON u.group_id = g.id
WHERE 1=1
AND (p.thread_id = '21656')
ORDER BY p.pinned DESC, p.pubdate ASC
LIMIT 0, 15
Запрос занял 0.00160 с.
/components/forum/model.php => rows_count()
SELECT 1 FROM xt_forum_posts WHERE user_id = '2494'
Запрос занял 0.00077 с.
/core/classes/user.class.php => get_table()
SELECT * FROM xt_user_awards WHERE user_id = '2494'
Запрос занял 0.00047 с.
/components/forum/model.php => getPostAttachments()
SELECT *
FROM xt_forum_files
WHERE post_id = '36776'
Запрос занял 0.00051 с.
/components/forum/model.php => rows_count()
SELECT 1 FROM xt_forum_posts WHERE user_id = '155'
Запрос занял 0.00041 с.
/core/classes/user.class.php => get_table()
SELECT * FROM xt_user_awards WHERE user_id = '155'
Запрос занял 0.00051 с.
/components/forum/model.php => rows_count()
SELECT 1 FROM xt_forum_posts WHERE user_id = '1722'
Запрос занял 0.00091 с.
/core/classes/user.class.php => get_table()
SELECT * FROM xt_user_awards WHERE user_id = '1722'
Запрос занял 0.00024 с.
/components/forum/frontend.php => getForums()
SELECT f.*, cat.title as cat_title, cat.seolink as cat_seolink, cat.id as cat_id
FROM xt_forums f
LEFT JOIN xt_forum_cats cat ON cat.id = f.category_id
WHERE f.parent_id > 0 AND cat.published = 1 AND f.published = 1
ORDER BY cat.ordering, f.NSLeft
LIMIT 1000
Запрос занял 0.00799 с.
/components/forum/frontend.php => get_fields()
SELECT id, title FROM xt_forum_threads WHERE id < '21656' AND forum_id = '1008' ORDER BY id DESC LIMIT 1
Запрос занял 0.00065 с.
/components/forum/frontend.php => get_fields()
SELECT id, title FROM xt_forum_threads WHERE id > '21656' AND forum_id = '1008' ORDER BY id ASC LIMIT 1
Запрос занял 0.00063 с.
/components/forum/model.php => get_fields()
SELECT * FROM xt_forum_polls WHERE thread_id = '21656' ORDER BY id ASC LIMIT 1
Запрос занял 0.00036 с.
/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 (46, 0)
WHERE m.published = 1 AND (m.is_strict_bind = 0)
ORDER BY m.ordering ASC
Запрос занял 0.00224 с.