CATEGORII
Afişare 1 - 12 din 526 (44 Pagini)
Queries: 194, Total time: 170.412 ms [By time] [By id] [By file]
1 (0.270)
SELECT *
FROM store
WHERE store_id = 0
/home/stereoplanet/public_html/index.php:112
2 (1.518)
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.222)
SELECT *
FROM language
WHERE status = '1'
/home/stereoplanet/public_html/index.php:203
4 (0.220)
SELECT *
FROM currency
/home/stereoplanet/public_html/system/library/currency.php:13
5 (0.244)
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.186)
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.306)
SELECT *
FROM url_alias
WHERE keyword = 'power'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:55
8 (0.349)
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.259)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
10 (0.216)
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.865)
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.295)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
13 (0.204)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=274'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
14 (0.217)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
15 (0.198)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=290'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
16 (0.219)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
17 (0.210)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=292'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
18 (0.215)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
19 (0.197)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=293'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
20 (0.217)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
21 (0.210)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=257'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
22 (0.233)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
23 (0.201)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=275'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
24 (0.223)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
25 (0.214)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=279'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
26 (0.225)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
27 (0.240)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=514'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
28 (0.215)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
29 (0.259)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=519'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
30 (0.216)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
31 (0.197)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=294'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
32 (0.160)
SELECT category_id
FROM category
WHERE parent_id = '40'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
33 (0.113)
SELECT category_id
FROM category
WHERE parent_id = '274'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
34 (0.115)
SELECT category_id
FROM category
WHERE parent_id = '290'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
35 (0.103)
SELECT category_id
FROM category
WHERE parent_id = '292'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
36 (0.101)
SELECT category_id
FROM category
WHERE parent_id = '293'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
37 (0.115)
SELECT category_id
FROM category
WHERE parent_id = '257'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
38 (0.106)
SELECT category_id
FROM category
WHERE parent_id = '385'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
39 (0.101)
SELECT category_id
FROM category
WHERE parent_id = '386'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
40 (0.098)
SELECT category_id
FROM category
WHERE parent_id = '387'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
41 (0.099)
SELECT category_id
FROM category
WHERE parent_id = '275'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
42 (0.126)
SELECT category_id
FROM category
WHERE parent_id = '279'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
43 (0.106)
SELECT category_id
FROM category
WHERE parent_id = '518'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
44 (0.099)
SELECT category_id
FROM category
WHERE parent_id = '389'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
45 (0.097)
SELECT category_id
FROM category
WHERE parent_id = '390'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
46 (0.099)
SELECT category_id
FROM category
WHERE parent_id = '391'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
47 (0.082)
SELECT category_id
FROM category
WHERE parent_id = '440'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
48 (0.059)
SELECT category_id
FROM category
WHERE parent_id = '447'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
49 (0.059)
SELECT category_id
FROM category
WHERE parent_id = '294'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
50 (0.058)
SELECT category_id
FROM category
WHERE parent_id = '514'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
51 (0.058)
SELECT category_id
FROM category
WHERE parent_id = '519'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
52 (34.671)
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.181)
SELECT category_id
FROM category
WHERE parent_id = '40'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
54 (0.070)
SELECT category_id
FROM category
WHERE parent_id = '274'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
55 (0.064)
SELECT category_id
FROM category
WHERE parent_id = '290'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
56 (0.069)
SELECT category_id
FROM category
WHERE parent_id = '292'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
57 (0.063)
SELECT category_id
FROM category
WHERE parent_id = '293'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
58 (0.072)
SELECT category_id
FROM category
WHERE parent_id = '257'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
59 (0.062)
SELECT category_id
FROM category
WHERE parent_id = '385'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
60 (0.065)
SELECT category_id
FROM category
WHERE parent_id = '386'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
61 (0.060)
SELECT category_id
FROM category
WHERE parent_id = '387'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
62 (0.059)
SELECT category_id
FROM category
WHERE parent_id = '275'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
63 (0.075)
SELECT category_id
FROM category
WHERE parent_id = '279'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
64 (0.064)
SELECT category_id
FROM category
WHERE parent_id = '518'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
65 (0.061)
SELECT category_id
FROM category
WHERE parent_id = '389'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
66 (0.060)
SELECT category_id
FROM category
WHERE parent_id = '390'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
67 (0.060)
SELECT category_id
FROM category
WHERE parent_id = '391'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
68 (0.061)
SELECT category_id
FROM category
WHERE parent_id = '440'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
69 (0.070)
SELECT category_id
FROM category
WHERE parent_id = '447'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
70 (0.066)
SELECT category_id
FROM category
WHERE parent_id = '294'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
71 (0.060)
SELECT category_id
FROM category
WHERE parent_id = '514'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
72 (0.062)
SELECT category_id
FROM category
WHERE parent_id = '519'
/home/stereoplanet/public_html/catalog/model/catalog/category.php:18
73 (7.329)
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 0,12
/home/stereoplanet/public_html/catalog/model/catalog/product.php:587
74 (1.457)
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 = '10211' 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.335)
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 = '11435' 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.637)
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 = '12029' 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.450)
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 = '15011' 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.316)
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 = '9127' 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.292)
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 = '9977' 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.307)
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 = '12114' 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.310)
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 = '9135' 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.305)
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 = '12030' 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.287)
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 = '15010' 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.334)
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 = '14847' 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.291)
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 = '14848' 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.261)
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 (3.990)
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 = '10211' 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.180)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
90 (0.143)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=10211'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
91 (3.951)
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 = '11435' 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.152)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
93 (0.134)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=11435'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
94 (3.983)
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 = '12029' 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.152)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
96 (0.135)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=12029'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
97 (3.930)
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 = '15011' 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
98 (0.155)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
99 (0.110)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=15011'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
100 (0.240)
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
101 (0.203)
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
102 (3.887)
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 = '9127' 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.152)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
104 (0.160)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=9127'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
105 (3.963)
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 = '9977' 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
106 (0.153)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
107 (0.151)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=9977'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
108 (3.943)
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 = '12114' 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
109 (0.150)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
110 (0.153)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=12114'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
111 (0.210)
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
112 (0.184)
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
113 (3.866)
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 = '9135' 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.156)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
115 (0.145)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=9135'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
116 (3.925)
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 = '12030' 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.153)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
118 (0.140)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=12030'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
119 (3.917)
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 = '15010' 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.153)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
121 (0.111)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=15010'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
122 (3.932)
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 = '14847' 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.156)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
124 (0.125)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14847'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
125 (3.974)
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 = '14848' 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.175)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
127 (0.126)
SELECT *
FROM url_alias
WHERE `query` = 'product_id=14848'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
128 (0.136)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
129 (0.137)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
130 (0.135)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
131 (0.141)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
132 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
133 (0.138)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
134 (0.137)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
135 (0.140)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
136 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
137 (0.134)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
138 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
139 (0.132)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
140 (0.132)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
141 (0.133)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
142 (0.134)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
143 (0.132)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
144 (0.134)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
145 (0.117)
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.131)
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.158)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
148 (0.558)
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.282)
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.144)
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.120)
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.114)
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.132)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
154 (0.100)
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.106)
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.128)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
157 (0.183)
SELECT category_id
FROM category
WHERE category_id = 40 or parent_id = 40
/home/stereoplanet/public_html/catalog/model/filters/filters.php:114
158 (33.378)
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.209)
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.129)
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.116)
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.137)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
163 (0.137)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
164 (4.277)
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.495)
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.153)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=23'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
167 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=5'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
168 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=4'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
169 (0.134)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=25'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
170 (0.127)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=6'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
171 (0.122)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=3'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
172 (0.369)
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.112)
SELECT *
FROM extension
WHERE `type` = 'module'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
174 (0.430)
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.160)
SELECT *
from url_alias
where query='information_id=23' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
176 (0.130)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=23'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
177 (0.121)
SELECT *
from url_alias
where query='information_id=5' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
178 (0.123)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=5'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
179 (0.122)
SELECT *
from url_alias
where query='information_id=4' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
180 (0.125)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=4'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
181 (0.130)
SELECT *
from url_alias
where query='information_id=25' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
182 (0.127)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=25'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
183 (0.122)
SELECT *
from url_alias
where query='information_id=6' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
184 (0.130)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=6'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
185 (0.127)
SELECT *
from url_alias
where query='information_id=3' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
186 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=3'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
187 (0.119)
SELECT *
from url_alias
where query='information_id=7' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
188 (0.126)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=7'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
189 (0.123)
SELECT *
from url_alias
where query='information_id=24' limit 1;
/home/stereoplanet/public_html/catalog/model/catalog/information.php:23
190 (0.124)
SELECT *
FROM url_alias
WHERE `query` = 'information_id=24'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:132
191 (0.136)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
192 (0.129)
SELECT *
FROM url_alias
WHERE `query` = 'category_id=40'
/home/stereoplanet/public_html/catalog/controller/common/seo_url.php:143
193 (0.094)
SELECT *
FROM extension
WHERE `type` = 'total'
/home/stereoplanet/public_html/catalog/model/setting/extension.php:4
194 (0.077)
SELECT SUM(amount) AS total
FROM customer_transaction
WHERE customer_id = '0'
/home/stereoplanet/public_html/system/library/customer.php:201