SELECT *
FROM jos_languages
WHERE active=1
ORDER BY ordering
SELECT oldurl, newurl
FROM jos_redirection
WHERE oldurl = 'aithesen-koeln/architektursalon.html'
ORDER BY rank ASC
LIMIT 1
UPDATE jos_redirection
SET cpt=(cpt+1)
WHERE `newurl` = 'index.php?option=com_content&Itemid=287&id=39&lang=de&layout=blog&view=category'
AND `oldurl` = 'aithesen-koeln/architektursalon.html'
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_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 jos_jf_content AS jf_content
WHERE jf_content.language_id=2
AND jf_content.published=1
AND jf_content.reference_id IN(282,199,224,242,259,280,302,305,306,315,349,350,351,20,170,279,309,353,379,51,285,292,303,307,316,393,283,308,317,324,374,404,24,286,318,354,391,325,366,380,390,326,338,381,367,382,396,388,389,255,371,163,373,412,284,364,413,200,229,398,274,271,234,233,262,287,407,243,272,277,335,244,246,267,230,231,408,409,293,304,402,321,322,323,327,352,332,333,334,414,411,403,397,395,357,387,358,219,258,245,392,348,248,405,406,336,276,410,291)
AND jf_content.reference_table='menu'
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 287)
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 = 39
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(39)
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 = 39
AND a.state = 1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2024-12-10 15:40:39' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2024-12-10 15:40:39' )
ORDER BY cc.ordering, a.ordering, a.created DESC
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(391)
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(391)
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 = 39
AND a.state = 1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2024-12-10 15:40:39' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2024-12-10 15:40:39' )
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:40:39' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:40:39' )
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 params
FROM jos_advancedmodules
WHERE moduleid = 276
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:40:39' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:40:39' )
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:40:39' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:40:39' )
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:40:39' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-10 15:40:39' )
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