Найти на сайте: параметры поиска

Внутренняя Политика

Темы Автор Активность Последнее сообщение
Нет новых сообщений ohagin Просмотров: 9
Ответов: 0
Перейти к последнему сообщению от ohagin
16 августа 2018 в 00:05
Нет новых сообщений ezobacaf Просмотров: 7
Ответов: 0
Перейти к последнему сообщению от ezobacaf
15 августа 2018 в 15:10
Нет новых сообщений asukolow Просмотров: 7
Ответов: 0
Перейти к последнему сообщению от asukolow
15 августа 2018 в 09:55
Нет новых сообщений afinym Просмотров: 13
Ответов: 0
Перейти к последнему сообщению от afinym
13 августа 2018 в 20:57
Время генерации страницы: 0.0567 сек.
Запросы к базе: 40
SET NAMES cp1251

SELECT * FROM cms_menu ORDER BY id ASC

SELECT id, title, link, config, internal, published, version, system FROM cms_components

SELECT p.id, p.plugin, p.config, e.event FROM cms_plugins p, cms_event_hooks e WHERE p.published = 1 AND e.plugin_id = p.id

SELECT id FROM cms_user_groups WHERE alias = 'guest'

DELETE FROM cms_online WHERE lastdate <= DATE_SUB(NOW(), INTERVAL 3 MINUTE)

SELECT id as getfield FROM cms_online WHERE sess_id = 'a2ba5f4d1ec781c002ea82a86a2ffb91' AND ip = '54.162.171.242' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.162.171.242', 'a2ba5f4d1ec781c002ea82a86a2ffb91', NOW(), '0', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '/forum/1011')

SELECT id FROM cms_stats WHERE (ip = '54.162.171.242' AND page = '/forum/1011')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.162.171.242', NOW(), '/forum/1011', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '')

SELECT NSLeft, NSRight FROM cms_menu WHERE id = '56'

SELECT id, title, link, linktype
                           FROM cms_menu
                           WHERE NSLeft <= 14 AND NSRight >= 15 AND parent_id > 0
                           ORDER BY NSLeft

SELECT * FROM cms_forums WHERE id = '1011' LIMIT 1

SELECT id, title, NSLevel, access_list FROM cms_forums WHERE NSLeft <= 2 AND NSRight >= 3 AND parent_id > 0 ORDER BY NSLeft

SELECT *
                           FROM cms_forums
                           WHERE published = 1 AND parent_id = '1011'
                           ORDER BY ordering

SELECT 1 FROM cms_forum_threads WHERE forum_id = 1011

SELECT t.*, COUNT(p.id) as postsnum, IF(t.pubdate > '9999-01-01 12:00:00', 1, 0) as is_new, u.nickname, u.login
             FROM cms_forum_threads t
			 INNER JOIN cms_forum_posts p ON p.thread_id = t.id
			 LEFT JOIN cms_users u ON u.id = t.user_id
             WHERE t.forum_id = '1011'
             GROUP BY t.id
             ORDER BY t.pinned DESC, t.pubdate DESC
             LIMIT 0, 15

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '15'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '14'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '13'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '1'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'left' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT *, m.id as mid, m.template as tpl
            FROM cms_modules m, cms_modules_bind mb
            WHERE (mb.position = 'main_menu') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT NSLeft, NSRight, NSLevel FROM cms_menu WHERE id = '56' ORDER BY id ASC LIMIT 1

SELECT id as getfield FROM cms_menu WHERE parent_id=0 LIMIT 1

SELECT * FROM cms_menu WHERE id = 1 AND NSDiffer = ''

SELECT * FROM cms_menu WHERE NSLeft > 1 AND NSRight < 22 AND NSDiffer = '' ORDER BY NSLeft,ordering

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'banner1' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT *, m.id as mid, m.template as tpl
            FROM cms_modules m, cms_modules_bind mb
            WHERE (mb.position = 'banner1') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT * FROM cms_filters WHERE published = 1 ORDER BY id ASC

SELECT * FROM cms_filter_rules

SELECT title as getfield FROM cms_content WHERE id=1011 LIMIT 1

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'search' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT *, m.id as mid, m.template as tpl
            FROM cms_modules m, cms_modules_bind mb
            WHERE (mb.position = 'search') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT link, title FROM cms_components WHERE internal = 0 AND published = 1

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'banner2' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'maintop' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'mainbottom' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'banner3' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'bottom' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '56' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)