// // //
//

Майбутні події

 
Тип: Місто: Сортувати:
Час генерації сторінки: 0.9123 сек.
Запити до бази: 30
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 = '6er3thp3m4io67tff5nr11moe2' AND ip = '54.81.59.211' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.81.59.211', '6er3thp3m4io67tff5nr11moe2', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/board')

SELECT id FROM cms_stats WHERE (ip = '54.81.59.211' AND page = '/board')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.81.59.211', NOW(), '/board', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '')

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

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

SELECT * FROM cms_board_cats WHERE parent_id=0 ORDER BY id ASC LIMIT 1

SELECT access FROM cms_user_groups WHERE id = 8 LIMIT 1

SELECT access FROM cms_user_groups WHERE id = 8 LIMIT 1

SELECT obtypes as getfield FROM cms_board_cats WHERE NSLeft <= 1 AND NSRight >= 6 AND obtypes <> '' LIMIT 1

SELECT city FROM cms_board_items WHERE published = 1 AND 1=1 GROUP BY city

SELECT c.*, IFNULL(COUNT(i.id), 0) as content_count
                FROM cms_board_cats c
                LEFT JOIN cms_board_items i ON i.category_id = c.id AND i.published = 1
                WHERE c.published = 1 AND c.parent_id = '1'
                GROUP BY c.id
                ORDER BY title ASC

SELECT 1

                FROM cms_board_items i

                WHERE i.published = 1

UPDATE cms_board_items SET is_vip=0 WHERE DATE(vipdate) <= CURRENT_DATE

SELECT i.*, u.login, u.nickname

                FROM cms_board_items i
				 LEFT JOIN cms_users u ON u.id = i.user_id 

                WHERE i.published = 1
                      

                                      

                ORDER BY is_vip DESC, pubdate desc
LIMIT 0, 15

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

SELECT NSLeft, NSRight, NSLevel FROM cms_menu WHERE id = '54' 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 = '54' 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 = '54' OR mb.menu_id = 0)
                  
            ORDER BY m.ordering ASC