Changeset 6686


Ignore:
Timestamp:
2006/10/25 16:53:07 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/rss/product.php

    r6572 r6686  
    2727//¾¦ÉÊID¤ò¼èÆÀ 
    2828$product_id = $_GET['product_id']; 
     29$mode = $_GET['mode']; 
    2930 
    30 if($product_id != "" and (is_numeric($product_id) or $product_id == "ALL")){ 
     31if($product_id != "" and (is_numeric($product_id) or $mode == "all")){ 
    3132    //¾¦Éʾܺ٤ò¼èÆÀ 
    3233    $arrProduct = lfGetProductsDetail($objQuery, $product_id); 
     
    4950        $arrProduct[$key]["point"] = sfPrePoint($arrProduct[$key]["price02"], $arrProduct[$key]["point_rate"], POINT_RULE, $arrProduct[$key]["product_id"]); 
    5051    } 
    51 }else{ 
     52}elseif($mode == "list"){ 
    5253    //¾¦ÉʰìÍ÷¤ò¼èÆÀ 
    5354    $arrProduct = $objQuery->getall("SELECT product_id, name AS product_name FROM dtb_products"); 
Note: See TracChangeset for help on using the changeset viewer.