SELECT *
FROM jos_languages
WHERE active=1
ORDER BY ordering
SELECT oldurl, newurl
FROM jos_redirection
WHERE oldurl = 'architektursalon-foto-galerie/16-januar-2014-vernissage-bkult-featuring-van-bo-le-mentzel-konstruieren-statt-konsumieren.html'
ORDER BY rank ASC
LIMIT 1
UPDATE jos_redirection
SET cpt=(cpt+1)
WHERE `newurl` = 'index.php?option=com_content&Itemid=293&catid=43&id=1007&lang=de&view=article'
AND `oldurl` = 'architektursalon-foto-galerie/16-januar-2014-vernissage-bkult-featuring-van-bo-le-mentzel-konstruieren-statt-konsumieren.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 = 293)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT a.*, u.name AS author, u.usertype, cc.title AS category, s.title AS SECTION, 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, g.name AS groups, s.published AS sec_pub, cc.published AS cat_pub, s.access AS sec_access, cc.access AS cat_access
FROM jos_content AS a
LEFT JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = cc.SECTION
AND s.scope = "content"
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE a.id = 1007
AND ( ( a.created_by = 0 ) OR ( a.state = 1
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-13 13:54:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:54:28' ) ) OR ( a.state = -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(1007)
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(43)
AND jf_content.reference_table='categories'
UPDATE jos_content
SET hits = ( hits + 1 )
WHERE id='1007'
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-10-13 13:54:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:54:28' )
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-10-13 13:54:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:54:28' )
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-10-13 13:54:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:54:28' )
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-10-13 13:54:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-13 13:54:28' )
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