/core/cms.php => loadMenuStruct()
SELECT * FROM xt_menu ORDER BY id ASC
Запрос занял 0.00053 с.
/core/cms.php => getAllComponents()
SELECT id, title, link, config, internal, published, version, system FROM xt_components ORDER BY title
Запрос занял 0.00054 с.
/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.00054 с.
/core/classes/user.class.php => get_fields()
SELECT id, access FROM xt_user_groups WHERE alias = 'guest' ORDER BY id ASC LIMIT 1
Запрос занял 0.00031 с.
/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.221.147.236' AND status=1 ORDER BY id ASC LIMIT 1
Запрос занял 0.00020 с.
/core/classes/db.class.php => get_fields()
SELECT * FROM xt_photo_albums WHERE NSLevel = 0 AND NSDiffer = '' ORDER BY id ASC LIMIT 1
Запрос занял 0.00031 с.
/components/photos/frontend.php => getPhoto()
SELECT f.*, a.user_id as auser_id, a.title cat_title, a.NSLeft, a.NSRight, a.NSDiffer, a.nav album_nav, a.public, a.showtags a_tags, a.bbcode a_bbcode, a.orderby, a.orderto, u.nickname, u.login, p.gender, p.imageurl
FROM xt_photo_files f
INNER JOIN xt_photo_albums a ON a.id = f.album_id
LEFT JOIN xt_users u ON u.id = f.user_id
LEFT JOIN xt_user_profiles p ON p.user_id = u.id
WHERE f.id = '212' LIMIT 1
Запрос занял 0.00083 с.
/core/classes/db.class.php => get_table()
SELECT id, title, NSLevel FROM xt_photo_albums WHERE NSLeft <= 4 AND NSRight >= 5 AND parent_id > 0 AND NSDiffer = '' ORDER BY NSLeft
Запрос занял 0.00033 с.
/components/photos/frontend.php => setFlag()
UPDATE xt_photo_files SET hits = '1492' WHERE id='212'
Запрос занял 0.00034 с.
/components/photos/frontend.php => get_fields()
SELECT id, file FROM xt_photo_files WHERE id<212 AND album_id = 1038 AND published=1 ORDER BY id DESC LIMIT 1
Запрос занял 0.00034 с.
/components/photos/frontend.php => get_fields()
SELECT id, file FROM xt_photo_files WHERE id>212 AND album_id = 1038 AND published=1 ORDER BY id ASC LIMIT 1
Запрос занял 0.00025 с.
/core/lib_tags.php => cmsTagLine()
SELECT tag
FROM xt_tags
WHERE target='photo' AND item_id='212'
ORDER BY tag DESC
Запрос занял 0.00043 с.
/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='photo' AND c.target_id = '212')
ORDER BY c.pubdate ASC
LIMIT 1000
Запрос занял 0.00072 с.
/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 (47, 0)
WHERE m.published = 1 AND (m.is_strict_bind = 0)
ORDER BY m.ordering ASC
Запрос занял 0.00125 с.