SELECT *
FROM jos_session
WHERE session_id = 'iigv602660ltqdn0lpo7hbf5n1'
DELETE
FROM jos_session
WHERE ( time < '1732081670' )
SELECT *
FROM jos_session
WHERE session_id = 'iigv602660ltqdn0lpo7hbf5n1'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'iigv602660ltqdn0lpo7hbf5n1','1732171670','','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
CREATE TABLE IF NOT EXISTS `jos_ualog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`option` varchar(255) NOT NULL,
`task` varchar(255) NOT NULL,
`action_link` text NOT NULL,
`action_title` text NOT NULL,
`item_title` varchar(255) NOT NULL,
`cdate` int(11) NOT NULL,
PRIMARY KEY (`id`))
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 = 0)
ORDER BY menuid DESC
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 = 235 OR mm.menuid = 0 )
ORDER BY position, ordering
SELECT groups_id,groups_members
FROM jos_docman_groups
SELECT id, link, params
FROM jos_menu
WHERE link LIKE '%option=com_docman%'
AND type = 'component'
AND published = 1
SELECT catid, count( d.id ) AS count
FROM jos_docman AS d
WHERE dmowner=-1
AND d.published=1
AND d.approved=1
GROUP BY d.catid
SELECT c.id, c.parent_id AS parent
FROM jos_categories AS c
WHERE section='com_docman'
AND published <> -2
ORDER BY ordering
SELECT *
FROM jos_categories
WHERE section = 'com_docman'
SELECT *
FROM jos_categories
WHERE section = 'com_docman'
AND published = 1
AND parent_id=0
AND access=0
ORDER BY ordering ASC