SELECT *
FROM jos_session
WHERE session_id = 'l46q47msq8vgrm1ns9457qc9g2'
DELETE
FROM jos_session
WHERE ( time < '1268320029' )
SELECT *
FROM jos_session
WHERE session_id = 'l46q47msq8vgrm1ns9457qc9g2'
UPDATE `jos_session`
SET `time`='1268325429',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:8:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1268325429;s:18:\"session.timer.last\";i:1268325429;s:17:\"session.timer.now\";i:1268325429;s:22:\"session.client.browser\";s:48:\"CCBot/1.0 (+http://www.commoncrawl.org/bot.html)\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;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:63:\"/home/abstraktron/dev/1/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\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}s:17:\"application.queue\";a:1:{i:0;a:2:{s:7:\"message\";N;s:4:\"type\";s:7:\"message\";}}}'
WHERE session_id='l46q47msq8vgrm1ns9457qc9g2'
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 `id`,`link`
FROM jos_menu
WHERE ((`name` LIKE '%shopping cart%')
AND (`published` > 0))
SELECT oldurl, newurl
FROM jos_redirection
WHERE oldurl = 'shopping-cart/vmchk.html'
ORDER BY rank ASC
LIMIT 1
UPDATE jos_redirection
SET cpt=(cpt+1)
WHERE `newurl` = 'index.php?option=com_virtuemart&Itemid=147&lang=en&vmcchk=1'
AND `oldurl` = 'shopping-cart/vmchk.html'
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 = 147)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT jos_vm_shopper_group.shopper_group_id, show_price_including_tax, `default`, shopper_group_discount
FROM `jos_vm_shopper_group`
WHERE jos_vm_shopper_group.vendor_id='1'
AND `default`='1'
SELECT `name`
FROM `jos_core_acl_aro_groups`
WHERE `id` =29
SELECT vendor_id, vendor_min_pov,vendor_name,vendor_store_name,contact_email,vendor_full_image, vendor_freeshipping,
vendor_address_1,vendor_address_2, vendor_url, vendor_city, vendor_state, vendor_country, country_2_code, country_3_code,
vendor_zip, vendor_phone, vendor_store_desc, vendor_currency, vendor_currency_display_style,
vendor_accepted_currencies, vendor_address_format, vendor_date_format, state_name
FROM (`jos_vm_vendor` v, `jos_vm_country` c)
LEFT JOIN jos_vm_state s
ON (v.vendor_state=s.state_2_code
AND s.country_id=c.country_id)
WHERE `v`.`vendor_id`=1
AND (`v`.`vendor_country`=`c`.`country_2_code` OR `v`.`vendor_country`=`c`.`country_3_code`);
SELECT module_perms
FROM jos_vm_module
WHERE module_name='shop'
SELECT category_id, category_thumb_image, category_child_id,category_name
FROM jos_vm_category,jos_vm_category_xref
WHERE jos_vm_category_xref.category_parent_id='0'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
AND jos_vm_category.vendor_id='1'
AND jos_vm_category.category_publish='Y'
ORDER BY jos_vm_category.list_order, jos_vm_category.category_name ASC
SELECT id
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT DISTINCT product_sku,product_id,product_name,product_s_desc,product_thumb_image, product_full_image, product_in_stock, product_url
FROM jos_vm_product
WHERE (jos_vm_product.product_parent_id='' OR jos_vm_product.product_parent_id='0')
AND vendor_id='1'
AND jos_vm_product.product_publish='Y'
AND jos_vm_product.product_special='Y'
ORDER BY RAND()
LIMIT 0, 10
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='33'
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=33
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='33'
AND (start_date<='1268325429' OR start_date=0)
AND (end_date>='1268292960' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='33'
SELECT shopper_group_id,shopper_group_discount
FROM jos_vm_shopper_group
WHERE vendor_id='1'
AND `default`='1'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=33
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=33
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=33
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 = 147 OR mm.menuid = 0 )
ORDER BY position, 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 oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=127&id=126&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=83&id=14&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=84&id=63&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=82&id=44&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=85&id=64&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&lang=en'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=1&id=135&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=189&id=134&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=86&id=68&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=87&id=69&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=88&id=70&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_search&Itemid=182&lang=en&view=search'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_search&Itemid=182&lang=en'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=144&id=120&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=139&id=115&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=146&id=122&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=97&id=78&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=98&id=79&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=99&id=80&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=100&id=81&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=101&id=82&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=102&id=83&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=136&id=113&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=188&id=137&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=103&id=84&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=104&id=85&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=105&id=86&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=106&id=87&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=107&id=88&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=108&id=89&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=109&id=90&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=110&id=91&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=159&id=124&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=124&id=106&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=122&id=104&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=123&id=105&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=137&id=114&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=187&id=136&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=126&id=108&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=125&id=107&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=143&id=117&lang=en&view=article'
SELECT guest, usertype, client_id
FROM jos_session
WHERE client_id = 0
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='0'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&TreeId=1&category_id=1&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT c.category_name, c.category_id, x.category_parent_id
FROM jos_vm_category AS c
LEFT JOIN jos_vm_category_xref AS x
ON c.category_id = x.category_child_id;
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=1&lang=en&page=shop.browse'
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='1'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&TreeId=1&category_id=3&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=3&lang=en&page=shop.browse'
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='3'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&TreeId=2&category_id=5&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=5&lang=en&page=shop.browse'
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='5'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&TreeId=3&category_id=4&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=4&lang=en&page=shop.browse'
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='4'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&TreeId=4&category_id=6&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=6&lang=en&page=shop.browse'
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='6'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&TreeId=5&category_id=7&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=7&lang=en&page=shop.browse'
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='7'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT category_id, category_description, category_name,category_child_id AS cid, category_parent_id AS pid,list_order, category_publish
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category.category_publish='Y'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
ORDER BY jos_vm_category.list_order ASC, jos_vm_category.category_name ASC
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT published
FROM jos_modules
WHERE module='mod_virtuemart_cart'
SELECT user_info_id
FROM `jos_vm_user_info`
WHERE user_id='0'
AND address_type='BT'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_user&lang=en&view=reset'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_user&lang=en&view=remind'
SELECT currency_id, currency_code, currency_name
FROM `jos_vm_currency`
WHERE FIND_IN_SET(`currency_code`, 'AUD,GBP,COP,KMF,JPY,NZD,USD,')
ORDER BY `currency_name`
SELECT MONTH( created ) AS created_month, created, id, sectionid, title, YEAR(created) AS created_year
FROM jos_content
WHERE ( state = -1
AND checked_out = 0
AND sectionid != 0)
GROUP BY created_year DESC, created_month DESC
LIMIT 0, 10
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&lang=en&month=11&view=archive&year=2009'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=1&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=3&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=5&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=4&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=6&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category_id=7&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&category=&lang=en&page=shop.browse'
SELECT name, link,id
FROM jos_menu
WHERE published='1'
AND link LIKE 'index.php?option=com_virtuemart%'
SELECT oldurl
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&lang=en&page=shop.browse'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&lang=en&page=shop.search'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&lang=en&page=shop.downloads'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&lang=en&page=shop.cart'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&lang=en&page=shop.registration'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&flypage=flypage-ask.tpl&lang=en&page=shop.product_details&product_id=33'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_virtuemart&Itemid=147&flypage=flypage-ask.tpl&lang=en&page=shop.product_details&product_id=33'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=44&id=25&lang=en&view=article'
SELECT oldurl, dateadd
FROM jos_redirection
WHERE newurl = 'index.php?option=com_content&Itemid=52&id=65&lang=en&view=article'