// // //
//

Персональний блог Дєди В.М.

Автор блогу: Дєда Вікторія
Тема4.5 Город,сал на ділянці
0
лекція 4.5 Город,сал на ділянці
ЗАВАНТАЖИТи
4.3 Земельна ділянка
0
Лекція 4.3 Земельна ділянка
ЗАВАНТАЖИТИ
Практична робота 5.3
0
Практична робота по ознайомленню з весняними явищами в природі
ЗАВАНТАЖИТИ
Практична робота 5.2
0
практична робота з основ природознавства і методики ознайомлення з природою
ЗАВАНТАЖИТИ
Час генерації сторінки: 0.9718 сек.
Запити до бази: 45
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 = '7hhkrjq6gqnq8ftmlc0s08moq1' AND ip = '54.158.214.111' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.158.214.111', '7hhkrjq6gqnq8ftmlc0s08moq1', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/blogs/personalnyi-blog-d-dy-v-m')

SELECT id FROM cms_stats WHERE (ip = '54.158.214.111' AND page = '/blogs/personalnyi-blog-d-dy-v-m')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.158.214.111', NOW(), '/blogs/personalnyi-blog-d-dy-v-m', '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 *
				FROM cms_blogs
				WHERE seolink = 'personalnyi-blog-d-dy-v-m'
				LIMIT 1

SELECT nickname as getfield FROM cms_users WHERE id=823 LIMIT 1

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

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

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

SELECT cat.*, IFNULL(COUNT(p.id), 0) as num
			FROM cms_blog_cats cat
			LEFT JOIN cms_blog_posts p ON p.cat_id = cat.id AND p.blog_id = 87 AND p.published = 1
			WHERE cat.blog_id = 87
			GROUP BY cat.id

SELECT p.id
                FROM cms_blogs b
				LEFT JOIN cms_blog_posts p ON p.blog_id = b.id
                WHERE b.id = '87' AND p.published = 1 AND b.owner = 'user'

SELECT p.*, 
                       IFNULL(r.total_rating, 0) as points, u.nickname as author, u.id as author_id
                FROM cms_blogs b
				LEFT JOIN cms_blog_posts p ON p.blog_id = b.id
                LEFT JOIN cms_ratings_total r ON r.item_id=p.id AND r.target='blogpost'
				LEFT JOIN cms_users u ON u.id = p.user_id
                WHERE b.id = 87 AND p.published = 1 AND b.owner = 'user' 
                ORDER BY p.pubdate DESC LIMIT 0, 10

SELECT id FROM cms_comments WHERE target = 'blog' AND target_id = '4671' AND published = 1

SELECT tag
			FROM cms_tags 
			WHERE target='blogpost' AND item_id='4671'
			ORDER BY tag DESC

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

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

SELECT id FROM cms_comments WHERE target = 'blog' AND target_id = '4670' AND published = 1

SELECT tag
			FROM cms_tags 
			WHERE target='blogpost' AND item_id='4670'
			ORDER BY tag DESC

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

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

SELECT id FROM cms_comments WHERE target = 'blog' AND target_id = '4669' AND published = 1

SELECT tag
			FROM cms_tags 
			WHERE target='blogpost' AND item_id='4669'
			ORDER BY tag DESC

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

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

SELECT id FROM cms_comments WHERE target = 'blog' AND target_id = '4668' AND published = 1

SELECT tag
			FROM cms_tags 
			WHERE target='blogpost' AND item_id='4668'
			ORDER BY tag DESC

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

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

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