// // //
//

Відео

Відеоролики з життя коледжу
  
Активний блогерМедаль
Повідомлень: 119

Свято Першого дзвоника

Редагувалось: 1 разів (Останній: 15 вересня 2017 в 21:37)
Немає невдач і помилок, Немає розлук, нема тривог.
Та є дороги і є мости, Є світло в вікні, де потрібен ти.
На початок сторінки 
|
Перейти на форум:
Сторінки: Перша Попередня 1 2 3 4
Швидка відповідь
Щоб писати на форумі, зареєструйтесь або авторизуйтесь.
Час генерації сторінки: 0.9277 сек.
Запити до бази: 36
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 = 'o2t3kpmm4a9ln42ebbrmfaueg2' AND ip = '54.162.181.75' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.162.181.75', 'o2t3kpmm4a9ln42ebbrmfaueg2', NOW(), '0', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '/forum/thread25-4.html')

SELECT id FROM cms_stats WHERE (ip = '54.162.181.75' AND page = '/forum/thread25-4.html')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.162.181.75', NOW(), '/forum/thread25-4.html', '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 t.*, f.title as forum, f.id as fid, f.NSLeft as forum_left, f.NSRight as forum_right, f.access_list
			FROM cms_forum_threads t
			INNER JOIN cms_forums f ON f.id = t.forum_id
			WHERE t.id = '25' LIMIT 1

SELECT access FROM cms_user_groups WHERE id = 8 LIMIT 1

UPDATE cms_forum_threads SET hits = hits + 1 WHERE id = 25

SELECT id FROM cms_forum_posts WHERE thread_id = '25'

SELECT id, title, NSLevel, access_list FROM cms_forums WHERE NSLeft <= 4 AND NSRight >= 5 AND parent_id > 0 ORDER BY NSLeft

SELECT p.*, u.id as uid, u.nickname author, u.login author_login, u.is_deleted deleted, up.imageurl imageurl, up.signature signature
			 FROM cms_forum_posts p
			 LEFT JOIN cms_users u ON u.id = p.user_id
			 LEFT JOIN cms_user_profiles up ON up.user_id = u.id
			 WHERE p.thread_id = '25'
			 ORDER BY p.pubdate ASC
			 LIMIT 45, 15

SELECT *, (TO_DAYS(enddate) - TO_DAYS(CURDATE())) as daysleft, DATE_FORMAT(enddate, '%d-%m-%Y') as fenddate
			FROM cms_forum_polls 
			WHERE thread_id = '25'

SELECT 1 FROM cms_forum_posts WHERE user_id = '1'

SELECT title FROM cms_user_awards WHERE user_id = '1'

SELECT user_id FROM cms_online WHERE user_id > 0

SELECT f.*
				FROM cms_forum_files f
				WHERE f.post_id = '11520'

SELECT id, title FROM cms_forum_threads WHERE id<25 AND forum_id = 1005 ORDER BY id DESC LIMIT 1

SELECT id, title FROM cms_forum_threads WHERE id>25 AND forum_id = 1005 ORDER BY id ASC LIMIT 1

SELECT id, parent_id, NSLevel, title, access_list
			 FROM cms_forums 
			 WHERE published = 1
			 ORDER BY NSLeft

SELECT 1 FROM cms_forum_posts WHERE thread_id=25

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