SELECT *
FROM jos_session
WHERE session_id = 'a9a2003837c516d636c83d821ce9768b'
DELETE
FROM jos_session
WHERE ( time < '1299071549' )
SELECT *
FROM jos_session
WHERE session_id = 'a9a2003837c516d636c83d821ce9768b'
UPDATE `jos_session`
SET `time`='1299107549',`userid`='62',`usertype`='Super Administrator',`username`='tubaboy',`gid`='25',`guest`='0',`client_id`='1',`data`='__default|a:8:{s:15:\"session.counter\";i:32;s:19:\"session.timer.start\";i:1299085446;s:18:\"session.timer.last\";i:1299107476;s:17:\"session.timer.now\";i:1299107542;s:22:\"session.client.browser\";s:117:\"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:7:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":10:{s:23:\"com_modulesfilter_order\";s:10:\"m.position\";s:27:\"com_modulesfilter_order_Dir\";s:0:\"\";s:23:\"com_modulesfilter_state\";s:0:\"\";s:26:\"com_modulesfilter_position\";s:1:\"0\";s:22:\"com_modulesfilter_type\";s:13:\"mod_jdonation\";s:26:\"com_modulesfilter_assigned\";s:1:\"0\";s:17:\"com_modulessearch\";s:0:\"\";s:21:\"searchcom_comprofiler\";s:0:\"\";s:29:\"viewcom_comprofilerlimitstart\";i:0;s:29:\"viewcom_comprofilerlastCBlist\";s:9:\"showusers\";}}s:11:\"application\";a:1:{s:4:\"data\";O:8:\"stdClass\":1:{s:4:\"lang\";s:0:\"\";}}s:10:\"com_cpanel\";a:1:{s:4:\"data\";O:8:\"stdClass\":1:{s:9:\"mtupgrade\";O:8:\"stdClass\":1:{s:7:\"checked\";b:1;}}}s:11:\"com_plugins\";a:1:{s:4:\"data\";O:8:\"stdClass\":2:{s:4:\"site\";O:8:\"stdClass\":5:{s:12:\"filter_order\";s:8:\"p.folder\";s:16:\"filter_order_Dir\";s:0:\"\";s:12:\"filter_state\";s:0:\"\";s:11:\"filter_type\";s:1:\"1\";s:6:\"search\";s:0:\"\";}s:10:\"limitstart\";s:2:\"40\";}}s:6:\"global\";a:1:{s:4:\"data\";O:8:\"stdClass\":1:{s:4:\"list\";O:8:\"stdClass\":1:{s:5:\"limit\";s:2:\"20\";}}}s:11:\"com_modules\";a:1:{s:4:\"data\";O:8:\"stdClass\":1:{s:10:\"limitstart\";i:0;}}s:11:\"com_content\";a:1:{s:4:\"data\";O:8:\"stdClass\":8:{s:23:\"viewcontentfilter_order\";s:12:\"section_name\";s:27:\"viewcontentfilter_order_Dir\";s:0:\"\";s:23:\"viewcontentfilter_state\";s:0:\"\";s:16:\"viewcontentcatid\";i:0;s:26:\"viewcontentfilter_authorid\";i:0;s:27:\"viewcontentfilter_sectionid\";s:2:\"-1\";s:17:\"viewcontentsearch\";s:11:\"how to help\";s:21:\"viewcontentlimitstart\";i:0;}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";s:2:\"62\";s:4:\"name\";s:13:\"Administrator\";s:8:\"username\";s:7:\"tubaboy\";s:5:\"email\";s:20:\"chris@efolkmusic.org\";s:8:\"password\";s:65:\"109fdbf44c88df3315446297ab556552:2oN1ihDIr2noat4qT4j9ufCjdXUWiqRW\";s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";s:19:\"Super Administrator\";s:5:\"block\";s:1:\"0\";s:9:\"sendEmail\";s:1:\"1\";s:3:\"gid\";s:2:\"25\";s:12:\"registerDate\";s:19:\"2008-11-28 20:19:50\";s:13:\"lastvisitDate\";s:19:\"2011-03-02 15:11:22\";s:10:\"activation\";s:0:\"\";s:6:\"params\";s:64:\"admin_language=\nlanguage=\neditor=tinymce\nhelpsite=\ntimezone=-5\n\n\";s:3:\"aid\";i:2;s:5:\"guest\";i:0;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:91:\"/nfs/c07/h03/mnt/111792/domains/efolkmusic.org/html/libraries/joomla/html/parameter/element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":5:{s:14:\"admin_language\";s:0:\"\";s:8:\"language\";s:0:\"\";s:6:\"editor\";s:7:\"tinymce\";s:8:\"helpsite\";s:0:\"\";s:8:\"timezone\";s:2:\"-5\";}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}s:13:\"session.token\";s:32:\"0f2b68bbd3645e88e257c008b7949206\";}'
WHERE session_id='a9a2003837c516d636c83d821ce9768b'
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS type, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 2
ORDER BY ordering
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 <= 2
AND m.client_id = 1
ORDER BY position, ordering
SELECT COUNT(*)
FROM jos_session
WHERE userid != 0
ORDER BY usertype, username
SELECT username, time, userid, usertype, client_id
FROM jos_session
WHERE userid != 0
ORDER BY usertype, username
SELECT template
FROM jos_templates_menu
WHERE client_id = 1
AND menuid = 0
SELECT a.hits, a.id, a.sectionid, a.title, a.created, u.name
FROM jos_content AS a
LEFT JOIN jos_users AS u
ON u.id=a.created_by
WHERE a.state <> -2
ORDER BY hits DESC
LIMIT 0, 10
SELECT a.id, a.sectionid, a.title, a.created, a.modified, u.name, a.created_by_alias, a.created_by
FROM jos_content AS a
LEFT JOIN jos_users AS u
ON u.id = a.created_by
WHERE a.state <> -2
ORDER BY created DESC
LIMIT 0, 10
SELECT menutype, COUNT(id) AS numitems
FROM jos_menu
WHERE published = 1
GROUP BY menutype
SELECT a.*, SUM(b.home) AS home
FROM jos_menu_types AS a
LEFT JOIN jos_menu AS b
ON b.menutype = a.menutype
GROUP BY a.id
SELECT *
FROM jos_components
WHERE `option` <> "com_frontpage"
AND `option` <> "com_media"
AND enabled = 1
ORDER BY ordering, name
SELECT COUNT(*)
FROM jos_messages
WHERE state = 0
AND user_id_to = 62
SELECT COUNT( session_id )
FROM jos_session
WHERE guest <> 1