Changeset 4872 for temp/trunk
- Timestamp:
- 2006/09/17 17:36:11 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/conf/conf.php (modified) (2 diffs)
-
html/frontparts/bloc/best5.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/conf/conf.php
r4871 r4872 783 783 784 784 "vw_products_allclass" => ' 785 ( SELECT785 ((SELECT 786 786 product_id, 787 787 product_code_min, … … 816 816 FROM 817 817 dtb_products AS T1 RIGHT JOIN (SELECT product_id AS product_id_sub, MIN(product_code) AS product_code_min, MAX(product_code) AS product_code_max, MIN(price01) AS price01_min, MAX(price01) AS price01_max, MIN(price02) AS price02_min, MAX(price02) AS price02_max, MIN(stock) AS stock_min, MAX(stock) AS stock_max, MIN(stock_unlimited) AS stock_unlimited_min, MAX(stock_unlimited) AS stock_unlimited_max FROM dtb_products_class GROUP BY product_id) AS T2 ON T1.product_id = T2.product_id_sub 818 ) vw_products_allclass ',818 ) vw_products_allclass )', 819 819 820 820 "vw_products_allclass_detail" => ' -
temp/trunk/html/frontparts/bloc/best5.php
r4871 r4872 25 25 $objQuery = new SC_Query(); 26 26 27 $col = "A.*, vw_products_allclass.name, vw_products_allclass.price02_min, vw_products_allclass.price01_min, vw_products_allclass.main_list_image ";28 $from = "dtb_best_products AS A INNER JOIN vw_products_allclass ON A.product_id = vw_products_allclass.product_id";27 $col = "A.*, B.name, B.price02_min, B.price01_min, B.main_list_image "; 28 $from = "dtb_best_products AS A INNER JOIN vw_products_allclass AS B ON A.product_id = B.product_id"; 29 29 $where = "status = 1"; 30 30 $order = "rank";
Note: See TracChangeset
for help on using the changeset viewer.
