Кто онлайн?
Пользователей: 0
Гостей: 2
Сегодня зарегистрированные пользователи не посещали сайт

Гюзел

Гюзел 

Рейтинг: 0

Просмотров: 1442

Вернуться к альбому
Вернуться к списку альбомов
Код для вставки на форумы:
Комментарии (0)

Нет комментариев. Ваш будет первым!

Время генерации страницы: 0.0693 сек.
Запросы к базе: 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 = 'd5gsqdtljqpf7o9dn42sojq043' AND ip = '18.206.238.176' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('18.206.238.176', 'd5gsqdtljqpf7o9dn42sojq043', NOW(), '0', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '/photos/photo460.html')

SELECT id FROM cms_stats WHERE (ip = '18.206.238.176' AND page = '/photos/photo460.html')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('18.206.238.176', NOW(), '/photos/photo460.html', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '')

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

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

SELECT id, title FROM cms_photo_albums WHERE parent_id=0 AND NSDiffer='' ORDER BY id ASC LIMIT 1

SELECT f.id, f.album_id, f.title, f.description, f.pubdate, f.file, f.published, f.hits, f.comments, f.user_id,
			a.id cat_id, a.NSLeft as NSLeft, a.NSRight as NSRight, a.NSDiffer as NSDiffer, a.user_id as album_user_id, a.title cat_title, a.nav album_nav, a.public public, a.showtype a_type, a.showtags a_tags, a.bbcode a_bbcode, u.nickname, u.login, p.gender,
			IFNULL(r.total_rating, 0) as rating
			FROM cms_photo_files f
			LEFT JOIN cms_photo_albums a ON a.id = f.album_id
			LEFT JOIN cms_ratings_total r ON r.item_id = f.id AND r.target = 'photo'
			LEFT JOIN cms_users u ON u.id = f.user_id
			INNER JOIN cms_user_profiles p ON p.user_id = u.id
			WHERE f.id = '460'

SELECT id, title, NSLevel FROM cms_photo_albums WHERE NSLeft <= 1 AND NSRight >= 28 AND parent_id > 0 AND NSDiffer = '' ORDER BY NSLeft

UPDATE cms_photo_files SET hits = hits + 1 WHERE id = '460'

SELECT id, file FROM cms_photo_files WHERE id<460 AND album_id = 100 AND published=1 ORDER BY id DESC LIMIT 1

SELECT id, file FROM cms_photo_files WHERE id>460 AND album_id = 100 AND published=1 ORDER BY id ASC LIMIT 1

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

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

SELECT tag
			FROM cms_tags 
			WHERE target='photo' AND item_id='460'
			ORDER BY tag DESC

SELECT id
                FROM cms_comments
                WHERE target='photo' AND target_id=460 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='photo' AND c.target_id=460 AND c.published=1
                ORDER BY c.pubdate ASC

SELECT 1 FROM cms_subscribe WHERE user_id = 0 AND target = 'photo' AND target_id = 460

SELECT m.access_list
            FROM cms_modules m, cms_modules_bind mb
            WHERE mb.position = 'left' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' 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 = 'right' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' 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 = 'left' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' 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 = 'right' AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' 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 = 'usermenu') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' 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 = 'topmenu') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' 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 = '3' 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 > -3 AND NSRight < 16 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 = 'left') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT cat.*, COUNT(con.id) as content_count 
				FROM cms_category cat, cms_content con
				WHERE (cat.parent_id = 1 AND cat.id > 0) AND con.category_id = cat.id AND cat.published = 1
				GROUP BY con.category_id
				ORDER BY cat.title DESC

SELECT		        
				o.user_id as id,
				u.login,
				u.nickname,
				p.gender as gender
				FROM cms_online o
                LEFT JOIN cms_users u ON  u.id = o.user_id
				LEFT JOIN cms_user_profiles p ON p.user_id = u.id
				WHERE u.is_locked = 0 AND u.is_deleted = 0
                GROUP BY o.user_id

SELECT 1 FROM cms_online WHERE user_id = 0 OR user_id = ''

SELECT u.id as id, u.nickname as nickname, u.login as login, p.gender as gender
                FROM cms_users u
				LEFT JOIN cms_user_profiles p ON p.user_id = u.id
                WHERE u.is_locked = 0 AND u.is_deleted = 0 AND DATE_FORMAT(u.logdate, '%Y-%m-%d')='2020-07-08'
                ORDER BY u.logdate DESC

SELECT *, m.id as mid, m.template as tpl
            FROM cms_modules m, cms_modules_bind mb
            WHERE (mb.position = 'right') AND
                  m.published = 1 AND
                  m.id = mb.module_id AND
                  (mb.menu_id = '3' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC

SELECT NSLeft, NSRight FROM cms_category WHERE id='5' ORDER BY id ASC LIMIT 1

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