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

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/contents/recommend_search.php

    r10209 r10313  
    8989        $page_max = SEARCH_PMAX; 
    9090    } 
    91      
     91 
    9292    // ¥Ú¡¼¥¸Á÷¤ê¤Î¼èÆÀ 
    9393    $objNavi = new SC_PageNavi($_POST['search_pageno'], $linemax, $page_max, "fnNaviSearchOnlyPage", NAVI_PMAX); 
    9494    $objPage->tpl_strnavi = $objNavi->strnavi;      // ɽ¼¨Ê¸»úÎó 
    9595    $startno = $objNavi->start_row; 
    96      
     96 
    9797    // ¼èÆÀÈϰϤλØÄê(³«»Ï¹ÔÈֹ桢¹Ô¿ô¤Î¥»¥Ã¥È) 
    98     $objQuery->setlimitoffset($page_max, $startno); 
    99  
     98    if(DB_TYPE != "mysql") $objQuery->setlimitoffset($page_max, $startno); 
    10099    // ɽ¼¨½ç½ø 
    101100    $objQuery->setorder($order); 
     101 
     102    // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ) 
     103    sfViewWhere("&&noncls_where&&", $where, $arrval, $objQuery->order . " " .  $objQuery->setlimitoffset($page_max, $startno, true)); 
     104 
    102105    // ¸¡º÷·ë²Ì¤Î¼èÆÀ 
    103106    $objPage->arrProducts = $objQuery->select($col, $from, $where, $arrval); 
Note: See TracChangeset for help on using the changeset viewer.