• Поиск

    Найти на сайте:
Яндекс.Метрика Rating All.BY Каталог TUT.BY LIFEON.BY Время генерации страницы: 0.0313 сек.
Запросы к базе: 38
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 = 'holb7jpjgfkjka9o2538tm4n86' AND ip = '98.82.140.17' LIMIT 1

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

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

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

SELECT *
			FROM cms_faq_cats
			WHERE parent_id = 0 AND id > 0 AND published = 1
			ORDER BY title ASC

SELECT q.*, c.title cat_title, c.id cid, u.login, u.nickname
				FROM cms_faq_quests q
				LEFT JOIN cms_faq_cats c ON c.id = q.category_id
				LEFT JOIN cms_users u ON u.id = q.user_id
				WHERE q.published = 1
				ORDER BY q.pubdate DESC
				LIMIT 15

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

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

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

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

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

SELECT NSLeft, NSRight, NSLevel FROM cms_menu WHERE id = '8' 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 < 14 AND NSDiffer = '' ORDER BY NSLeft,ordering

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

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

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

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

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 = '8' OR mb.menu_id = 0)
                  
            ORDER BY m.ordering ASC

SELECT NSLeft, NSRight, NSLevel FROM cms_menu WHERE id = '8' 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 < 14 AND NSDiffer = '' ORDER BY NSLeft,ordering

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

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

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

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

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

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

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

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