// // //
//
Час генерації сторінки: 0.9684 сек.
Запити до бази: 39
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 = '66scrg8mf6v5uaon1sf4g6afp2' AND ip = '54.196.47.128' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.196.47.128', '66scrg8mf6v5uaon1sf4g6afp2', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/search/tag/%F4%F3%F2%E1%EE%EB')

SELECT id FROM cms_stats WHERE (ip = '54.196.47.128' AND page = '/search/tag/%F4%F3%F2%E1%EE%EB')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.196.47.128', NOW(), '/search/tag/%F4%F3%F2%E1%EE%EB', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '')

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

SELECT 1 FROM cms_tags WHERE tag = 'футбол'

SELECT *
                FROM cms_tags
                WHERE tag = 'футбол' ORDER BY tag DESC LIMIT 0, 10

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '243' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='content' AND item_id='243'
			ORDER BY tag DESC

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '241' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='content' AND item_id='241'
			ORDER BY tag DESC

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '260' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='content' AND item_id='260'
			ORDER BY tag DESC

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '256' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='content' AND item_id='256'
			ORDER BY tag DESC

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '257' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '261' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '302' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT i.title as title, i.id as item_id, c.title as cat, c.id as cat_id
								FROM cms_photo_files i
								LEFT JOIN cms_photo_albums c ON c.id = i.album_id
								WHERE i.id = '2888' AND i.published = 1

SELECT tag
			FROM cms_tags 
			WHERE target='photo' AND item_id='2888'
			ORDER BY tag DESC

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '753' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='content' AND item_id='753'
			ORDER BY tag DESC

SELECT i.title as title, c.title as cat, i.seolink as seolink, c.seolink as cat_seolink
								FROM cms_content i
								INNER JOIN cms_category c ON c.id = i.category_id
								WHERE i.id = '947' AND i.published = 1  AND i.is_arhive = 0 AND i.pubdate <= '2017-11-19 12:07:00' AND (i.is_end=0 OR (i.is_end=1 AND i.enddate >= '2017-11-19 12:07:00')) LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='content' AND item_id='947'
			ORDER BY tag DESC

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'top' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '0' 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 = 'sidebar' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '0' 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 = 'topmenu') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '0' 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 = '0' 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 < 64 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 = 'maintop') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '0' 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 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 = '0' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC