Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/html/mobile/products/list.php

    r12157 r15078  
    77 *  
    88 * 
    9  * ¥â¥Ð¥¤¥ë¥µ¥¤¥È/¾¦ÉÊ°ìÍ÷ 
     9 * モバイルサイト/商品一覧 
    1010 */ 
    1111 
     
    2323        $this->arrPRODUCTLISTMAX = $arrPRODUCTLISTMAX;       
    2424        /* 
    25          session_start»þ¤Îno-cache¥Ø¥Ã¥À¡¼¤òÍÞÀ©¤¹¤ë¤³¤È¤Ç 
    26          ¡ÖÌá¤ë¡×¥Ü¥¿¥ó»ÈÍÑ»þ¤ÎÍ­¸ú´ü¸ÂÀÚ¤ìɽ¼¨¤òÍÞÀ©¤¹¤ë¡£ 
    27          private-no-expire:¥¯¥é¥¤¥¢¥ó¥È¤Î¥­¥ã¥Ã¥·¥å¤òµö²Ä¤¹¤ë¡£ 
     25         session_start時のno-cacheヘッダーを抑制することで 
     26         「戻る」ボタン使用時の有効期限切れ表示を抑制する。 
     27         private-no-expire:クライアントのキャッシュを許可する。 
    2828        */ 
    2929        session_cache_limiter('private-no-expire'); 
     
    3434$conn = new SC_DBConn(); 
    3535 
    36 //ɽ¼¨·ï¿ô¤ÎÁªÂò 
     36//表示件数の選択 
    3737if(sfIsInt($_REQUEST['disp_number'])) { 
    3838    $objPage->disp_number = $_REQUEST['disp_number']; 
    3939} else { 
    40     //ºÇ¾®É½¼¨·ï¿ô¤òÁªÂò 
     40    //最小表示件数を選択 
    4141    $objPage->disp_number = current(array_keys($arrPRODUCTLISTMAX)); 
    4242} 
    4343 
    44 //ɽ¼¨½ç½ø¤ÎÊݸ 
     44//表示順序の保存 
    4545$objPage->orderby = $_REQUEST['orderby']; 
    4646 
    47 // GET¤Î¥«¥Æ¥´¥êID¤ò¸µ¤ËÀµ¤·¤¤¥«¥Æ¥´¥êID¤ò¼èÆÀ¤¹¤ë¡£ 
     47// GETのカテゴリIDを元に正しいカテゴリIDを取得する。 
    4848$category_id = sfGetCategoryId("", $_GET['category_id']); 
    4949 
    50 // ¥¿¥¤¥È¥ëÊÔ½¸ 
     50// タイトル編集 
    5151$tpl_subtitle = ""; 
    5252$tpl_search_mode = false; 
    5353if($_GET['mode'] == 'search'){ 
    54     $tpl_subtitle = "¸¡º÷·ë²Ì"; 
     54    $tpl_subtitle = "検索結果"; 
    5555    $tpl_search_mode = true; 
    5656}elseif ($category_id == "" ) { 
    57     $tpl_subtitle = "Á´¾¦ÉÊ"; 
     57    $tpl_subtitle = "全商品"; 
    5858}else{ 
    5959    $arrFirstCat = sfGetFirstCat($category_id); 
     
    6464$count = $objQuery->count("dtb_best_products", "category_id = ?", array($category_id)); 
    6565 
    66 // °Ê²¼¤Î¾ò·ï¤ÇBEST¾¦Éʤòɽ¼¨¤¹¤ë 
    67 // ¡¦BESTºÇÂç¿ô¤Î¾¦Éʤ¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¡£ 
    68 // ¡¦¥«¥Æ¥´¥êID¤¬¥ë¡¼¥ÈID¤Ç¤¢¤ë¡£ 
    69 // ¡¦¸¡º÷¥â¡¼¥É¤Ç¤Ê¤¤¡£ 
     66// 以下の条件でBEST商品を表示する 
     67// ・BEST最大数の商品が登録されている。 
     68// ・カテゴリIDがルートIDである。 
     69// ・検索モードでない。 
    7070if(($count >= BEST_MIN) && lfIsRootCategory($category_id) && ($_GET['mode'] != 'search') ) { 
    71     // ¾¦ÉÊTOP¤Îɽ¼¨½èÍý 
    72     /** ɬ¤º»ØÄꤹ¤ë **/ 
    73     $objPage->tpl_mainpage = "products/list.tpl";       // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È    
     71    // 商品TOPの表示処理 
     72    /** 必ず指定する **/ 
     73    $objPage->tpl_mainpage = "products/list.tpl";       // メインテンプレート     
    7474     
    7575    $objPage->arrBestItems = sfGetBestProducts($conn, $category_id); 
     
    7777} else { 
    7878    if ($_GET['mode'] == 'search' && strlen($_GET['category_id']) == 0 ){ 
    79         // ¸¡º÷»þ¤Ëcategory_id¤¬GET¤Ë¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¡¢²¾¤ËËä¤á¤¿ID¤ò¶õÇò¤ËÌ᤹ 
     79        // 検索時にcategory_idがGETに存在しない場合は、仮に埋めたIDを空白に戻す 
    8080        $category_id = '';   
    8181    } 
    8282     
    83     // ¾¦ÉÊ°ìÍ÷¤Îɽ¼¨½èÍý 
     83    // 商品一覧の表示処理 
    8484    $objPage = lfDispProductsList($category_id, $_GET['name'], $objPage->disp_number, $_REQUEST['orderby']); 
    8585     
    86     // ¸¡º÷¾ò·ï¤ò²èÌ̤Ëɽ¼¨ 
    87     // ¥«¥Æ¥´¥ê¡¼¸¡º÷¾ò·ï 
     86    // 検索条件を画面に表示 
     87    // カテゴリー検索条件 
    8888    if (strlen($_GET['category_id']) == 0) { 
    89         $arrSearch['category'] = "»ØÄê¤Ê¤·"; 
     89        $arrSearch['category'] = "指定なし"; 
    9090    }else{ 
    9191        $arrCat = $conn->getOne("SELECT category_name FROM dtb_category WHERE category_id = ?",array($category_id)); 
     
    9393    } 
    9494     
    95     // ¾¦ÉÊ̾¸¡º÷¾ò·ï 
     95    // 商品名検索条件 
    9696    if ($_GET['name'] === "") { 
    97         $arrSearch['name'] = "»ØÄê¤Ê¤·"; 
     97        $arrSearch['name'] = "指定なし"; 
    9898    }else{ 
    9999        $arrSearch['name'] = $_GET['name']; 
     
    101101} 
    102102 
    103 // ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ 
     103// レイアウトデザインを取得 
    104104$objPage = sfGetPageLayout($objPage, false, "products/list.php"); 
    105105 
    106106if($_POST['mode'] == "cart" && $_POST['product_id'] != "") { 
    107     // ÃͤÎÀµÅöÀ­¥Á¥§¥Ã¥¯ 
     107    // 値の正当性チェック 
    108108    if(!sfIsInt($_POST['product_id']) || !sfIsRecord("dtb_products", "product_id", $_POST['product_id'], "del_flg = 0 AND status = 1")) { 
    109109        sfDispSiteError(PRODUCT_NOT_FOUND, "", false, "", true); 
    110110    } else { 
    111         // ÆþÎÏÃͤÎÊÑ´¹ 
     111        // 入力値の変換 
    112112        $objPage->arrErr = lfCheckError($_POST['product_id']); 
    113113        if(count($objPage->arrErr) == 0) { 
     
    117117            $classcategory_id2 = $_POST[$classcategory_id. '_2']; 
    118118            $quantity = "quantity". $_POST['product_id']; 
    119             // µ¬³Ê1¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç 
     119            // 規格1が設定されていない場合 
    120120            if(!$objPage->tpl_classcat_find1[$_POST['product_id']]) { 
    121121                $classcategory_id1 = '0'; 
    122122            } 
    123             // µ¬³Ê2¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç 
     123            // 規格2が設定されていない場合 
    124124            if(!$objPage->tpl_classcat_find2[$_POST['product_id']]) { 
    125125                $classcategory_id2 = '0'; 
     
    134134 
    135135 
    136 // ¥Ú¡¼¥¸Á÷¤êµ¡Ç½ÍѤÎURL¤òºîÀ®¤¹¤ë¡£ 
     136// ページ送り機能用のURLを作成する。 
    137137$objURL = new Net_URL($_SERVER['PHP_SELF']); 
    138138foreach ($_REQUEST as $key => $value) { 
     
    156156$objPage->tpl_search_mode = $tpl_search_mode; 
    157157 
    158 // »ÙʧÊýË¡¤Î¼èÆÀ 
     158// 支払方法の取得 
    159159$objPage->arrPayment = lfGetPayment(); 
    160 // ÆþÎϾðÊó¤òÅϤ¹ 
     160// 入力情報を渡す 
    161161$objPage->arrForm = $_POST; 
    162162 
     
    167167 
    168168//----------------------------------------------------------------------------------------------------------------------------------- 
    169 /* ¥«¥Æ¥´¥êID¤¬¥ë¡¼¥È¤«¤É¤¦¤«¤ÎȽÄê */ 
     169/* カテゴリIDがルートかどうかの判定 */ 
    170170function lfIsRootCategory($category_id) { 
    171171    $objQuery = new SC_Query(); 
     
    177177} 
    178178 
    179 /* ¾¦ÉÊ°ìÍ÷¤Îɽ¼¨ */ 
     179/* 商品一覧の表示 */ 
    180180function lfDispProductsList($category_id, $name, $disp_num, $orderby) { 
    181181    global $objPage; 
     
    183183    $objPage->tpl_pageno = $_REQUEST['pageno']; 
    184184 
    185     //ɽ¼¨·ï¿ô¤Ç¥Æ¥ó¥×¥ì¡¼¥È¤òÀÚ¤êÂؤ¨¤ë 
    186     $objPage->tpl_mainpage = "products/list.tpl";       // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È        
    187  
    188     //ɽ¼¨½ç½ø 
     185    //表示件数でテンプレートを切り替える 
     186    $objPage->tpl_mainpage = "products/list.tpl";       // メインテンプレート         
     187 
     188    //表示順序 
    189189    switch($orderby) { 
    190     //²Á³Ê½ç 
     190    //価格順 
    191191    case 'price': 
    192192        $order = "price02_min ASC"; 
    193193        break; 
    194     //¿·Ãå½ç 
     194    //新着順 
    195195    case 'date': 
    196196        $order = "create_date DESC"; 
     
    201201    } 
    202202     
    203     // ¾¦Éʸ¡º÷¾ò·ï¤ÎºîÀ®¡Ê̤ºï½ü¡¢É½¼¨¡Ë 
     203    // 商品検索条件の作成(未削除、表示) 
    204204    $where = "del_flg = 0 AND status = 1 "; 
    205     // ¥«¥Æ¥´¥ê¤«¤é¤ÎWHEREʸ»úÎó¼èÆÀ 
     205    // カテゴリからのWHERE文字列取得 
    206206    if ( $category_id ) { 
    207207        $where .= 'AND category_id = ?'; 
     
    209209    } 
    210210         
    211     // ¾¦ÉÊ̾¤òwhereʸ¤Ë 
     211    // 商品名をwhere文に 
    212212    $name = ereg_replace(",", "", $name); 
    213213    if ( strlen($name) > 0 ){ 
     
    218218    } 
    219219             
    220     // ¹Ô¿ô¤Î¼èÆÀ 
     220    // 行数の取得 
    221221    $linemax = $objQuery->count("vw_products_allclass AS allcls", $where, $arrval); 
    222     $objPage->tpl_linemax = $linemax;   // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ 
    223      
    224     // ¥Ú¡¼¥¸Á÷¤ê¤Î¼èÆÀ 
     222    $objPage->tpl_linemax = $linemax;   // 何件が該当しました。表示用 
     223     
     224    // ページ送りの取得 
    225225    $objNavi = new SC_PageNavi($_REQUEST['pageno'], $linemax, $disp_num, "fnNaviPage", NAVI_PMAX); 
    226226     
    227227    $strnavi = $objNavi->strnavi; 
    228228    $strnavi = str_replace('onclick="fnNaviPage', 'onclick="form1.mode.value=\''.'\'; fnNaviPage', $strnavi); 
    229     $objPage->tpl_strnavi = $strnavi;       // ɽ¼¨Ê¸»úÎó 
    230     $startno = $objNavi->start_row;                 // ³«»Ï¹Ô 
    231      
    232     // ¼èÆÀÈϰϤλØÄê(³«»Ï¹ÔÈֹ桢¹Ô¿ô¤Î¥»¥Ã¥È) 
     229    $objPage->tpl_strnavi = $strnavi;       // 表示文字列 
     230    $startno = $objNavi->start_row;                 // 開始行 
     231     
     232    // 取得範囲の指定(開始行番号、行数のセット) 
    233233    $objQuery->setlimitoffset($disp_num, $startno); 
    234     // ɽ¼¨½ç½ø 
     234    // 表示順序 
    235235    $objQuery->setorder($order); 
    236     // ¸¡º÷·ë²Ì¤Î¼èÆÀ 
     236    // 検索結果の取得 
    237237    $objPage->arrProducts = $objQuery->select("*", "vw_products_allclass AS allcls", $where, $arrval); 
    238238     
    239     // µ¬³Ê̾°ìÍ÷ 
     239    // 規格名一覧 
    240240    $arrClassName = sfGetIDValueList("dtb_class", "class_id", "name"); 
    241     // µ¬³ÊʬÎà̾°ìÍ÷ 
     241    // 規格分類名一覧 
    242242    $arrClassCatName = sfGetIDValueList("dtb_classcategory", "classcategory_id", "name"); 
    243     // ´ë²è¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹ÀßÄê 
     243    // 企画セレクトボックス設定 
    244244    if($disp_num == 15) { 
    245245        for($i = 0; $i < count($objPage->arrProducts); $i++) { 
    246246            $objPage = lfMakeSelect($objPage->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 
    247             // ¹ØÆþÀ©¸Â¿ô¤ò¼èÆÀ 
     247            // 購入制限数を取得 
    248248            $objPage = lfGetSaleLimit($objPage->arrProducts[$i]); 
    249249        } 
     
    254254} 
    255255 
    256 /* µ¬³Ê¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤ÎºîÀ® */ 
     256/* 規格セレクトボックスの作成 */ 
    257257function lfMakeSelect($product_id, $arrClassName, $arrClassCatName) { 
    258258    global $objPage; 
     
    260260    $classcat_find1 = false; 
    261261    $classcat_find2 = false; 
    262     // ºß¸Ë¤¢¤ê¤Î¾¦ÉʤÎ̵ͭ 
     262    // 在庫ありの商品の有無 
    263263    $stock_find = false; 
    264264     
    265     // ¾¦Éʵ¬³Ê¾ðÊó¤Î¼èÆÀ    
     265    // 商品規格情報の取得     
    266266    $arrProductsClass = lfGetProductsClass($product_id); 
    267267     
    268     // µ¬³Ê1¥¯¥é¥¹Ì¾¤Î¼èÆÀ 
     268    // 規格1クラス名の取得 
    269269    $objPage->tpl_class_name1[$product_id] = $arrClassName[$arrProductsClass[0]['class_id1']]; 
    270     // µ¬³Ê2¥¯¥é¥¹Ì¾¤Î¼èÆÀ 
     270    // 規格2クラス名の取得 
    271271    $objPage->tpl_class_name2[$product_id] = $arrClassName[$arrProductsClass[0]['class_id2']]; 
    272272     
    273     // ¤¹¤Ù¤Æ¤ÎÁȤ߹ç¤ï¤»¿ô  
     273    // すべての組み合わせ数    
    274274    $count = count($arrProductsClass); 
    275275     
     
    280280     
    281281    $list_id = 0; 
    282     $arrList[0] = "\tlist". $product_id. "_0 = new Array('ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤'"; 
     282    $arrList[0] = "\tlist". $product_id. "_0 = new Array('選択してください'"; 
    283283    $arrVal[0] = "\tval". $product_id. "_0 = new Array(''"; 
    284284     
    285285    for ($i = 0; $i < $count; $i++) { 
    286         // ºß¸Ë¤Î¥Á¥§¥Ã¥¯ 
     286        // 在庫のチェック 
    287287        if($arrProductsClass[$i]['stock'] <= 0 && $arrProductsClass[$i]['stock_unlimited'] != '1') { 
    288288            continue; 
     
    291291        $stock_find = true; 
    292292         
    293         // µ¬³Ê1¤Î¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹ÍÑ 
     293        // 規格1のセレクトボックス用 
    294294        if($classcat_id1 != $arrProductsClass[$i]['classcategory_id1']){ 
    295295            $arrList[$list_id].=");\n"; 
     
    300300        } 
    301301         
    302         // µ¬³Ê2¤Î¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹ÍÑ 
     302        // 規格2のセレクトボックス用 
    303303        $classcat_id2 = $arrProductsClass[$i]['classcategory_id2']; 
    304304         
    305         // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹É½¼¨ÃÍ 
     305        // セレクトボックス表示値 
    306306        if($arrList[$list_id] == "") { 
    307             $arrList[$list_id] = "\tlist". $product_id. "_". $list_id. " = new Array('ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤', '". $arrClassCatName[$classcat_id2]. "'"; 
     307            $arrList[$list_id] = "\tlist". $product_id. "_". $list_id. " = new Array('選択してください', '". $arrClassCatName[$classcat_id2]. "'"; 
    308308        } else { 
    309309            $arrList[$list_id].= ", '".$arrClassCatName[$classcat_id2]."'"; 
    310310        } 
    311311         
    312         // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹POSTÃÍ 
     312        // セレクトボックスPOST値 
    313313        if($arrVal[$list_id] == "") { 
    314314            $arrVal[$list_id] = "\tval". $product_id. "_". $list_id. " = new Array('', '". $classcat_id2. "'"; 
     
    321321    $arrVal[$list_id].=");\n"; 
    322322         
    323     // µ¬³Ê1 
     323    // 規格1 
    324324    $objPage->arrClassCat1[$product_id] = $arrSele; 
    325325     
     
    350350    $objPage->tpl_javascript.= $vals.");\n"; 
    351351     
    352     // ÁªÂò¤µ¤ì¤Æ¤¤¤ëµ¬³Ê2ID 
     352    // 選択されている規格2ID 
    353353    $classcategory_id = "classcategory_id". $product_id; 
    354354    $objPage->tpl_onload .= "lnSetSelect('".$classcategory_id."_1','".$classcategory_id."_2','".$product_id."','".$_POST[$classcategory_id."_2"]."'); "; 
    355355 
    356     // µ¬³Ê1¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë 
     356    // 規格1が設定されている 
    357357    if($arrProductsClass[0]['classcategory_id1'] != '0') { 
    358358        $classcat_find1 = true; 
    359359    } 
    360360     
    361     // µ¬³Ê2¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë 
     361    // 規格2が設定されている 
    362362    if($arrProductsClass[0]['classcategory_id2'] != '0') { 
    363363        $classcat_find2 = true; 
     
    370370    return $objPage; 
    371371} 
    372 /* ¾¦Éʵ¬³Ê¾ðÊó¤Î¼èÆÀ */ 
     372/* 商品規格情報の取得 */ 
    373373function lfGetProductsClass($product_id) { 
    374374    $arrRet = array(); 
    375375    if(sfIsInt($product_id)) { 
    376         // ¾¦Éʵ¬³Ê¼èÆÀ 
     376        // 商品規格取得 
    377377        $objQuery = new SC_Query(); 
    378378        $col = "product_class_id, classcategory_id1, classcategory_id2, class_id1, class_id2, stock, stock_unlimited"; 
     
    385385} 
    386386 
    387 /* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 
     387/* 入力内容のチェック */ 
    388388function lfCheckError($id) { 
    389389    global $objPage; 
    390390     
    391     // ÆþÎϥǡ¼¥¿¤òÅϤ¹¡£ 
     391    // 入力データを渡す。 
    392392    $objErr = new SC_CheckError(); 
    393393     
     
    395395    $classcategory_id2 = "classcategory_id". $id. "_2"; 
    396396    $quantity = "quantity". $id; 
    397     // Ê£¿ô¹àÌÜ¥Á¥§¥Ã¥¯ 
     397    // 複数項目チェック 
    398398    if ($objPage->tpl_classcat_find1[$id]) { 
    399         $objErr->doFunc(array("µ¬³Ê1", $classcategory_id1, INT_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
     399        $objErr->doFunc(array("規格1", $classcategory_id1, INT_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    400400    } 
    401401    if ($objPage->tpl_classcat_find2[$id]) { 
    402         $objErr->doFunc(array("µ¬³Ê2", $classcategory_id2, INT_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    403     } 
    404     $objErr->doFunc(array("¸Ä¿ô", $quantity, INT_LEN), array("EXIST_CHECK", "ZERO_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
     402        $objErr->doFunc(array("規格2", $classcategory_id2, INT_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
     403    } 
     404    $objErr->doFunc(array("個数", $quantity, INT_LEN), array("EXIST_CHECK", "ZERO_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    405405             
    406406    return $objErr->arrErr; 
    407407} 
    408408 
    409 // ¹ØÆþÀ©¸Â¿ô¤ÎÀßÄê 
     409// 購入制限数の設定 
    410410function lfGetSaleLimit($product) { 
    411411    global $objPage; 
    412     //ºß¸Ë¤¬Ìµ¸Â¤Þ¤¿¤Ï¹ØÆþÀ©¸ÂÃͤ¬ÀßÄêÃͤè¤êÂ礭¤¤¾ì¹ç 
     412    //在庫が無限または購入制限値が設定値より大きい場合 
    413413    if($product['sale_unlimited'] == 1 || $product['sale_limit'] > SALE_LIMIT_MAX) { 
    414414        $objPage->tpl_sale_limit[$product['product_id']] = SALE_LIMIT_MAX; 
     
    420420} 
    421421 
    422 //»ÙʧÊýË¡¤Î¼èÆÀ 
    423 //payment_id    1:Âå¶â°ú´¹¡¡2:¶ä¹Ô¿¶¤ê¹þ¤ß¡¡3:¸½¶â½ñα 
     422//支払方法の取得 
     423//payment_id    1:代金引換 2:銀行振り込み 3:現金書留 
    424424function lfGetPayment() { 
    425425    $objQuery = new SC_Query; 
Note: See TracChangeset for help on using the changeset viewer.