// // //
//
Час генерації сторінки: 0.9359 сек.
Запити до бази: 163
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 = 'q7v4e790mcn32dtehp6qemlgj6' 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', 'q7v4e790mcn32dtehp6qemlgj6', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/blogs/single.html')

SELECT id FROM cms_stats WHERE (ip = '54.81.59.211' AND page = '/blogs/single.html')

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

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

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

SELECT 1 FROM cms_blogs WHERE ownertype='single' AND owner='user'

SELECT 1 FROM cms_blogs WHERE ownertype='multi' AND owner='user'

SELECT 1 FROM cms_blogs WHERE owner='club'

SELECT u.id, b. * , u.id AS uid, u.nickname AS author, u.login as author_login, 
                       COUNT(p.id) as records,
                       b.rating AS points
                FROM cms_blogs b
				LEFT JOIN cms_users u ON u.id = b.user_id
                LEFT JOIN cms_blog_posts p ON p.blog_id = b.id WHERE ownertype='single' AND owner='user'
GROUP BY b.id
                 ORDER BY rating DESC LIMIT 0, 15

SELECT * FROM cms_blog_posts WHERE blog_id = 1

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=9

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=11

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=8

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=12

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=13

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=14

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=15

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=53

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=16

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=17

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=18

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=24

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=29

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=34

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=38

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=47

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=57

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1865

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1877

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1979

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1980

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3591

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3894

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3587

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1857

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1858

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1860

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=4661

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3034

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3896

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=4663

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=4664

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=16052

SELECT * FROM cms_blog_posts WHERE blog_id = 29

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=19

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=20

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=21

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=22

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=23

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=26

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=27

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=28

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=30

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=31

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=32

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=33

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=35

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=36

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=37

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=42

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=43

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=44

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=45

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=64

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=54

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=56

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=63

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=67

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=68

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=69

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1058

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1059

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1889

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1890

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1810

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1811

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1812

SELECT * FROM cms_blog_posts WHERE blog_id = 65

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1876

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1878

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1879

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1880

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1881

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1882

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1883

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1884

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1972

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1976

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1977

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1978

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1981

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1982

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1983

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1984

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=2024

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1885

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1886

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1887

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1888

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3328

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3329

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3330

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3331

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3332

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3333

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3319

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3320

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3321

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3322

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3323

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3324

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3029

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3030

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3031

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3032

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3033

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3035

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3036

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3037

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3038

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3039

SELECT * FROM cms_blog_posts WHERE blog_id = 40

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=58

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=59

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=60

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=61

SELECT * FROM cms_blog_posts WHERE blog_id = 84

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=4662

SELECT * FROM cms_blog_posts WHERE blog_id = 61

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1866

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1867

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1868

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1869

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=1870

SELECT * FROM cms_blog_posts WHERE blog_id = 82

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3895

SELECT * FROM cms_blog_posts WHERE blog_id = 38

SELECT * FROM cms_blog_posts WHERE blog_id = 26

SELECT * FROM cms_blog_posts WHERE blog_id = 76

SELECT * FROM cms_blog_posts WHERE blog_id = 85

SELECT * FROM cms_blog_posts WHERE blog_id = 51

SELECT * FROM cms_blog_posts WHERE blog_id = 79

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=3589

SELECT * FROM cms_blog_posts WHERE blog_id = 30

SELECT * FROM cms_blog_posts WHERE blog_id = 86

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=4665

SELECT 1 FROM cms_comments WHERE target='blog' AND target_id=4666

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