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,213,51,133,52,24,47,293,225,237,157,1,187,209,61,211,37,215,182,18,48,271,273,283,285,73,281,277,275,279)
AND jf_content.reference_table='menu'
SELECT *
FROM jos_fb_users
WHERE userid = '0'
SHOW TABLES LIKE 'jos_fb_%'
SELECT *
FROM jos_fb_config
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 271)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT id
FROM jos_menu
WHERE link='index.php?option=com_kunena'
AND published='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(271)
AND jf_content.reference_table='menu'
SELECT template
FROM jos_templates_menu
WHERE client_id='0'
DELETE
FROM jos_fb_whoisonline
WHERE TIME < '1337495034'
SELECT COUNT(*)
FROM jos_fb_whoisonline
WHERE userip='38.107.179.226'
AND userid='0'
INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`)
VALUES ('0','1337496834','Latest Posts','','','who','http://www.entrenadoresdeporteros.com/forum/who.html','38.107.179.226','0')
SELECT id
FROM jos_fb_categories
WHERE pub_access='0'
AND published='1'
SELECT MAX(posts)
FROM jos_fb_users
SELECT su.VIEW, u.name, u.username, su.moderator, su.avatar
FROM jos_fb_users AS su
LEFT JOIN jos_users AS u
ON u.id=su.userid
WHERE su.userid=0
LIMIT 0, 1
SELECT id, title, module, POSITION, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 271 OR mm.menuid = 0 )
ORDER BY POSITION, 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(83,33,1,103,75,16,113,101,27,95,25,29)
AND jf_content.reference_table='modules'
SELECT w.*, u.id, u.username, f.showOnline
FROM jos_fb_whoisonline AS w
LEFT JOIN jos_users AS u
ON u.id=w.userid
LEFT JOIN jos_fb_users AS f
ON u.id=f.userid
ORDER BY w.TIME DESC