// // //
//
:
 : 190
# .
031-vs.pdf0,21 11 2018 07:56110
121-vs.pdf0,2 11 2018 07:54166
231-fv.pdf0,21 9 2018 08:39171
321-fv.pdf0,19 9 2018 08:39222
431-to.pdf0,19 9 2018 08:3696
521-to.pdf0,2 9 2018 08:3581
611-to.pdf0,19 9 2018 08:35122
732-po.pdf0,19 9 2018 08:22123
831-po.pdf0,19 9 2018 08:22115
922-po.pdf0,19 9 2018 08:21132
1021-po.pdf0,19 9 2018 08:21131
1112-po.pdf0,19 9 2018 08:20141
1211-po.pdf0,19 9 2018 08:20178
13img-20180516-134245.jpg1,69 18 2018 08:2876
14img-20180517-124537.jpg1,66 18 2018 08:254250
15modulna-kontrolna-robota-1-2.rar0,01 5 2018 11:1552
16pytanja-do-ekzamenu-shk.rar0,01 4 2018 23:2738
17logo.jpg0,13 31 2018 17:422144
18img-20180223-140454.jpg1,59 7 2018 08:5791
19img-20180223-111118.jpg1,33 7 2018 08:5499
: 0.2798 .
: 25
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 = 'v6jeank8uostchinnh73kq6537' AND ip = '54.198.23.251' LIMIT 1

INSERT INTO cms_online (ip, sess_id, lastdate, user_id, agent, viewurl) VALUES ('54.198.23.251', 'v6jeank8uostchinnh73kq6537', NOW(), '0', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '/users/142/files.html')

SELECT id FROM cms_stats WHERE (ip = '54.198.23.251' AND page = '/users/142/files.html')

INSERT INTO cms_stats (ip, logdate, page, agent, refer) VALUES ('54.198.23.251', NOW(), '/users/142/files.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 = '142' ORDER BY id ASC LIMIT 1

SELECT *
	FROM cms_user_files
			WHERE user_id = '142' AND allow_who='all'
			ORDER BY pubdate desc
			LIMIT 0, 20

SELECT 1 FROM cms_user_files WHERE user_id = 142 AND allow_who='all'

SELECT SUM(filesize) as totalsize FROM cms_user_files WHERE user_id = 142 GROUP BY user_id

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