Changeset 5255 for temp/trunk/html


Ignore:
Timestamp:
2006/09/20 14:36:48 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/html
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/frontparts/bloc/best5.php

    r4875 r5255  
    2626     
    2727    $col = "A.*, name, price02_min, price01_min, main_list_image "; 
    28     $from = "dtb_best_products AS A INNER JOIN vw_products_allclass using(product_id)"; 
     28    $from = "dtb_best_products AS A INNER JOIN vw_products_allclass AS allcls using(product_id)"; 
    2929    $where = "status = 1"; 
    3030    $order = "rank"; 
  • temp/trunk/html/products/detail.php

    r5206 r5255  
    343343    for($i = 0; $i < $max; $i++) { 
    344344        $where = "del_flg = 0 AND product_id = ? AND status = 1"; 
    345         $arrProductInfo = $objQuery->select("main_list_image, price02_min, price02_max, price01_min, price01_max, name, point_rate", "vw_products_allclass", $where, array($arrRet[$i]['recommend_product_id']));  
     345        $arrProductInfo = $objQuery->select("main_list_image, price02_min, price02_max, price01_min, price01_max, name, point_rate", "vw_products_allclass  AS allcls", $where, array($arrRet[$i]['recommend_product_id']));  
    346346                 
    347347        if(count($arrProductInfo) > 0) { 
     
    394394    //¸¡º÷¾ò·ï 
    395395    $col = "name, main_list_image, price01_min, price02_min, price01_max, price02_max, point_rate"; 
    396     $from = "vw_products_allclass "; 
     396    $from = "vw_products_allclass AS allcls "; 
    397397    $where = "del_flg = 0 AND status = 1 AND (stock_max <> 0 OR stock_max IS NULL) AND product_id = ? "; 
    398398    $arrval[] = $tmp_id; 
  • temp/trunk/html/products/list.php

    r4608 r5255  
    198198             
    199199    // ¹Ô¿ô¤Î¼èÆÀ 
    200     $linemax = $objQuery->count("vw_products_allclass", $where, $arrval); 
     200    $linemax = $objQuery->count("vw_products_allclass AS allcls", $where, $arrval); 
    201201    $objPage->tpl_linemax = $linemax;   // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ 
    202202     
     
    211211    $objQuery->setorder($order); 
    212212    // ¸¡º÷·ë²Ì¤Î¼èÆÀ 
    213     $objPage->arrProducts = $objQuery->select("*", "vw_products_allclass", $where, $arrval); 
     213    $objPage->arrProducts = $objQuery->select("*", "vw_products_allclass AS allcls", $where, $arrval); 
    214214     
    215215    // µ¬³Ê̾°ìÍ÷ 
Note: See TracChangeset for help on using the changeset viewer.