Кто онлайн?
Пользователей: 0
Гостей: 2
Сегодня зарегистрированные пользователи не посещали сайт
Время генерации страницы: 0.0538 сек.
Запросы к базе: 48
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 = 'nges90hvfhb2bsql3f0pdjl7q1' AND ip = '18.206.238.176' LIMIT 1

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

SELECT id FROM cms_stats WHERE (ip = '18.206.238.176' AND page = '/video')

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

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

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

SELECT *
                FROM cms_category
                WHERE seolink = 'video'
                LIMIT 1

SELECT group_id FROM cms_content_access WHERE content_type = 'category' AND content_id = '23'

SELECT id, title, NSLevel, seolink, url
                FROM cms_category
                WHERE NSLeft <= 26 AND NSRight >= 27 AND parent_id > 0
                ORDER BY NSLeft

SELECT group_id FROM cms_content_access WHERE content_type = 'category' AND content_id = '23'

SELECT cat.*
                FROM cms_category cat
                WHERE cat.parent_id = '23' AND cat.published = 1

SELECT * FROM cms_photo_albums WHERE id = '0' LIMIT 1

SELECT con.*, 
                       con.pubdate as fpubdate,
                       u.nickname as author,
                       u.login as user_login
                FROM cms_content con
				LEFT JOIN cms_users u ON u.id = con.user_id
                WHERE con.category_id = '23' AND con.published = 1 AND con.is_arhive = 0 AND con.pubdate <= '2020-07-08 01:48:31'
                      AND (con.is_end=0 OR (con.is_end=1 AND con.enddate >= '2020-07-08 01:48:31'))
                ORDER BY con.pubdate ASC
                LIMIT 0, 15

UPDATE cms_content SET is_arhive = 1 WHERE is_end = 1 AND enddate < NOW()

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

SELECT id FROM cms_comments WHERE target = 'article' AND target_id = '79' AND published = 1

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

SELECT id FROM cms_comments WHERE target = 'article' AND target_id = '80' AND published = 1

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

SELECT id FROM cms_comments WHERE target = 'article' AND target_id = '87' AND published = 1

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

SELECT id FROM cms_comments WHERE target = 'article' AND target_id = '163' AND published = 1

SELECT 1

                FROM cms_content con

                WHERE con.is_arhive = 0
                       AND (con.category_id = 23)
 AND (con.published = 1 AND con.pubdate <= '2020-07-08 01:48:31'
                      AND (con.is_end=0 OR (con.is_end=1 AND con.enddate >= '2020-07-08 01:48:31')))

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 = '7' OR mb.menu_id = 0)

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

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 = '7' OR mb.menu_id = 0)

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

SELECT NSLeft, NSRight, NSLevel FROM cms_menu WHERE id = '7' 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 > -3 AND NSRight < 16 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 = 'left') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '7' OR mb.menu_id = 0)
                  
            ORDER BY m.ordering ASC

SELECT cat.*, COUNT(con.id) as content_count 
				FROM cms_category cat, cms_content con
				WHERE (cat.parent_id = 1 AND cat.id > 0) AND con.category_id = cat.id AND cat.published = 1
				GROUP BY con.category_id
				ORDER BY cat.title DESC

SELECT		        
				o.user_id as id,
				u.login,
				u.nickname,
				p.gender as gender
				FROM cms_online o
                LEFT JOIN cms_users u ON  u.id = o.user_id
				LEFT JOIN cms_user_profiles p ON p.user_id = u.id
				WHERE u.is_locked = 0 AND u.is_deleted = 0
                GROUP BY o.user_id

SELECT 1 FROM cms_online WHERE user_id = 0 OR user_id = ''

SELECT u.id as id, u.nickname as nickname, u.login as login, p.gender as gender
                FROM cms_users u
				LEFT JOIN cms_user_profiles p ON p.user_id = u.id
                WHERE u.is_locked = 0 AND u.is_deleted = 0 AND DATE_FORMAT(u.logdate, '%Y-%m-%d')='2020-07-08'
                ORDER BY u.logdate DESC

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

SELECT NSLeft, NSRight FROM cms_category WHERE id='5' ORDER BY id ASC LIMIT 1

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 = '7' 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 = 'mainbottom') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '7' OR mb.menu_id = 0)
                  
            ORDER BY m.ordering ASC