SELECT *
FROM jos_languages
WHERE active=1
ORDER BY ordering
SELECT oldurl, newurl
FROM jos_redirection
WHERE oldurl = 'en/inhalt-ait/aithesen.html'
ORDER BY rank ASC
LIMIT 1
UPDATE jos_redirection
SET cpt=(cpt+1)
WHERE `newurl` = 'index.php?option=com_content&Itemid=262&id=590&lang=en&view=article'
AND `oldurl` = 'en/inhalt-ait/aithesen.html'
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 262)
ORDER BY menuid DESC
LIMIT 0, 1
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=1
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-10-13 13:26:04' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:26:04' )
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=1
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=1
AND jf_content.published=1
AND jf_content.reference_id IN(56)
AND jf_content.reference_table='categories'
SHOW TABLES
SELECT *
FROM jos_languages
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-10-13 13:26:04' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:26:04' )
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=1
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=1
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-10-13 13:26:04' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:26:04' )
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=1
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=1
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-10-13 13:26:04' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:26:04' )
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=1
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=1
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