Changeset 6686
- Timestamp:
- 2006/10/25 16:53:07 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/rss/product.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/rss/product.php
r6572 r6686 27 27 //¾¦ÉÊID¤ò¼èÆÀ 28 28 $product_id = $_GET['product_id']; 29 $mode = $_GET['mode']; 29 30 30 if($product_id != "" and (is_numeric($product_id) or $ product_id == "ALL")){31 if($product_id != "" and (is_numeric($product_id) or $mode == "all")){ 31 32 //¾¦Éʾܺ٤ò¼èÆÀ 32 33 $arrProduct = lfGetProductsDetail($objQuery, $product_id); … … 49 50 $arrProduct[$key]["point"] = sfPrePoint($arrProduct[$key]["price02"], $arrProduct[$key]["point_rate"], POINT_RULE, $arrProduct[$key]["product_id"]); 50 51 } 51 }else {52 }elseif($mode == "list"){ 52 53 //¾¦ÉʰìÍ÷¤ò¼èÆÀ 53 54 $arrProduct = $objQuery->getall("SELECT product_id, name AS product_name FROM dtb_products");
Note: See TracChangeset
for help on using the changeset viewer.
