- Timestamp:
- 2006/09/20 14:45:58 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 6 edited
-
data/conf/conf.php (modified) (1 diff)
-
data/lib/slib.php (modified) (1 diff)
-
html/admin/products/index_csv.php (modified) (1 diff)
-
html/frontparts/bloc/best5.php (modified) (1 diff)
-
html/products/detail.php (modified) (1 diff)
-
html/products/list.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/conf/conf.php
r5256 r5259 840 840 FROM dtb_products_class GROUP BY product_id) AS T2 841 841 ON T1.product_id = T2.product_id_sub ) ) AS T3 LEFT JOIN (SELECT rank AS category_rank, category_id AS sub_category_id FROM dtb_category) AS T4 842 ON T3.category_id = T4.sub_category_id) vw_products_allclass_detail',842 ON T3.category_id = T4.sub_category_id) ', 843 843 844 844 "vw_product_class" => ' -
temp/trunk/data/lib/slib.php
r5258 r5259 1754 1754 USING (product_id) WHERE A.category_id = ? AND A.del_flg = 0 AND status = 1 ORDER BY A.rank"; 1755 1755 $arrItems = $conn->getAll($sql, array($category_id)); 1756 1757 sfprintr($arrItems); 1756 1758 return $arrItems; 1757 1759 } -
temp/trunk/html/admin/products/index_csv.php
r1328 r5259 27 27 global $arrPRODUCTS_CVSCOL; 28 28 29 $from = "vw_product_class ";29 $from = "vw_product_class AS prdcls"; 30 30 $cols = sfGetCommaList($arrOutputCols); 31 31 -
temp/trunk/html/frontparts/bloc/best5.php
r5258 r5259 31 31 32 32 $arrBestProducts = $objQuery->select($col, $from, $where); 33 $objQuery->getlastquery();34 33 return $arrBestProducts; 35 34 } -
temp/trunk/html/products/detail.php
r5255 r5259 140 140 $objQuery = new SC_Query(); 141 141 // DB¤«¤é¾¦ÉʾðÊó¤ò¼èÆÀ¤¹¤ë¡£ 142 $arrRet = $objQuery->select("*", "vw_products_allclass_detail ", "product_id = ?", array($tmp_id));142 $arrRet = $objQuery->select("*", "vw_products_allclass_detail AS alldtl", "product_id = ?", array($tmp_id)); 143 143 $objPage->arrProduct = $arrRet[0]; 144 144 -
temp/trunk/html/products/list.php
r5255 r5259 352 352 $objQuery = new SC_Query(); 353 353 $col = "product_class_id, classcategory_id1, classcategory_id2, class_id1, class_id2, stock, stock_unlimited"; 354 $table = "vw_product_class ";354 $table = "vw_product_class AS prdcls"; 355 355 $where = "product_id = ?"; 356 356 $objQuery->setorder("rank1 DESC, rank2 DESC");
Note: See TracChangeset
for help on using the changeset viewer.
