DELETE
FROM jos_session
WHERE ( TIME < '1575670397' )
SELECT *
FROM jos_session
WHERE session_id = 'soqsavtqvhol4ikdjfrembj1i4'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'soqsavtqvhol4ikdjfrembj1i4','1575677597','','0','1','0' )
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS TYPE, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SELECT setting,VALUE
FROM jos_jfbconnect_config
SELECT `value`
FROM `jos_admintools_storage`
WHERE `key` = 'cparams'
SELECT *
FROM jos_redj
WHERE ( (('/directory/search-by/state/PA' REGEXP BINARY fromurl)>0
AND case_sensitive<>'0') OR (('/directory/search-by/state/PA' REGEXP fromurl)>0
AND case_sensitive='0') )
AND published='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 `varname`, `value`, `default`
FROM jos_mt_config
SELECT cf_id, caption
FROM jos_mt_customfields
WHERE tag_search = 1
AND published = 1
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 247)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT *
FROM jos_mt_customfields AS cf
WHERE cf.cf_id = '6'
AND published = 1
AND tag_search = 1
LIMIT 1
SELECT l.*, u.username, c.*, img.filename AS link_image
FROM (jos_mt_links AS l, jos_mt_cl AS cl)
LEFT JOIN jos_mt_images AS img
ON img.link_id = l.link_id
AND img.ordering = 1
LEFT JOIN jos_mt_cats AS c
ON c.cat_id = cl.cat_id
LEFT JOIN jos_users AS u
ON u.id = l.user_id
WHERE
link_published='1'
AND link_approved='1'
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2019-12-07 00:13:17' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2019-12-07 00:13:17' )
AND cl.link_id = l.link_id
AND cl.main = 1
AND l.state LIKE '%PA%'
ORDER BY link_featured DESC, link_hits DESC
LIMIT 0, 20
SELECT COUNT(DISTINCT l.link_id)
FROM (jos_mt_links AS l, jos_mt_cl AS cl)
LEFT JOIN jos_mt_cats AS c
ON c.cat_id = cl.cat_id
WHERE link_published='1'
AND link_approved='1'
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2019-12-07 00:13:17' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2019-12-07 00:13:17' )
AND cl.link_id = l.link_id
AND cl.main = 1
AND l.state LIKE '%PA%'
SELECT CONCAT( 'cust_', cf_id ) AS name, caption AS VALUE, field_type
FROM jos_mt_customfields
SELECT cf.*, cfv.link_id, cfv.VALUE, cfv.attachment, cfv.counter, ft.ft_class
FROM jos_mt_customfields AS cf
LEFT JOIN jos_mt_cfvalues AS cfv
ON cf.cf_id=cfv.cf_id
LEFT JOIN jos_mt_fieldtypes AS ft
ON ft.field_type=cf.field_type
WHERE cf.published = '1'
AND cf.summary_view = '1'
AND cfv.link_id IN (211,265,274,306,213,161,16,205,230,264,204,193,189,101,242,106,307,28,298,207)
ORDER BY cf.ordering ASC, link_id DESC
SELECT cf. * , NULL AS link_id, '' AS VALUE, NULL AS attachment, ft.ft_class
FROM jos_mt_customfields AS cf
LEFT JOIN jos_mt_fieldtypes AS ft
ON ft.field_type=cf.field_type
WHERE cf.published = '1'
AND cf.summary_view = '1'
AND cf.iscore = '1'
ORDER BY cf.ordering ASC
SELECT r.link_id, COUNT( * ) AS total
FROM jos_mt_cl AS cl
LEFT JOIN jos_mt_reviews AS r
ON cl.link_id = r.link_id
WHERE cl.link_id IN ('211','265','274','306','213','161','16','205','230','264','204','193','189','101','242','106','307','28','298','207')
AND r.rev_approved = '1'
AND cl.main = '1'
GROUP BY r.link_id
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT cf_id, caption
FROM jos_mt_customfields
WHERE tag_search = 1
AND published = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT params
FROM jos_mt_templates
WHERE tem_name = 'm2'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '211'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '111'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 56
AND rgt > 57
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '265'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '274'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '306'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '100'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 38
AND rgt > 39
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '100'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '100'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '213'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '161'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '99'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 36
AND rgt > 37
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '99'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '99'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '16'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '84'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 6
AND rgt > 7
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '84'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '84'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '205'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '230'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '112'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 58
AND rgt > 59
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '112'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '112'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '264'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '204'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '193'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '108'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 50
AND rgt > 51
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '108'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '108'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '189'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '106'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 46
AND rgt > 47
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '106'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '106'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '101'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '93'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 24
AND rgt > 25
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '93'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '93'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '242'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '86'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 10
AND rgt > 11
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '86'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '86'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '106'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '94'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 26
AND rgt > 27
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '94'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '94'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '307'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '100'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '100'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '28'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '122'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 74
AND rgt > 75
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '122'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '122'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '298'
AND main = 1
SELECT cat_name, cat_id, lft, rgt
FROM jos_mt_cats
WHERE cat_id = '115'
SELECT cat_id
FROM jos_mt_cats
WHERE lft < 62
AND rgt > 63
AND cat_id > 0
AND cat_parent >= 0
ORDER BY lft ASC
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '115'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '115'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT l.*, cl.cat_id AS cat_id
FROM jos_mt_links AS l, jos_mt_cl AS cl
WHERE l.link_id = cl.link_id
AND l.link_id = '207'
AND main = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '111'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1
SELECT j_user_id
FROM jos_jfbconnect_user_map
WHERE fb_user_id=''
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 = 247 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT cat_id, cat_name
FROM jos_mt_cats
WHERE cat_approved=1
AND cat_published=1
AND cat_parent = 0
ORDER BY cat_name ASC
SELECT *, RAND() AS ordering
FROM jos_banner
WHERE showBanner = 1
AND (imptotal = 0 OR impmade < imptotal)
AND catid = 8
ORDER BY sticky DESC, ordering
LIMIT 0, 1
UPDATE jos_banner
SET impmade = impmade + 1
WHERE bid = 30
SELECT a.id, a.alias AS username, a.title AS fullname, a.catid, a.sectionid, a.introtext AS intro, u.email AS email, u.id AS user_id, 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
LEFT JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_users AS u
ON u.username = a.alias
WHERE a.sectionid = 15
AND a.state = 1
SELECT alias
FROM jos_mt_cats
WHERE cat_id = '0'
LIMIT 1