SELECT *
FROM jos_session
WHERE session_id = 'ug138umoscug1tlnc1ctg0fso5'
DELETE
FROM jos_session
WHERE ( TIME < '1734799911' )
SELECT *
FROM jos_session
WHERE session_id = 'ug138umoscug1tlnc1ctg0fso5'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'ug138umoscug1tlnc1ctg0fso5','1734800811','','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 = 56
SELECT cc.access AS access, cc.params AS params
FROM jos_phocagallery_categories AS cc
WHERE cc.id = 2
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 = 56
SELECT ordering AS ordering
FROM jos_phocagallery
WHERE id=56
SELECT id AS id
FROM jos_phocagallery
WHERE catid = 2
AND published=1
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 12
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 12
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 13
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 14
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 15
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 16
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 17
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 18
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 19
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 20
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 21
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT ordering AS ordering
FROM jos_phocagallery
WHERE id=56
SELECT id AS id
FROM jos_phocagallery
WHERE catid = 2
AND published=1
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 10
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 10
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 9
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 8
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 7
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 6
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 5
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 4
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 3
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 2
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT id AS id, filename AS filename, alias AS alias
FROM jos_phocagallery
WHERE ordering = 1
AND catid = 2
AND published=1
SELECT c.alias
FROM jos_phocagallery_categories AS c
WHERE c.id = 2
SELECT filename AS filename
FROM jos_phocagallery
WHERE catid=2
AND published=1
ORDER BY catid, ordering
UPDATE jos_phocagallery
SET hits = ( hits + 1 )
WHERE id='56'
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 = 10 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
CREATE TABLE IF NOT EXISTS jos_vvisitcounter(id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, tm INT NOT NULL, ip VARCHAR(16) NOT NULL DEFAULT '0.0.0.0', userAgent VARCHAR(512) DEFAULT NULL, PRIMARY KEY (id), KEY userAgent (userAgent(512)), KEY tmIP (tm,ip)) ENGINE=MyISAM AUTO_INCREMENT=1
SELECT COUNT( * ) AS records, MAX( id ) AS MAX
FROM jos_vvisitcounter
DELETE
FROM jos_vvisitcounter
WHERE id<='87553'
SELECT COUNT(*)
FROM jos_vvisitcounter
WHERE ip='3.141.47.0'
AND ( ((unix_timestamp(NOW()) - tm ) / 60 ) < '15' )
INSERT INTO jos_vvisitcounter (id, tm, ip )
VALUES ('', unix_timestamp(NOW()) , '3.141.47.0' )
SELECT COUNT(*)
FROM jos_vvisitcounter
WHERE (YEAR(NOW())= YEAR(FROM_UNIXTIME(tm)))
AND (DAYOFYEAR(NOW())=DAYOFYEAR(FROM_UNIXTIME(tm)))
SELECT COUNT(*)
FROM jos_vvisitcounter
WHERE (YEAR(NOW())= YEAR(FROM_UNIXTIME(tm)))
AND (DAYOFYEAR(FROM_UNIXTIME(tm))=DAYOFYEAR(now())-1)