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=1
AND jf_content.published=1
AND jf_content.reference_id IN(20,218,227,51,52,230,24,219,54,228,225,224,229,233,221)
AND jf_content.reference_table='menu'
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 230)
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 = 82
AND ( ( a.created_by = 0 ) OR ( a.state = 1
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2021-03-07 06:07:34' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2021-03-07 06:07:34' ) ) 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=1
AND jf_content.published=1
AND jf_content.reference_id IN(82)
AND jf_content.reference_table='content'
UPDATE jos_content
SET hits = ( hits + 1 )
WHERE id='82'
SELECT params
FROM jos_components AS c
WHERE c.OPTION='com_widgetkit'
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(1,294,308,309,340,341,353,29,134,255,333,348,291,301,337)
AND jf_content.reference_table='modules'
SELECT params
FROM jos_advancedmodules
WHERE moduleid = 134
SELECT *
FROM jos_languages
WHERE active=1
ORDER BY ordering
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(20,218,227,51,52,230,24,219,54,228,225,224,229,233,221)
AND jf_content.reference_table='menu'
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(230)
AND jf_content.reference_table='menu'
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=3
AND jf_content.published=1
AND jf_content.reference_id IN(230)
AND jf_content.reference_table='menu'
SELECT p.*, i.name AS imagename,c.name AS name_category,t.name AS name_type,cy.name AS name_country,s.name AS name_state,l.name AS name_locality, CASE WHEN CHAR_LENGTH(p.alias) THEN CONCAT_WS(":", p.id, p.alias) ELSE p.id END AS Pslug, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias) ELSE c.id END AS Cslug, CASE WHEN CHAR_LENGTH(cy.alias) THEN CONCAT_WS(":", cy.id, cy.alias) ELSE cy.id END AS CYslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS Sslug, CASE WHEN CHAR_LENGTH(l.alias) THEN CONCAT_WS(":", l.id, l.alias) ELSE l.id END AS Lslug, CASE WHEN CHAR_LENGTH(t.alias) THEN CONCAT_WS(":", t.id, t.alias) ELSE t.id END AS Tslug
FROM jos_properties_products AS p
LEFT JOIN jos_properties_country AS cy
ON cy.id = p.cyid
LEFT JOIN jos_properties_state AS s
ON s.id = p.sid
LEFT JOIN jos_properties_locality AS l
ON l.id = p.lid
LEFT JOIN jos_properties_category AS c
ON c.id = p.cid
LEFT JOIN jos_properties_type AS t
ON t.id = p.TYPE
LEFT JOIN jos_properties_images AS i
ON i.parent = p.id
WHERE p.published = 1
AND i.ordering = 1
GROUP BY p.id
ORDER BY RAND()
LIMIT 6
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(163,62,115,25,172,138)
AND jf_content.reference_table='properties_products'
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(163,62,115,25,172,138)
AND jf_content.reference_table='properties_category'
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(163,62,115,25,172,138)
AND jf_content.reference_table='properties_type'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT *
FROM jos_properties_category
WHERE published = 1
ORDER BY name
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(1,3,2)
AND jf_content.reference_table='properties_category'
SELECT *
FROM jos_properties_type
WHERE published = 1
ORDER BY name
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(1,2,3,19,20,21,6,5,4,18,17,16,15,13,14,27,26,25,28,29,24,22,23,7,8,9)
AND jf_content.reference_table='properties_type'
SELECT *
FROM jos_properties_category
WHERE published = 1
ORDER BY name
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(1,3,2)
AND jf_content.reference_table='properties_category'
SELECT *
FROM jos_properties_type
WHERE published = 1
ORDER BY name
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(1,2,3,19,20,21,6,5,4,18,17,16,15,13,14,27,26,25,28,29,24,22,23,7,8,9)
AND jf_content.reference_table='properties_type'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE LOWER( link ) = "index.php?option=com_properties&view=properties"
SELECT p.* , COUNT(p.id) AS cant_prop ,t.name AS name_type,c.name AS name_category, CASE WHEN CHAR_LENGTH(p.alias) THEN CONCAT_WS(":", p.id, p.alias) ELSE p.id END AS Pslug, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias) ELSE c.id END AS Cslug, CASE WHEN CHAR_LENGTH(cy.alias) THEN CONCAT_WS(":", cy.id, cy.alias) ELSE cy.id END AS CYslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS Sslug, CASE WHEN CHAR_LENGTH(l.alias) THEN CONCAT_WS(":", l.id, l.alias) ELSE l.id END AS Lslug, CASE WHEN CHAR_LENGTH(t.alias) THEN CONCAT_WS(":", t.id, t.alias) ELSE t.id END AS Tslug
FROM jos_properties_products AS p
LEFT JOIN jos_properties_country AS cy
ON cy.id = p.cyid
LEFT JOIN jos_properties_state AS s
ON s.id = p.sid
LEFT JOIN jos_properties_locality AS l
ON l.id = p.lid
LEFT JOIN jos_properties_category AS c
ON c.id = p.cid
LEFT JOIN jos_properties_type AS t
ON t.id = p.TYPE
LEFT JOIN jos_properties_images AS i
ON i.parent = p.id
WHERE p.published = 1
GROUP BY p.REF
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(17,18,30,19,51,15,88,115,68,129,138,140,153,135,181,163,10,167,172,175,180,62,70,72,100,25,39,56,37)
AND jf_content.reference_table='properties_products'
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(17,18,30,19,51,15,88,115,68,129,138,140,153,135,181,163,10,167,172,175,180,62,70,72,100,25,39,56,37)
AND jf_content.reference_table='properties_type'
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(17,18,30,19,51,15,88,115,68,129,138,140,153,135,181,163,10,167,172,175,180,62,70,72,100,25,39,56,37)
AND jf_content.reference_table='properties_category'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT p.*,c.name AS nc, t.name AS tn, i.name AS imagename,c.name AS name_category,t.name AS name_type,cy.name AS name_country,s.name AS name_state,l.name AS name_locality, CASE WHEN CHAR_LENGTH(p.alias) THEN CONCAT_WS(":", p.id, p.alias) ELSE p.id END AS Pslug, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias) ELSE c.id END AS Cslug, CASE WHEN CHAR_LENGTH(cy.alias) THEN CONCAT_WS(":", cy.id, cy.alias) ELSE cy.id END AS CYslug, CASE WHEN CHAR_LENGTH(s.alias) THEN CONCAT_WS(":", s.id, s.alias) ELSE s.id END AS Sslug, CASE WHEN CHAR_LENGTH(l.alias) THEN CONCAT_WS(":", l.id, l.alias) ELSE l.id END AS Lslug, CASE WHEN CHAR_LENGTH(t.alias) THEN CONCAT_WS(":", t.id, t.alias) ELSE t.id END AS Tslug
FROM jos_properties_products AS p
LEFT JOIN jos_properties_country AS cy
ON cy.id = p.cyid
LEFT JOIN jos_properties_state AS s
ON s.id = p.sid
LEFT JOIN jos_properties_locality AS l
ON l.id = p.lid
LEFT JOIN jos_properties_category AS c
ON c.id = p.cid
LEFT JOIN jos_properties_type AS t
ON t.id = p.TYPE
LEFT JOIN jos_properties_images AS i
ON i.parent = p.id
WHERE p.published = 1
AND i.ordering = 1
GROUP BY p.id
ORDER BY Rand()
LIMIT 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(10,51,129)
AND jf_content.reference_table='properties_products'
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(10,51,129)
AND jf_content.reference_table='properties_category'
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(10,51,129)
AND jf_content.reference_table='properties_type'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'
SELECT id
FROM jos_menu
WHERE link LIKE "%index.php?option=com_properties&view=properties%"
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(54,224,225)
AND jf_content.reference_table='menu'