Changeset 10255


Ignore:
Timestamp:
2006/12/06 09:13:38 (20 years ago)
Author:
kaki
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/index.php

    r10254 r10255  
    236236 
    237237            // ¹Ô¿ô¤Î¼èÆÀ 
    238             // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ) 
    239             global $arrViewWhere; 
    240             $arrWhere = split("[?]", $where); 
    241             $where_tmp = ""; 
    242             $where_tmp = " WHERE " . $arrWhere[0]; 
    243             for($i = 1; $i < count($arrWhere); $i++){ 
    244                 $where_tmp .= sfQuoteSmart($arrval[$i - 1]) . $arrWhere[$i]; 
    245             } 
    246             $arrViewWhere["&&noncls_where&&"] = $where_tmp; 
    247  
    248              
    249238//          $linemax = $objQuery->count($from, $where, $arrval); 
    250239//          $objPage->tpl_linemax = $linemax;               // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ 
     
    276265            // ɽ¼¨½ç½ø 
    277266            $objQuery->setorder($order); 
     267             
     268             
     269            // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ) 
     270            global $arrViewWhere; 
     271            $arrWhere = split("[?]", $where); 
     272            $where_tmp = ""; 
     273            $where_tmp = " WHERE " . $arrWhere[0]; 
     274            for($i = 1; $i < count($arrWhere); $i++){ 
     275                $where_tmp .= sfQuoteSmart($arrval[$i - 1]) . $arrWhere[$i]; 
     276            } 
     277            $arrViewWhere["&&noncls_where&&"] = $where_tmp;  
     278             
     279            sfprintr($objQuery->option); 
     280            sfprintr($objQuery->order); 
     281             
    278282             
    279283            // ¸¡º÷·ë²Ì¤Î¼èÆÀ 
Note: See TracChangeset for help on using the changeset viewer.