SELECT *
FROM jos_languages
WHERE active=1
ORDER BY ordering
SELECT oldurl, newurl
FROM jos_redirection
WHERE oldurl = 'architektenlunch/architektursalon.html'
ORDER BY rank ASC
LIMIT 1
UPDATE jos_redirection
SET cpt=(cpt+1)
WHERE `newurl` = 'index.php?option=com_content&Itemid=274&id=72&lang=de&layout=blog&view=category'
AND `oldurl` = 'architektenlunch/architektursalon.html'
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 274)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT c.*, s.id AS sectionid, s.title AS sectiontitle, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias) ELSE c.id END AS slug
FROM jos_categories AS c
INNER JOIN jos_sections AS s
ON s.id = c.SECTION
WHERE c.id = 72
LIMIT 0, 1
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(72)
AND jf_content.reference_table='categories'
SELECT cc.title AS category, 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.attribs, a.hits, a.images, a.urls, a.ordering, 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
FROM jos_content AS a
LEFT JOIN jos_categories AS cc
ON a.catid = cc.id
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE 1
AND a.access <= 0
AND a.catid = 72
AND a.state = 1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2024-12-10 15:42:32' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2024-12-10 15:42:32' )
ORDER BY cc.ordering, a.ordering, a.created DESC
LIMIT 0, 1012
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(573,1211,1210,1178,1161,1159,110,1151,1137,1136,1135,1134,1133,1101,1092,1081,1071,1061,1056,1046,1043,899,898,897,896,895,894,893,892,890,889,821,810,808,807,721,718,703,682,678,679,642,624,602,593)
AND jf_content.reference_table='categories'
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(573,1211,1210,1178,1161,1159,110,1151,1137,1136,1135,1134,1133,1101,1092,1081,1071,1061,1056,1046,1043,899,898,897,896,895,894,893,892,890,889,821,810,808,807,721,718,703,682,678,679,642,624,602,593)
AND jf_content.reference_table='content'
SELECT cc.title AS category, 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.attribs, a.hits, a.images, a.urls, a.ordering, 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
FROM jos_content AS a
LEFT JOIN jos_categories AS cc
ON a.catid = cc.id
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE 1
AND a.access <= 0
AND a.catid = 72
AND a.state = 1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2024-12-10 15:42:32' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2024-12-10 15:42:32' )
ORDER BY cc.ordering, a.ordering, a.created DESC
SHOW TABLES
SELECT *
FROM jos_languages
SELECT m.*, am.params AS adv_params
FROM jos_modules AS m
LEFT JOIN jos_advancedmodules AS am
ON am.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
ORDER BY m.ordering, m.id
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(72,83,1,87,172,223,226,235,27,228,245,246,279,198,213,232,190,224,250,284,184,263,248,234,276,229,277,278,30)
AND jf_content.reference_table='modules'
SELECT a.*, cc.title AS ctitle, s.title AS stitle, 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
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE ( a.state = '1'
AND a.checked_out = '0' )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-12-10 15:42:32' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:42:32' )
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND ( a.catid IN (56) )
ORDER BY a.ordering
LIMIT 0,3
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(1240,1239,1238)
AND jf_content.reference_table='content'
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(56)
AND jf_content.reference_table='categories'
SELECT a.*, cc.title AS ctitle, s.title AS stitle, 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
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE ( a.state = '1'
AND a.checked_out = '0' )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-12-10 15:42:32' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:42:32' )
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND ( a.catid IN (109) )
ORDER BY a.ordering
LIMIT 0,999
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(1230,1192,1177,1176,1175,1174,1173,1172,1171,1169)
AND jf_content.reference_table='content'
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(109)
AND jf_content.reference_table='categories'
SELECT a.*, cc.title AS ctitle, s.title AS stitle, 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
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE ( a.state = '1'
AND a.checked_out = '0' )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-12-10 15:42:32' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:42:32' )
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND ( a.catid IN (99) )
ORDER BY a.ordering
LIMIT 0,999
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(1225,1224,1220,1219,1218,1217,1216,1209,1179,1207,1168,912,913)
AND jf_content.reference_table='content'
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(99)
AND jf_content.reference_table='categories'
SELECT a.*, cc.title AS ctitle, s.title AS stitle, 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
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE ( a.state = '1'
AND a.checked_out = '0' )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-12-10 15:42:32' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:42:32' )
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND ( a.catid IN (100) )
ORDER BY a.ordering
LIMIT 0,999
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(1208,1180,914,915)
AND jf_content.reference_table='content'
SELECT jf_content.reference_field, jf_content.VALUE, jf_content.reference_id, jf_content.original_value
FROM jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(100)
AND jf_content.reference_table='categories'
SELECT *
FROM jos_banner
WHERE showBanner = 1
AND (imptotal = 0 OR impmade < imptotal)
AND cid = 1
AND catid = 13
ORDER BY sticky DESC, ordering
LIMIT 0, 1
UPDATE jos_banner
SET impmade = impmade + 1
WHERE bid = 1