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 = 54)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT p.*,c.name AS name_category,cy.name AS name_country,s.name AS name_state,l.name AS name_locality,pf.name AS name_profile,pf.logo_image AS logo_image_profile,t.name AS name_type, 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(t.alias) THEN CONCAT_WS(":", t.id, t.alias) ELSE t.id END AS Tslug, 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 Sdslug, CASE WHEN CHAR_LENGTH(l.alias) THEN CONCAT_WS(":", l.id, l.alias) ELSE l.id END AS Lslug
FROM jos_properties_products AS p
LEFT JOIN jos_properties_category AS c
ON c.id = p.cid
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_profiles AS pf
ON pf.mid = p.agent_id
LEFT JOIN jos_properties_type AS t
ON t.id = p.TYPE
WHERE p.published = 1
AND p.id = 115
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(115)
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(115)
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(115)
AND jf_content.reference_table='properties_type'
UPDATE jos_properties_products
SET hits = 12781
WHERE id = 115
SELECT *
FROM jos_properties_rating_user
WHERE product_id = 115
AND user_id = 0
SELECT pf.*
FROM jos_properties_profiles AS pf
WHERE pf.SHOW = 1
SELECT rt.*
FROM jos_properties_rates AS rt
WHERE rt.published = 1
AND rt.productid = 115
ORDER BY rt.ordering
SELECT i.*
FROM jos_properties_images AS i
WHERE i.published = 1
AND i.parent = 115
ORDER BY i.ordering
SELECT p.*,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,pf.name AS name_profile,pf.logo_image AS logo_image_profile, 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_profiles AS pf
ON pf.mid = p.agent_id
WHERE p.published = 1
AND p.parent = 115
ORDER BY p.ordering
SELECT p.*, CASE WHEN CHAR_LENGTH(p.alias) THEN CONCAT_WS(":", p.id, p.alias) ELSE p.id END AS Pslug
FROM jos_properties_pdfs AS p
WHERE p.published = 1
AND p.parent = 115
ORDER BY p.ordering
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 r.*
FROM jos_properties_rating AS r
WHERE r.product_id=115
GROUP BY r.product_id
SELECT COUNT(cm.star) AS count_star, SUM(cm.star) AS sum_star
FROM jos_properties_comments AS cm
WHERE cm.productid=115
GROUP BY cm.productid
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201905
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201906
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201907
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201908
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201909
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201910
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201911
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201912
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202001
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202002
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202003
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202004
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201905
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201906
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201907
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201908
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201909
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201910
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201911
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 201912
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202001
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202002
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202003
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
SELECT *
FROM jos_properties_available_product
WHERE id_product = 115
AND EXTRACT(YEAR_MONTH
FROM DATE) = 202004
SELECT DATE
FROM jos_properties_available_product
WHERE id_product = 115
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(54)
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(54)
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
AND parent = 3 OR parent = 0
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(3,21,6,18,15,27,24,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(135,56,88)
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(135,56,88)
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(135,56,88)
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'