SELECT *
FROM jos_session
WHERE session_id = 'ddfcba5b53962ef8b5702e9ffd53704b'
DELETE
FROM jos_session
WHERE ( time < '1575756731' )
SELECT *
FROM jos_session
WHERE session_id = 'ddfcba5b53962ef8b5702e9ffd53704b'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'ddfcba5b53962ef8b5702e9ffd53704b','1575757631','','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 template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 0)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 401
LIMIT 0, 1
SELECT *
FROM jos_tagmeta
WHERE ( (('/index.php/component/adsmanager/?page=show_ad&adid=611&catid=17' REGEXP BINARY uri)>0
AND case_sensitive<>'0') OR (('/index.php/component/adsmanager/?page=show_ad&adid=611&catid=17' REGEXP uri)>0
AND case_sensitive='0') )
AND published='1'
ORDER BY ordering
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 = 0 OR mm.menuid = 0 )
ORDER BY position, ordering
SELECT parent, menutype, ordering
FROM jos_menu
WHERE id = 0
LIMIT 1
SELECT count(*)
FROM jos_menu AS m
WHERE menutype='mainmenu'
AND published='1'
AND access <= '0'
AND parent=0
AND ordering < 0
SELECT DISTINCT
u.id, u.username, u.name,
s.userid AS s4jonline , c.avatar , c.avatarapproved, u.gid, v.viewscount, v.lastview
FROM ( jos_users u
INNER JOIN jos_comprofiler c
ON u.id = c.user_id
AND u.block =0
AND c.confirmed =1
AND c.approved =1 )
LEFT JOIN jos_session s
ON s.userid = u.id
AND s.guest = 0
LEFT JOIN jos_comprofiler_views v
ON u.id = v.viewer_id
AND v.profile_id = 0
WHERE u.id NOT IN (62)
AND u.gid <= 25
ORDER BY registerdate DESC
LIMIT 0, 8
SELECT username
FROM jos_users
WHERE id = 1387
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 1213
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 1094
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 998
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 469
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 467
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 461
LIMIT 0, 1
SELECT username
FROM jos_users
WHERE id = 458
LIMIT 0, 1
SELECT id, folder, element, published, type, params, CONCAT_WS('/',folder,element) AS lookup, name
FROM jos_comprofiler_plugin
WHERE published = 1
AND access <= 0
AND type = 'user'
ORDER BY ordering
SELECT guest, usertype, client_id
FROM jos_session
WHERE client_id = 0
SELECT c.*, i.catid, i.title, i.alias, category.alias AS catalias, category.name AS categoryname
FROM jos_k2_comments AS c
LEFT JOIN jos_k2_items AS i
ON i.id=c.itemID
LEFT JOIN jos_k2_categories AS category
ON category.id=i.catid
WHERE i.published=1
AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2019-12-07 22:27:12' )
AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2019-12-07 22:27:12' )
AND i.trash=0
AND i.access<=0
AND category.published=1
AND category.trash=0
AND category.access<=0
AND c.published=1
ORDER BY c.commentDate DESC
LIMIT 0, 5
SELECT i.*, CASE WHEN i.modified = 0 THEN i.created ELSE i.modified END AS lastChanged, c.name AS categoryname,c.id AS categoryid, c.alias AS categoryalias, c.params AS categoryparams
FROM jos_k2_items AS i
LEFT JOIN jos_k2_categories c
ON c.id = i.catid
WHERE i.published = 1
AND i.access <= 0
AND i.trash = 0
AND c.published = 1
AND c.access <= 0
AND c.trash = 0
AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2019-12-07 22:27:12' )
AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2019-12-07 22:27:12' )
ORDER BY i.id DESC
LIMIT 0, 5
SELECT DISTINCT MONTH(created) AS m, YEAR(created) AS y
FROM jos_k2_items
WHERE published=1
AND ( publish_up = '0000-00-00 00:00:00' OR publish_up <= '2019-12-07 22:27:12' )
AND ( publish_down = '0000-00-00 00:00:00' OR publish_down >= '2019-12-07 22:27:12' )
AND trash=0
AND access<=0
ORDER BY created DESC
LIMIT 0, 12
SELECT *, RAND() AS ordering
FROM jos_banner
WHERE showBanner = 1
AND (imptotal = 0 OR impmade < imptotal)
AND cid = 3
AND catid = 34
ORDER BY sticky DESC, ordering
LIMIT 0, 1
UPDATE jos_banner
SET impmade = impmade + 1
WHERE bid = 12
SELECT *
FROM jos_adsmanager_config
SELECT a.*, p.name AS parent, p.id AS parentid, c.name AS cat, c.id AS catid, u.name AS user
FROM jos_adsmanager_ads AS a
LEFT JOIN jos_users AS u
ON a.userid = u.id
LEFT JOIN jos_adsmanager_categories AS c
ON a.category = c.id
LEFT JOIN jos_adsmanager_categories AS p
ON c.parent = p.id
WHERE a.id=611
AND c.published
SELECT c.*
FROM jos_adsmanager_categories AS c
WHERE c.published = 1
ORDER BY c.parent,c.ordering
SELECT *
FROM jos_adsmanager_positions
WHERE 1
SELECT f.*
FROM jos_adsmanager_fields AS f
WHERE f.pos != -1
AND f.published = 1
ORDER BY f.posorder
SELECT *
FROM jos_adsmanager_field_values
ORDER BY ordering
UPDATE jos_adsmanager_ads
SET views = LAST_INSERT_ID(views+1)
WHERE id = 611
SELECT m.*
FROM jos_menu AS m
WHERE menutype='mainmenu'
AND published='1'
AND access <= '0'
ORDER BY parent,ordering
SELECT c.*, (SELECT count(*)
FROM jos_adsmanager_ads AS a
WHERE a.category = c.id
AND a.published = 1 ) AS num_ads
FROM jos_adsmanager_categories AS c
WHERE c.published = 1
ORDER BY c.parent,c.ordering