Index: temp/trunk/html/products/detail.php
===================================================================
--- temp/trunk/html/products/detail.php	(revision 5206)
+++ temp/trunk/html/products/detail.php	(revision 5255)
@@ -343,5 +343,5 @@
 	for($i = 0; $i < $max; $i++) {
 		$where = "del_flg = 0 AND product_id = ? AND status = 1";
-		$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'])); 
+		$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'])); 
 				
 		if(count($arrProductInfo) > 0) {
@@ -394,5 +394,5 @@
 	//¸¡º÷¾ò·ï
 	$col = "name, main_list_image, price01_min, price02_min, price01_max, price02_max, point_rate";
-	$from = "vw_products_allclass ";
+	$from = "vw_products_allclass AS allcls ";
 	$where = "del_flg = 0 AND status = 1 AND (stock_max <> 0 OR stock_max IS NULL) AND product_id = ? ";
 	$arrval[] = $tmp_id;
Index: temp/trunk/html/products/list.php
===================================================================
--- temp/trunk/html/products/list.php	(revision 4608)
+++ temp/trunk/html/products/list.php	(revision 5255)
@@ -198,5 +198,5 @@
 			
 	// ¹Ô¿ô¤Î¼èÆÀ
-	$linemax = $objQuery->count("vw_products_allclass", $where, $arrval);
+	$linemax = $objQuery->count("vw_products_allclass AS allcls", $where, $arrval);
 	$objPage->tpl_linemax = $linemax;	// ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ
 	
@@ -211,5 +211,5 @@
 	$objQuery->setorder($order);
 	// ¸¡º÷·ë²Ì¤Î¼èÆÀ
-	$objPage->arrProducts = $objQuery->select("*", "vw_products_allclass", $where, $arrval);
+	$objPage->arrProducts = $objQuery->select("*", "vw_products_allclass AS allcls", $where, $arrval);
 	
 	// µ¬³ÊÌ¾°ìÍ÷
Index: temp/trunk/html/frontparts/bloc/best5.php
===================================================================
--- temp/trunk/html/frontparts/bloc/best5.php	(revision 4875)
+++ temp/trunk/html/frontparts/bloc/best5.php	(revision 5255)
@@ -26,5 +26,5 @@
 	
 	$col = "A.*, name, price02_min, price01_min, main_list_image ";
-	$from = "dtb_best_products AS A INNER JOIN vw_products_allclass using(product_id)";
+	$from = "dtb_best_products AS A INNER JOIN vw_products_allclass AS allcls using(product_id)";
 	$where = "status = 1";
 	$order = "rank";
