Changeset 5259 for temp/trunk/html
- Timestamp:
- 2006/09/20 14:45:58 (20 years ago)
- Location:
- temp/trunk/html
- Files:
-
- 4 edited
-
admin/products/index_csv.php (modified) (1 diff)
-
frontparts/bloc/best5.php (modified) (1 diff)
-
products/detail.php (modified) (1 diff)
-
products/list.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.
