Changeset 5255 for temp/trunk/html
- Timestamp:
- 2006/09/20 14:36:48 (20 years ago)
- Location:
- temp/trunk/html
- Files:
-
- 3 edited
-
frontparts/bloc/best5.php (modified) (1 diff)
-
products/detail.php (modified) (2 diffs)
-
products/list.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/frontparts/bloc/best5.php
r4875 r5255 26 26 27 27 $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)"; 29 29 $where = "status = 1"; 30 30 $order = "rank"; -
temp/trunk/html/products/detail.php
r5206 r5255 343 343 for($i = 0; $i < $max; $i++) { 344 344 $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'])); 346 346 347 347 if(count($arrProductInfo) > 0) { … … 394 394 //¸¡º÷¾ò·ï 395 395 $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 "; 397 397 $where = "del_flg = 0 AND status = 1 AND (stock_max <> 0 OR stock_max IS NULL) AND product_id = ? "; 398 398 $arrval[] = $tmp_id; -
temp/trunk/html/products/list.php
r4608 r5255 198 198 199 199 // ¹Ô¿ô¤Î¼èÆÀ 200 $linemax = $objQuery->count("vw_products_allclass ", $where, $arrval);200 $linemax = $objQuery->count("vw_products_allclass AS allcls", $where, $arrval); 201 201 $objPage->tpl_linemax = $linemax; // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ 202 202 … … 211 211 $objQuery->setorder($order); 212 212 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 213 $objPage->arrProducts = $objQuery->select("*", "vw_products_allclass ", $where, $arrval);213 $objPage->arrProducts = $objQuery->select("*", "vw_products_allclass AS allcls", $where, $arrval); 214 214 215 215 // µ¬³Ê̾°ìÍ÷
Note: See TracChangeset
for help on using the changeset viewer.
