// // //
//
DSC05318.JPG
salivon — 1 жовтня 2014 — Переглядів: 218
DSC05318.JPG
Коментарі (0)

Коментарі відсутні. Ваш буде першим!

Час генерації сторінки: 0.2865 сек.
Запити до бази: 35
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 = '85lj6r86u6iq2e1cpjsqe1s4b1' AND ip = '54.166.141.69' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.166.141.69', '85lj6r86u6iq2e1cpjsqe1s4b1', NOW(), '0', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '/users/593/photo804.html')

SELECT id FROM cms_stats WHERE (ip = '54.166.141.69' AND page = '/users/593/photo804.html')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.166.141.69', NOW(), '/users/593/photo804.html', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '')

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

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

SELECT id, nickname, login FROM cms_users WHERE id = '593' ORDER BY id ASC LIMIT 1

SELECT p.*, a.title as album, pr.gender
            FROM cms_user_photos p
			INNER JOIN cms_user_albums a ON a.id = p.album_id
			INNER JOIN cms_user_profiles pr ON pr.user_id = p.user_id
            WHERE p.id = '804' AND p.user_id = '593'
                    LIMIT 1

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

SELECT id, title, pubdate FROM cms_user_photos WHERE id>'804' AND user_id = '593' AND album_id='135' ORDER BY id ASC LIMIT 1

SELECT id, title, pubdate FROM cms_user_photos WHERE id<'804' AND user_id = '593' AND album_id='135' ORDER BY id DESC LIMIT 1

UPDATE cms_user_photos SET hits = hits + 1 WHERE id = 804

SELECT total_rating, total_votes FROM cms_ratings_total WHERE item_id = '804' AND target='userphoto' ORDER BY id ASC LIMIT 1

SELECT total_rating, total_votes FROM cms_ratings_total WHERE item_id = '804' AND target='userphoto' ORDER BY id ASC LIMIT 1

SELECT tag
			FROM cms_tags 
			WHERE target='userphoto' AND item_id='804'
			ORDER BY tag DESC

SELECT id
                FROM cms_comments
                WHERE target='userphoto' AND target_id=804 AND published=1

SELECT access FROM cms_user_groups WHERE id = 8 LIMIT 1

SELECT access FROM cms_user_groups WHERE id = 8 LIMIT 1

SELECT c.*,
                       IFNULL(v.total_rating, 0) as votes,
					   IFNULL(u.nickname, 0) as nickname,
					   IFNULL(u.login, 0) as login,
					   IFNULL(u.is_deleted, 0) as is_deleted,
					   IFNULL(p.imageurl, 0) as imageurl,
                       (NOW() < DATE_ADD(c.pubdate, INTERVAL 0 MINUTE)) as is_editable
                FROM cms_comments c
                LEFT JOIN cms_ratings_total v ON v.item_id = c.id AND v.target = 'comment'
				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.target='userphoto' AND c.target_id=804 AND c.published=1
                ORDER BY c.pubdate ASC

SELECT 1 FROM cms_subscribe WHERE user_id = 0 AND target = 'userphoto' AND target_id = 804

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