SELECT *
FROM jos_session
WHERE session_id = 'n03hagr3h8ub4uj8jh2oiocun1'
DELETE
FROM jos_session
WHERE ( TIME < '1734148806' )
SELECT *
FROM jos_session
WHERE session_id = 'n03hagr3h8ub4uj8jh2oiocun1'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'n03hagr3h8ub4uj8jh2oiocun1','1734149706','','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
cid
FROM
jos_joomgallery_catg
WHERE
alias = 'archivio-fotografico/sostituzione-spada-rubata-al-monumento'
SELECT *
FROM jos_joomgallery_config
WHERE id = '1'
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 = 0 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT
parent
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 165
SELECT
c.cid,
c.parent,
c.name,
c.access,
c.published,
c.hidden
FROM
jos_joomgallery_catg AS c
WHERE
c.published = 1
ORDER BY c.parent, c.name
SELECT catid,
COUNT(id) AS piccount,
SUM(hits) AS hitcount
FROM
jos_joomgallery
WHERE
approved = 1
AND published = 1
AND hidden = 0
GROUP BY catid
SELECT
*
FROM
jos_joomgallery_catg AS c
WHERE c.published = 1
AND c.hidden = 0
AND c.parent = 113
ORDER BY ordering
SELECT
*,
a.owner AS owner,
ROUND(LEAST(IF(imgvotes > 0, a.imgvotesum/a.imgvotes, 0.0), 5), 2) AS rating
FROM
jos_joomgallery AS a
LEFT JOIN
jos_joomgallery_catg AS c
ON
c.cid = a.catid
WHERE a.published = 1
AND a.catid = 113
AND a.approved = 1
AND a.hidden = 0
AND c.access <= 0
ORDER BY a.ordering ASC, a.imgdate DESC, a.imgtitle DESC
SELECT
*,
a.owner AS owner,
ROUND(LEAST(IF(imgvotes > 0, a.imgvotesum/a.imgvotes, 0.0), 5), 2) AS rating
FROM
jos_joomgallery AS a
LEFT JOIN
jos_joomgallery_catg AS c
ON
c.cid = a.catid
WHERE a.published = 1
AND a.catid = 113
AND a.approved = 1
AND a.hidden = 0
AND c.access <= 0
ORDER BY a.ordering ASC, a.imgdate DESC, a.imgtitle DESC
LIMIT 0, 9
SELECT
cid,
name,
parent,
description,
metakey,
metadesc,
params
FROM
jos_joomgallery_catg
WHERE
cid = 113
AND published = 1
AND access <= 0
SELECT
*
FROM
jos_joomgallery_catg AS c
WHERE c.published = 1
AND c.hidden = 0
AND c.parent = 113
ORDER BY ordering
LIMIT 0, 8
SELECT
catpath
FROM
jos_joomgallery_catg
WHERE
cid= 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3481
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3482
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3483
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3484
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3485
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3486
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT
catid, alias
FROM
jos_joomgallery
WHERE
id = 3487
SELECT
alias
FROM
jos_joomgallery_catg
WHERE
cid = 113
SELECT guest, usertype, client_id
FROM jos_session
WHERE client_id = 0