SELECT *
FROM jos_session
WHERE session_id = 'ompalqekgac9b8e8kqovh1ea77'
DELETE
FROM jos_session
WHERE ( TIME < '1735579505' )
SELECT *
FROM jos_session
WHERE session_id = 'ompalqekgac9b8e8kqovh1ea77'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'ompalqekgac9b8e8kqovh1ea77','1735580405','','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 = 10)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT p.*
FROM jos_phocagallery AS p
WHERE p.id = 117
SELECT cc.access AS access, cc.params AS params
FROM jos_phocagallery_categories AS cc
WHERE cc.id = 7
SELECT c.*, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END AS slug
FROM jos_phocagallery_categories AS c
LEFT JOIN jos_phocagallery AS a
ON a.catid = c.id
WHERE a.id = 117
SELECT ordering AS ordering
FROM jos_phocagallery
WHERE id=117
SELECT id AS id
FROM jos_phocagallery
WHERE catid = 7
AND published=1
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 36
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 36
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 37
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 38
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 39
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 40
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 41
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 42
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 43
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 44
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 45
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 46
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 47
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 48
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 49
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 50
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 51
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 52
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 53
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 54
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 55
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 56
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 57
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 58
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 59
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT ordering AS ordering
FROM jos_phocagallery
WHERE id=117
SELECT id AS id
FROM jos_phocagallery
WHERE catid = 7
AND published=1
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 34
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 34
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 33
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 32
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 31
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 30
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 29
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 28
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 27
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 26
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 25
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 24
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 23
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 22
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 21
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 20
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 19
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 18
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 17
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 16
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 15
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 14
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 13
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 12
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 11
AND catid = 7
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 7
SELECT filename AS filename
FROM jos_phocagallery
WHERE catid=7
AND published=1
ORDER BY catid, ordering
UPDATE jos_phocagallery
SET hits = ( hits + 1 )
WHERE id='117'
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND menuid = 0