SELECT MAX(time)
FROM ntd_vvcounter_logs
SELECT m.*, c.`option` AS component
FROM ntd_menu AS m
LEFT JOIN ntd_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(1,20,28,40,97,38,51,98,91,43,52,99,93,24,76,100,92,101,154,102,109,94,113,96)
AND jf_content.reference_table='menu'
SELECT template
FROM ntd_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 1)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.metakey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, g.name AS groups, u.email AS author_email, cc.title AS category, s.title AS section, s.ordering AS s_ordering, cc.ordering AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering
FROM ntd_content AS a
INNER JOIN ntd_content_frontpage AS f
ON f.content_id = a.id
LEFT JOIN ntd_categories AS cc
ON cc.id = a.catid
LEFT JOIN ntd_sections AS s
ON s.id = a.sectionid
LEFT JOIN ntd_users AS u
ON u.id = a.created_by
LEFT JOIN ntd_groups AS g
ON a.access = g.id
WHERE 1
AND (a.lang = 0 OR a.lang=1)
AND a.access <= 0
AND a.state = 1
AND (( cc.published = 1
AND s.published = 1 ) OR ( a.catid = 0
AND a.sectionid = 0 ) )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2026-08-13 10:59:25' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-08-13 10:59:25' )
ORDER BY f.ordering
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(869)
AND jf_content.reference_table='content'
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(869)
AND jf_content.reference_table='users'
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(62)
AND jf_content.reference_table='categories'
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(13)
AND jf_content.reference_table='sections'
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.metakey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, g.name AS groups, u.email AS author_email, cc.title AS category, s.title AS section, s.ordering AS s_ordering, cc.ordering AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering
FROM ntd_content AS a
INNER JOIN ntd_content_frontpage AS f
ON f.content_id = a.id
LEFT JOIN ntd_categories AS cc
ON cc.id = a.catid
LEFT JOIN ntd_sections AS s
ON s.id = a.sectionid
LEFT JOIN ntd_users AS u
ON u.id = a.created_by
LEFT JOIN ntd_groups AS g
ON a.access = g.id
WHERE 1
AND (a.lang = 0 OR a.lang=1)
AND a.access <= 0
AND a.state = 1
AND (( cc.published = 1
AND s.published = 1 ) OR ( a.catid = 0
AND a.sectionid = 0 ) )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2026-08-13 10:59:25' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-08-13 10:59:25' )
ORDER BY f.ordering
SELECT id, title, module, position, content, showtitle, control, params
FROM ntd_modules AS m
LEFT JOIN ntd_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 1 OR mm.menuid = 0 )
ORDER BY position, ordering
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(35,71,72,60,63,64,65,66,70,80,61,53,137,73,75,76,38,55,36,25,19,22,1,27,29,43,78,21)
AND jf_content.reference_table='modules'
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time > 1786579200
SELECT session_id, time, guest, DATA
FROM ntd_session
WHERE '1=1'
AND time >= 1786618285
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time <= 1786579200
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time > 1786492800
AND time <= 1786579200
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time > 1786233600
AND time <= 1786579200
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time > 1785628800
AND time <= 1786233600
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time > 1785542400
AND time <= 1786579200
SELECT time, visits, guests, members, bots
FROM ntd_vvcounter_logs
WHERE '1=1'
AND time > 1782864000
AND time <= 1785542400
SELECT session_id, time, guest, DATA
FROM ntd_session
WHERE time > 1786617869
SELECT *
FROM ntd_banner
WHERE showBanner = 1
AND (imptotal = 0 OR impmade < imptotal)
AND cid = 1
AND catid = 46
ORDER BY sticky DESC, ordering
LIMIT 0, 4
UPDATE ntd_banner
SET impmade = impmade + 1
WHERE bid = 11
SELECT a.*,cc.description AS catdesc, cc.title AS cattitle,s.description AS secdesc, s.title AS sectitle, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS secslug
FROM ntd_content AS a
INNER JOIN ntd_categories AS cc
ON cc.id = a.catid
INNER JOIN ntd_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2026-08-13 10:59:29' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-08-13 10:59:29' )
AND (a.lang = 0 OR a.lang=1)
AND cc.id=59
AND cc.section = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
LIMIT 0, 11
SELECT a.*,cc.description AS catdesc, cc.title AS cattitle,s.description AS secdesc, s.title AS sectitle, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS secslug
FROM ntd_content AS a
INNER JOIN ntd_categories AS cc
ON cc.id = a.catid
INNER JOIN ntd_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2026-08-13 10:59:29' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-08-13 10:59:29' )
AND (a.lang = 0 OR a.lang=1)
AND cc.id=60
AND cc.section = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
LIMIT 0, 11
SELECT a.*,cc.description AS catdesc, cc.title AS cattitle,s.description AS secdesc, s.title AS sectitle, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS secslug
FROM ntd_content AS a
INNER JOIN ntd_categories AS cc
ON cc.id = a.catid
INNER JOIN ntd_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2026-08-13 10:59:29' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-08-13 10:59:29' )
AND (a.lang = 0 OR a.lang=1)
AND cc.id=61
AND cc.section = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
LIMIT 0, 11
SELECT a.*,cc.description AS catdesc, cc.title AS cattitle,s.description AS secdesc, s.title AS sectitle, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS secslug
FROM ntd_content AS a
INNER JOIN ntd_categories AS cc
ON cc.id = a.catid
INNER JOIN ntd_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2026-08-13 10:59:29' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2026-08-13 10:59:29' )
AND (a.lang = 0 OR a.lang=1)
AND cc.id=62
AND cc.section = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
LIMIT 0, 11
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(869)
AND jf_content.reference_table='content'
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(62)
AND jf_content.reference_table='categories'
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(13)
AND jf_content.reference_table='sections'
SELECT g.*
FROM ntd_core_acl_aro_groups AS g
INNER JOIN ntd_core_acl_groups_aro_map AS gm
ON gm.group_id = g.id
INNER JOIN ntd_core_acl_aro AS ao
ON ao.id = gm.aro_id
WHERE ao.value='118'
ORDER BY g.id
SELECT m.*, c.`option` AS component
FROM ntd_menu AS m
LEFT JOIN ntd_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=1
AND jf_content.published=1
AND jf_content.reference_id IN(1,20,28,40,97,38,51,98,91,43,52,99,93,24,76,100,92,101,154,102,109,94,113,96)
AND jf_content.reference_table='menu'
SELECT jf_content.reference_field, jf_content.value, jf_content.reference_id, jf_content.original_value
FROM ntd_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(1)
AND jf_content.reference_table='menu'