CATEGORII
Afişare 37 - 48 din 617 (52 Pagini)
Queries: 194, Total time: 179.994 ms [By time] [By id] [By file]
1 (0.216)
SELECT *
FROM store
WHERE store_id = 0
/home/stereoplanet/public_html/index.php:112
2 (0.958)
SELECT *
FROM setting
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/stereoplanet/public_html/index.php:122
3 (0.115)
SELECT *
FROM language
WHERE status = '1'
/home/stereoplanet/public_html/index.php:203
4 (0.120)
SELECT *
FROM currency
/home/stereoplanet/public_html/system/library/currency.php:13
5 (0.157)
SELECT *
FROM weight_class wc
LEFT JOIN weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '2'
/home/stereoplanet/public_html/system/library/weight.php:9
6 (0.122)
SELECT *
FROM length_class mc
LEFT JOIN length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '2'
/home/stereoplanet/public_html/system/library/length.php:9
7 (0.176)
SELECT *
FROM url_alias
WHERE keyword = 'power'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:55
8 (0.279)
SELECT DISTINCT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '40' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:4
9 (0.173)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
10 (0.139)
SELECT DISTINCT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '40' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:4
11 (0.512)
SELECT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '40' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/stereoplanet/public_html/catalog/model/catalog/category.php:10
12 (0.153)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
13 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=274'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
14 (0.155)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
15 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=290'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
16 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
17 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=292'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
18 (0.136)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
19 (0.120)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=293'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
20 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
21 (0.131)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=257'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
22 (0.132)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
23 (0.117)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=275'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
24 (0.137)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
25 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=279'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
26 (0.130)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
27 (0.152)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=514'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
28 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
29 (0.142)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=519'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
30 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
31 (0.263)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=294'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
32 (0.148)
SELECT category_id
FROM category
WHERE parent_id = '40'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
33 (0.087)
SELECT category_id
FROM category
WHERE parent_id = '274'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
34 (0.077)
SELECT category_id
FROM category
WHERE parent_id = '290'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
35 (0.077)
SELECT category_id
FROM category
WHERE parent_id = '292'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
36 (0.078)
SELECT category_id
FROM category
WHERE parent_id = '293'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
37 (0.168)
SELECT category_id
FROM category
WHERE parent_id = '257'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
38 (0.086)
SELECT category_id
FROM category
WHERE parent_id = '385'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
39 (0.076)
SELECT category_id
FROM category
WHERE parent_id = '386'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
40 (0.084)
SELECT category_id
FROM category
WHERE parent_id = '387'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
41 (0.082)
SELECT category_id
FROM category
WHERE parent_id = '275'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
42 (0.096)
SELECT category_id
FROM category
WHERE parent_id = '279'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
43 (0.079)
SELECT category_id
FROM category
WHERE parent_id = '518'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
44 (0.076)
SELECT category_id
FROM category
WHERE parent_id = '389'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
45 (0.074)
SELECT category_id
FROM category
WHERE parent_id = '390'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
46 (0.072)
SELECT category_id
FROM category
WHERE parent_id = '391'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
47 (0.073)
SELECT category_id
FROM category
WHERE parent_id = '440'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
48 (0.075)
SELECT category_id
FROM category
WHERE parent_id = '447'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
49 (0.073)
SELECT category_id
FROM category
WHERE parent_id = '294'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
50 (0.074)
SELECT category_id
FROM category
WHERE parent_id = '514'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
51 (0.075)
SELECT category_id
FROM category
WHERE parent_id = '519'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
52 (36.198)
SELECT COUNT(DISTINCT p2c.product_id) AS total
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id) AND p2c.category_id IN (40, 518, 389, 390, 391, 440, 447, 385, 386, 387, 274, 290, 292, 293, 257, 275, 279, 294, 514, 519)
WHERE pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:2159
53 (0.318)
SELECT category_id
FROM category
WHERE parent_id = '40'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
54 (0.080)
SELECT category_id
FROM category
WHERE parent_id = '274'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
55 (0.065)
SELECT category_id
FROM category
WHERE parent_id = '290'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
56 (0.064)
SELECT category_id
FROM category
WHERE parent_id = '292'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
57 (0.058)
SELECT category_id
FROM category
WHERE parent_id = '293'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
58 (0.069)
SELECT category_id
FROM category
WHERE parent_id = '257'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
59 (0.075)
SELECT category_id
FROM category
WHERE parent_id = '385'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
60 (0.068)
SELECT category_id
FROM category
WHERE parent_id = '386'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
61 (0.057)
SELECT category_id
FROM category
WHERE parent_id = '387'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
62 (0.072)
SELECT category_id
FROM category
WHERE parent_id = '275'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
63 (0.078)
SELECT category_id
FROM category
WHERE parent_id = '279'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
64 (0.062)
SELECT category_id
FROM category
WHERE parent_id = '518'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
65 (0.060)
SELECT category_id
FROM category
WHERE parent_id = '389'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
66 (0.058)
SELECT category_id
FROM category
WHERE parent_id = '390'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
67 (0.068)
SELECT category_id
FROM category
WHERE parent_id = '391'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
68 (0.059)
SELECT category_id
FROM category
WHERE parent_id = '440'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
69 (0.058)
SELECT category_id
FROM category
WHERE parent_id = '447'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
70 (0.055)
SELECT category_id
FROM category
WHERE parent_id = '294'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
71 (0.057)
SELECT category_id
FROM category
WHERE parent_id = '514'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
72 (0.057)
SELECT category_id
FROM category
WHERE parent_id = '519'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
73 (9.036)
SELECT p.product_id, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, m.name as manufacturername
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id IN (40, 518, 389, 390, 391, 440, 447, 385, 386, 387, 274, 290, 292, 293, 257, 275, 279, 294, 514, 519) GROUP BY p.product_id
ORDER BY p.price ASC, LCASE(pd.name) ASC LIMIT 36,12
/home/stereoplanet/public_html/catalog/model/catalog/product.php:587
74 (1.675)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '10868' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
75 (1.629)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '9966' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
76 (1.393)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14408' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
77 (1.358)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '7562' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
78 (1.383)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '13020' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
79 (1.402)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15480' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
80 (1.397)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14403' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
81 (1.371)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14405' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
82 (1.367)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14979' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
83 (1.398)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14980' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
84 (1.378)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '9980' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
85 (1.383)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, p.warranty, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start <= NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '10002' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/product.php:145
86 (0.271)
SELECT tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.tax_class_id = '9' AND tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2688')
ORDER BY tr1.priority ASC
/home/stereoplanet/public_html/system/library/tax.php:91
87 (0.183)
SELECT tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.tax_class_id = '9' AND tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2688')
ORDER BY tr1.priority ASC
/home/stereoplanet/public_html/system/library/tax.php:119
88 (4.379)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '10868' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
89 (0.191)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
90 (0.118)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=10868'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
91 (4.510)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '9966' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
92 (0.178)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
93 (0.132)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=9966'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
94 (4.511)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '14408' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
95 (0.216)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
96 (0.130)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14408'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
97 (0.278)
SELECT tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.tax_class_id = '9' AND tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2688')
ORDER BY tr1.priority ASC
/home/stereoplanet/public_html/system/library/tax.php:91
98 (0.173)
SELECT tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.tax_class_id = '9' AND tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2688')
ORDER BY tr1.priority ASC
/home/stereoplanet/public_html/system/library/tax.php:119
99 (4.406)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '7562' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
100 (0.210)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
101 (0.141)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=7562'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
102 (4.543)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '13020' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
103 (0.250)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
104 (0.195)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=13020'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
105 (0.292)
SELECT tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.tax_class_id = '9' AND tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2688')
ORDER BY tr1.priority ASC
/home/stereoplanet/public_html/system/library/tax.php:91
106 (0.188)
SELECT tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM tax_rule tr1
LEFT JOIN tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.tax_class_id = '9' AND tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '175' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2688')
ORDER BY tr1.priority ASC
/home/stereoplanet/public_html/system/library/tax.php:119
107 (4.787)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '15480' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
108 (0.236)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
109 (0.126)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=15480'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
110 (4.413)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '14403' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
111 (0.153)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
112 (0.114)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14403'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
113 (4.386)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '14405' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
114 (0.160)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
115 (0.114)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14405'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
116 (4.766)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '14979' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
117 (0.200)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
118 (0.119)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14979'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
119 (5.219)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '14980' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
120 (0.212)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
121 (0.146)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14980'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
122 (4.976)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '9980' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
123 (0.342)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
124 (0.210)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=9980'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
125 (6.421)
SELECT IFNULL(COUNT(*),0) AS total
FROM review_awards r
LEFT JOIN product_review_awards pra ON (pra.review_awards_id = r.review_id)
LEFT JOIN product p ON (pra.product_id = p.product_id)
LEFT JOIN product_description pd ON (p.product_id = pd.product_id)
WHERE r.show_bottom=1 and p.product_id = '10002' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
/home/stereoplanet/public_html/catalog/model/catalog/review_award.php:73
126 (0.324)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
127 (0.139)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=10002'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
128 (0.152)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
129 (0.163)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
130 (0.150)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
131 (0.164)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
132 (0.152)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
133 (0.164)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
134 (0.170)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
135 (0.149)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
136 (0.142)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
137 (0.184)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
138 (0.154)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
139 (0.144)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
140 (0.153)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
141 (0.164)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
142 (0.154)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
143 (0.179)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
144 (0.141)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
145 (0.098)
SELECT *
FROM category_to_layout
WHERE category_id = '40' AND store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:34
146 (0.145)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/home/stereoplanet/public_html/catalog/model/design/layout.php:4
147 (0.131)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
148 (0.704)
SELECT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/stereoplanet/public_html/catalog/model/catalog/category.php:10
149 (0.372)
SELECT *
FROM banner_image bi
LEFT JOIN banner_image_description bid ON (bi.banner_image_id = bid.banner_image_id)
WHERE bi.banner_id = '6' AND bid.language_id = '2'
ORDER BY bi.sort_order ASC, bid.title ASC
/home/stereoplanet/public_html/catalog/model/design/banner.php:5
150 (0.148)
CREATE TABLE IF NOT EXISTS subscribe ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email_id` varchar(225) NOT NULL, `name` varchar(225) NOT NULL, `option1` varchar(225) NOT NULL, `option2` varchar(225) NOT NULL, `option3` varchar(225) NOT NULL, `option4` varchar(225) NOT NULL, `option5` varchar(225) NOT NULL, `option6` varchar(225) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `Index_2` (`email_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
/home/stereoplanet/public_html/catalog/model/account/newslettersubscribe.php:46
151 (0.084)
SELECT *
FROM category_to_layout
WHERE category_id = '40' AND store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:34
152 (0.112)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/home/stereoplanet/public_html/catalog/model/design/layout.php:4
153 (0.094)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
154 (0.065)
SELECT *
FROM category_to_layout
WHERE category_id = '40' AND store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:34
155 (0.081)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/home/stereoplanet/public_html/catalog/model/design/layout.php:4
156 (0.086)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
157 (0.201)
SELECT category_id
FROM category
WHERE category_id = 40 or parent_id = 40
/home/stereoplanet/public_html/catalog/model/filters/filters.php:114
158 (28.988)
SELECT distinct(M.manufacturer_id), M.name, M.image
from product P join product_to_category PTC on PTC.product_id=P.product_id join manufacturer M on M.manufacturer_id = P.manufacturer_id
where (category_id IN( SELECT category_id
FROM category
WHERE category_id = 40 or parent_id = 40) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 40 or parent_id = 40) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 274 or parent_id = 274) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 290 or parent_id = 290) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 292 or parent_id = 292) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 293 or parent_id = 293) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 257 or parent_id = 257) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 275 or parent_id = 275) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 279 or parent_id = 279) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 294 or parent_id = 294) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 514 or parent_id = 514) OR category_id IN( SELECT category_id
FROM category
WHERE category_id = 519 or parent_id = 519)) AND P.status = 1 AND M.status = 1
ORDER BY M.name ASC
/home/stereoplanet/public_html/catalog/model/filters/filters.php:123
159 (0.534)
SELECT PO.option_id, OD.name as parent_option, OVD.option_value_id as child_id, OVD.name as child_name
FROM product_option PO join option_description OD on PO.option_id = OD.option_id join option_value_description OVD on OVD.option_id = PO.option_id join product_to_category PTC on PTC.product_id = PO.product_id join product P on P.product_id = PO.product_id AND P.status = 1
where PTC.category_id IN( SELECT category_id
FROM category
WHERE category_id = 40 or parent_id = 40) group by OD.name,OVD.name
/home/stereoplanet/public_html/catalog/model/filters/filters.php:71
160 (0.144)
SELECT *
FROM category_to_layout
WHERE category_id = '40' AND store_id = '0'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:34
161 (0.186)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/home/stereoplanet/public_html/catalog/model/design/layout.php:4
162 (0.146)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
163 (0.158)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
164 (4.611)
SELECT *
FROM banner_image bi
LEFT JOIN banner_image_description bid ON ( bi.banner_image_id = bid.banner_image_id )
LEFT JOIN ( SELECT `manufacturer_id` , CONCAT( 'index.php?route=product/manufacturer/info&manufacturer_id=', manufacturer.manufacturer_id ) AS manlink, CONCAT( 'manufacturer_id=', manufacturer.manufacturer_id ) AS manquery
FROM `manufacturer` ) AS tmpman ON ( tmpman.manlink = bi.link )
LEFT JOIN url_alias ua ON ( tmpman.manquery = ua.query )
WHERE bi.banner_id = '8' AND bid.language_id = '2'
ORDER BY bi.sort_order ASC , bid.title ASC
/home/stereoplanet/public_html/catalog/model/design/banner.php:22
165 (0.706)
SELECT *
FROM information i
LEFT JOIN information_description id ON (i.information_id = id.information_id)
LEFT JOIN information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '2' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY CAST(i.sort_order AS CHAR), LCASE(id.title) ASC
/home/stereoplanet/public_html/catalog/model/catalog/information.php:31
166 (0.172)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=23'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
167 (0.122)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=5'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
168 (0.145)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=4'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
169 (0.136)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=25'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
170 (0.119)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=6'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
171 (0.127)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=3'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
172 (0.833)
SELECT *
FROM category c
LEFT JOIN category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/home/stereoplanet/public_html/catalog/model/catalog/category.php:10
173 (0.118)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
174 (0.537)
SELECT *
FROM information i
LEFT JOIN information_description id ON (i.information_id = id.information_id)
LEFT JOIN information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '2' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY CAST(i.sort_order AS CHAR), LCASE(id.title) ASC
/home/stereoplanet/public_html/catalog/model/catalog/information.php:31
175 (0.181)
SELECT *
from url_alias
where query='information_id=23' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
176 (0.142)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=23'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
177 (0.129)
SELECT *
from url_alias
where query='information_id=5' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
178 (0.121)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=5'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
179 (0.117)
SELECT *
from url_alias
where query='information_id=4' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
180 (0.118)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=4'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
181 (0.133)
SELECT *
from url_alias
where query='information_id=25' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
182 (0.138)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=25'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
183 (0.120)
SELECT *
from url_alias
where query='information_id=6' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
184 (0.143)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=6'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
185 (0.116)
SELECT *
from url_alias
where query='information_id=3' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
186 (0.115)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=3'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
187 (0.126)
SELECT *
from url_alias
where query='information_id=7' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
188 (0.112)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=7'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
189 (0.147)
SELECT *
from url_alias
where query='information_id=24' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
190 (0.145)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=24'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
191 (0.185)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
192 (0.229)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
193 (0.136)
SELECT *
FROM extension
WHERE `type` = 'total'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
194 (0.101)
SELECT SUM(amount) AS total
FROM customer_transaction
WHERE customer_id = '0'
/home/stereoplanet/public_html/system/library/customer.php:201