Changeset 6552 for temp/trunk


Ignore:
Timestamp:
2006/10/24 17:12:00 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

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

    r6547 r6552  
    2525$product_id = $_GET['product_id']; 
    2626 
    27 if($product_id != ""){ 
     27if($product_id != "" and (is_numeric($product_id) or $product_id == "ALL")){ 
    2828    //¾¦Éʾܺ٤ò¼èÆÀ 
    2929    $arrProduct = lfGetProductsDetail($objQuery, $product_id); 
     
    4747    $arrProduct = $objQuery->getall("SELECT product_id, name AS product_name FROM dtb_products"); 
    4848} 
     49 
     50sfprintr($arrProduct); 
     51exit(); 
    4952 
    5053//ŹÊÞ¾ðÊó¤ò¥»¥Ã¥È 
Note: See TracChangeset for help on using the changeset viewer.