// // //
//
Фотоклуб
Адміністратор клубу:
Рейтинг: 2145 17 користувачів 21 жовтня 2013 в 11:48
Стіна клубу

Записи на стіні відсутні, ваш буде першим!

Час генерації сторінки: 0.9125 сек.
Запити до бази: 46
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 = 'h0o3oipit21uh5jhnmiahtn4t5' AND ip = '54.158.248.167' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.158.248.167', 'h0o3oipit21uh5jhnmiahtn4t5', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/clubs/21')

SELECT id FROM cms_stats WHERE (ip = '54.158.248.167' AND page = '/clubs/21')

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

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

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

SELECT *
                 FROM cms_clubs
                 WHERE id = 21

SELECT 1 FROM cms_user_clubs WHERE club_id = '21' AND user_id = '0' AND role='moderator'

SELECT 1 FROM cms_user_clubs WHERE club_id = '21' AND user_id = '0' AND role='member'

SELECT u.id as id, u.nickname as nickname, u.login as login, p.gender as gender
			FROM cms_clubs c
			LEFT JOIN cms_users u ON u.id = c.admin_id
			LEFT JOIN cms_user_profiles p ON p.user_id = u.id
			WHERE c.id = '21'

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '142' LIMIT 1

SELECT 1
			FROM cms_user_clubs c
			WHERE c.club_id = '21'

SELECT u.id as id, u.nickname as nickname, u.login as login, p.gender as gender
			FROM cms_user_clubs c
			LEFT JOIN cms_users u ON u.id = c.user_id
			LEFT JOIN cms_user_profiles p ON p.user_id = u.id
			WHERE c.club_id = '21'

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '444' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '455' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '456' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '467' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '466' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '22' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '473' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '477' LIMIT 1

SELECT gender as getfield FROM cms_user_profiles WHERE user_id = '486' LIMIT 1

SELECT 1 FROM cms_user_wall WHERE user_id = 21 AND usertype = 'club'

SELECT id as getfield FROM cms_blogs WHERE owner='club' AND user_id=21 LIMIT 1

SELECT p.*, b.seolink as bloglink, p.pubdate as fpubdate
			FROM cms_blog_posts p
			LEFT JOIN cms_blogs b ON b.id = p.blog_id
			WHERE p.blog_id = 63 AND p.published = 1
			ORDER BY pubdate DESC
			LIMIT 10

SELECT 1 FROM cms_blog_posts WHERE blog_id=63 AND published = 0

SELECT 1 FROM cms_blog_posts WHERE blog_id=63 AND published=1

SELECT seolink as getfield FROM cms_blogs WHERE id=63 LIMIT 1

SELECT id as getfield FROM cms_photo_albums WHERE parent_id=0 AND NSDiffer='club21' LIMIT 1

SELECT a.id, a.title, a.pubdate, f.file, IFNULL(COUNT(f.id), 0) as content_count
			FROM cms_photo_albums a
			LEFT JOIN cms_photo_files f ON f.album_id = a.id AND f.published = 1
			WHERE a.NSDiffer='club21' AND a.user_id = '21' AND a.parent_id > 0
			GROUP BY a.id
			ORDER BY a.id DESC LIMIT 6

SELECT 1 FROM cms_photo_albums WHERE NSDiffer = 'club21' AND user_id = '21' AND parent_id > 0

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