Nexia

Темы Автор Активность Последнее сообщение
Нет новых сообщений
Нэксия - какой она бывает
Просмотров: 1650
Ответов: 7
Перейти к последнему сообщению от Alexis
3 июня 2013 в 12:16
Время генерации страницы: 0.2382 сек.
Запросы к базе: 36
SET NAMES cp1251

SELECT * FROM v19_menu ORDER BY id ASC

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

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

SELECT id FROM v19_user_groups WHERE alias = 'guest'

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

SELECT id as getfield FROM v19_online WHERE sess_id = 'drg151925lf3kslsq2unvflmu3' AND ip = '46.4.50.21' LIMIT 1

INSERT INTO v19_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('46.4.50.21', 'drg151925lf3kslsq2unvflmu3', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/forum/1094')

SELECT NSLeft, NSRight FROM v19_menu WHERE id = '2'

SELECT id, title, link, linktype
                           FROM v19_menu
                           WHERE NSLeft <= 26 AND NSRight >= 29 AND parent_id > 0
                           ORDER BY NSLeft

SELECT * FROM v19_forums WHERE id = '1094' LIMIT 1

SELECT id, title, NSLevel, access_list FROM v19_forums WHERE NSLeft <= 123 AND NSRight >= 124 AND parent_id > 0 ORDER BY NSLeft

SELECT *
                           FROM v19_forums
                           WHERE published = 1 AND parent_id = '1094'
                           ORDER BY ordering

SELECT 1 FROM v19_forum_threads WHERE forum_id = 1094

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 v19_forum_threads t
			 INNER JOIN v19_forum_posts p ON p.thread_id = t.id
			 LEFT JOIN v19_users u ON u.id = t.user_id
             WHERE t.forum_id = '1094'
             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 v19_forum_posts p
			INNER JOIN v19_users u ON u.id = p.user_id
			WHERE p.thread_id = '794'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT m.access_list
            FROM v19_modules m, v19_modules_bind mb
            WHERE mb.position = 'top' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT m.access_list
            FROM v19_modules m, v19_modules_bind mb
            WHERE mb.position = 'sidebar' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT m.access_list
            FROM v19_modules m, v19_modules_bind mb
            WHERE mb.position = 'sidebar-l' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)

SELECT *, m.id as mid, m.template as tpl
            FROM v19_modules m, v19_modules_bind mb
            WHERE (mb.position = 'topmenu') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT NSLeft, NSRight, NSLevel FROM v19_menu WHERE id = '2' ORDER BY id ASC LIMIT 1

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

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

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

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

SELECT * FROM v19_filter_rules

SELECT title as getfield FROM v19_content WHERE id=1094 LIMIT 1

SELECT *, m.id as mid, m.template as tpl
            FROM v19_modules m, v19_modules_bind mb
            WHERE (mb.position = 'maintop') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT *, m.id as mid, m.template as tpl
            FROM v19_modules m, v19_modules_bind mb
            WHERE (mb.position = 'mainbottom') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT *, m.id as mid, m.template as tpl
            FROM v19_modules m, v19_modules_bind mb
            WHERE (mb.position = 'sidebar-l') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '2' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

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

SELECT * FROM v19_filter_rules

SELECT title as getfield FROM v19_content WHERE id=1094 LIMIT 1

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

SELECT * FROM v19_filter_rules

SELECT title as getfield FROM v19_content WHERE id=1094 LIMIT 1