// // //
//

Робота сайту

Форуми Активність Останнє повідомлення
Якщо Ви помітили недоліки в роботі сайту, то пишіть сюди
Теми: 2
Повідомлень: 6
в темі: Зміна дизайну
13 травня 2012 в 19:49 від Іштукін В.В.
Хто хоче передати привіт викладачам, працівникам або просто коледжу.
Теми: 1
Повідомлень: 3
в темі: З Днем працівників освіти!
30 вересня 2016 в 15:07 від Державний Університет Телемунікацій
Активні теми категоріїї Автор Активність Останнє повідомлення
Нові повідомлення відсутні
Привітання з нагоди професійного свята
Іштукін В.В. Переглядів: 1432
Відповідей: 2
Перейти до останнього повідомлення від Державний Університет Телемунікацій
30 вересня 2016 в 15:07
Нові повідомлення відсутні Іштукін В.В. Переглядів: 1346
Відповідей: 4
Перейти до останнього повідомлення від Іштукін В.В.
13 травня 2012 в 19:49
Нові повідомлення відсутні
Важливе зауваження по роботі сайту
Іштукін В.В. Переглядів: 620
Відповідей: 0
Перейти до останнього повідомлення від Іштукін В.В.
5 лютого 2012 в 03:02
Час генерації сторінки: 0.9826 сек.
Запити до бази: 40
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 = 'b3n7bvhm1990q9al08ma9t4me4' AND ip = '54.196.47.128' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.196.47.128', 'b3n7bvhm1990q9al08ma9t4me4', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/forum/robota-saitu')

SELECT id FROM cms_stats WHERE (ip = '54.196.47.128' AND page = '/forum/robota-saitu')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.196.47.128', NOW(), '/forum/robota-saitu', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '')

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

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

SELECT *
            FROM cms_forum_cats
            WHERE seolink = 'robota-saitu' AND published = 1 AND auth_group = 0
            LIMIT 1

SELECT id as getfield FROM cms_forums WHERE parent_id=0 LIMIT 1

SELECT *
			 FROM cms_forums
			 WHERE published = 1 AND category_id = '2' AND parent_id = '1000'
			 ORDER BY ordering

SELECT id, title, access_list
					FROM cms_forums
					WHERE parent_id = '1007'
					ORDER BY title

SELECT t.id
				FROM cms_forum_threads t
				INNER JOIN cms_forums f ON f.id = t.forum_id AND f.NSLeft >= '0' AND f.NSRight <= '1' AND f.published = 1

SELECT p.id
				FROM cms_forum_posts p
				INNER JOIN cms_forum_threads t ON t.id = p.thread_id
				INNER JOIN cms_forums f ON f.id = t.forum_id AND f.NSLeft >= '0' AND f.NSRight <= '1' AND f.published = 1

SELECT NSLeft, NSRight FROM cms_forums WHERE id='1007' ORDER BY id ASC LIMIT 1

SELECT p.pubdate, p.id as post_id,
				   u.id as uid, u.nickname as author,
                   u.login as author_login, 
				   t.title as threadtitle, t.id as threadid
			FROM cms_forum_posts p
			LEFT JOIN cms_forum_threads t ON t.id = p.thread_id AND t.is_hidden=0
			INNER JOIN cms_forums f ON f.id = t.forum_id
			LEFT JOIN cms_users u ON u.id = p.user_id
			WHERE (f.NSLeft >= 0 AND f.NSRight <= 1)
			ORDER BY p.id DESC
			LIMIT 1

SELECT 1 FROM cms_forum_posts WHERE thread_id=24

SELECT id, title, access_list
					FROM cms_forums
					WHERE parent_id = '1008'
					ORDER BY title

SELECT t.id
				FROM cms_forum_threads t
				INNER JOIN cms_forums f ON f.id = t.forum_id AND f.NSLeft >= '2' AND f.NSRight <= '3' AND f.published = 1

SELECT p.id
				FROM cms_forum_posts p
				INNER JOIN cms_forum_threads t ON t.id = p.thread_id
				INNER JOIN cms_forums f ON f.id = t.forum_id AND f.NSLeft >= '2' AND f.NSRight <= '3' AND f.published = 1

SELECT NSLeft, NSRight FROM cms_forums WHERE id='1008' ORDER BY id ASC LIMIT 1

SELECT p.pubdate, p.id as post_id,
				   u.id as uid, u.nickname as author,
                   u.login as author_login, 
				   t.title as threadtitle, t.id as threadid
			FROM cms_forum_posts p
			LEFT JOIN cms_forum_threads t ON t.id = p.thread_id AND t.is_hidden=0
			INNER JOIN cms_forums f ON f.id = t.forum_id
			LEFT JOIN cms_users u ON u.id = p.user_id
			WHERE (f.NSLeft >= 2 AND f.NSRight <= 3)
			ORDER BY p.id DESC
			LIMIT 1

SELECT 1 FROM cms_forum_posts WHERE thread_id=45

SELECT t.*, COUNT(p.id) as postsnum, IF(t.pubdate > '9999-01-01 12:00:00', 1, 0) as is_new, u.nickname, u.login
             FROM cms_forum_threads t
			 INNER JOIN cms_forums f ON f.id = t.forum_id
			 INNER JOIN cms_forum_cats cat ON cat.id = f.category_id AND cat.id = '2'
			 INNER JOIN cms_forum_posts p ON p.thread_id = t.id
			 LEFT JOIN cms_users u ON u.id = t.user_id
             WHERE t.is_hidden = 0 AND t.closed = 0
             GROUP BY t.id
             ORDER BY t.pubdate DESC, t.hits DESC
             LIMIT 15

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '45'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '24'
			ORDER BY p.pubdate DESC
			LIMIT 1

SELECT p.id, p.pubdate, p.thread_id as tr_id, u.id as uid, u.nickname as author, u.login as author_login
			FROM cms_forum_posts p
			INNER JOIN cms_users u ON u.id = p.user_id
			WHERE p.thread_id = '14'
			ORDER BY p.pubdate DESC
			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 = '18' 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 = '18' 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 = '18' 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 = '18' 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 = '18' 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 = '18' OR mb.menu_id = 0)
                  AND (m.is_strict_bind = 0)
            ORDER BY m.ordering ASC