SELECT *
FROM jos_session
WHERE session_id = 'esssg0q8el4di03prnh45agbl0'
DELETE
FROM jos_session
WHERE ( TIME < '1728683162' )
SELECT *
FROM jos_session
WHERE session_id = 'esssg0q8el4di03prnh45agbl0'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'esssg0q8el4di03prnh45agbl0','1728684062','','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 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 template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 1)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.metakey, a.metadesc, a.access, 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, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, g.name AS groups, u.email AS author_email, cc.title AS category, s.title AS SECTION, s.ordering AS s_ordering, cc.ordering AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering
FROM jos_content AS a
INNER JOIN jos_content_frontpage AS f
ON f.content_id = a.id
LEFT JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = a.sectionid
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE 1
AND a.access <= 0
AND a.state = 1
AND (( cc.published = 1
AND s.published = 1 ) OR ( a.catid = 0
AND a.sectionid = 0 ) )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-11 22:01:02' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-11 22:01:02' )
ORDER BY f.ordering
LIMIT 0, 18
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.metakey, a.metadesc, a.access, 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, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, g.name AS groups, u.email AS author_email, cc.title AS category, s.title AS SECTION, s.ordering AS s_ordering, cc.ordering AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering
FROM jos_content AS a
INNER JOIN jos_content_frontpage AS f
ON f.content_id = a.id
LEFT JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = a.sectionid
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE 1
AND a.access <= 0
AND a.state = 1
AND (( cc.published = 1
AND s.published = 1 ) OR ( a.catid = 0
AND a.sectionid = 0 ) )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-11 22:01:02' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-11 22:01:02' )
ORDER BY f.ordering
SELECT created_by, sectionid, catid
FROM jos_content
WHERE id='152'
SELECT COUNT(*)
FROM jos_attachments
WHERE parent_id='152'
AND published='1'
AND parent_type='com_content'
SELECT a.*, u.name AS uploader_name
FROM jos_attachments AS a
LEFT JOIN jos_users AS u
ON u.id = a.uploader_id
WHERE a.parent_id='152'
AND a.published='1'
AND a.parent_type='com_content'
AND a.parent_entity='ARTICLE'
ORDER BY filename
SELECT id
FROM jos_content
WHERE id='152'
LIMIT 1
SELECT id
FROM jos_content
WHERE id='152'
LIMIT 1
SELECT title
FROM jos_content
WHERE id='152'
SELECT created_by, sectionid, catid
FROM jos_content
WHERE id='20'
SELECT COUNT(*)
FROM jos_attachments
WHERE parent_id='20'
AND published='1'
AND parent_type='com_content'
SELECT a.*, u.name AS uploader_name
FROM jos_attachments AS a
LEFT JOIN jos_users AS u
ON u.id = a.uploader_id
WHERE a.parent_id='20'
AND a.published='1'
AND a.parent_type='com_content'
AND a.parent_entity='ARTICLE'
ORDER BY filename
SELECT id
FROM jos_content
WHERE id='20'
LIMIT 1
SELECT id
FROM jos_content
WHERE id='20'
LIMIT 1
SELECT title
FROM jos_content
WHERE id='20'
SELECT created_by, sectionid, catid
FROM jos_content
WHERE id='181'
SELECT COUNT(*)
FROM jos_attachments
WHERE parent_id='181'
AND published='1'
AND parent_type='com_content'
SELECT a.*, u.name AS uploader_name
FROM jos_attachments AS a
LEFT JOIN jos_users AS u
ON u.id = a.uploader_id
WHERE a.parent_id='181'
AND a.published='1'
AND a.parent_type='com_content'
AND a.parent_entity='ARTICLE'
ORDER BY filename
SELECT id
FROM jos_content
WHERE id='181'
LIMIT 1
SELECT id
FROM jos_content
WHERE id='181'
LIMIT 1
SELECT title
FROM jos_content
WHERE id='181'
SELECT created_by, sectionid, catid
FROM jos_content
WHERE id='167'
SELECT COUNT(*)
FROM jos_attachments
WHERE parent_id='167'
AND published='1'
AND parent_type='com_content'
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 = 1 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT c.id
FROM jos_categories AS c
LEFT JOIN jos_categories AS p
ON p.id=c.parent_id
LEFT JOIN jos_categories AS gp
ON gp.id=p.parent_id
LEFT JOIN jos_categories AS ggp
ON ggp.id=gp.parent_id
WHERE c.access <= 0
AND c.published = 1
AND c.SECTION = 'com_jevents'
SELECT rpt.*, ev.*, rr.*, det.*, ev.state AS published, ev.created AS created
, YEAR(rpt.startrepeat) AS yup, MONTH(rpt.startrepeat ) AS mup, DAYOFMONTH(rpt.startrepeat ) AS dup
, YEAR(rpt.endrepeat ) AS ydn, MONTH(rpt.endrepeat ) AS mdn, DAYOFMONTH(rpt.endrepeat ) AS ddn
, HOUR(rpt.startrepeat) AS hup, MINUTE(rpt.startrepeat ) AS minup, SECOND(rpt.startrepeat ) AS sup
, HOUR(rpt.endrepeat ) AS hdn, MINUTE(rpt.endrepeat ) AS mindn, SECOND(rpt.endrepeat ) AS sdn
FROM jos_jevents_repetition AS rpt
LEFT JOIN jos_jevents_vevent AS ev
ON rpt.eventid = ev.ev_id
LEFT JOIN jos_jevents_icsfile AS icsf
ON icsf.ics_id=ev.icsid
LEFT JOIN jos_jevents_vevdetail AS det
ON det.evdet_id = rpt.eventdetail_id
LEFT JOIN jos_jevents_rrule AS rr
ON rr.eventid = rpt.eventid
WHERE ev.catid IN(-1,4)
AND rpt.endrepeat >= '2024-10-01 00:00:00'
AND rpt.startrepeat <= '2024-10-31 23:59:59'
AND ev.state=1
AND ev.access <= 0
AND icsf.state=1
AND icsf.access <= 0