Changeset 4871 for temp/trunk


Ignore:
Timestamp:
2006/09/17 17:34:34 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/conf/conf.php

    r4870 r4871  
    847847        T3.rank AS rank1, T4.rank AS rank2, T3.class_id AS class_id1, T4.class_id AS class_id2, 
    848848        stock, price01, price02, stock_unlimited, product_code 
    849         FROM (dtb_products_class AS T1 LEFT JOIN dtb_classcategory AS T2 
    850         ON T1.classcategory_id1 = T2.classcategory_id) 
     849        FROM ( SELECT * FROM (dtb_products_class AS T1 LEFT JOIN dtb_classcategory AS T2 
     850        ON T1.classcategory_id1 = T2.classcategory_id)) 
    851851        AS T3 LEFT JOIN dtb_classcategory AS T4 
    852852        ON T3.classcategory_id2 = T4.classcategory_id) AS T5 LEFT JOIN dtb_products AS T6 
  • temp/trunk/html/frontparts/bloc/best5.php

    r2812 r4871  
    2525    $objQuery = new SC_Query(); 
    2626     
    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"; 
     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"; 
    2929    $where = "status = 1"; 
    3030    $order = "rank"; 
Note: See TracChangeset for help on using the changeset viewer.