Changeset 10313 for temp/trunk/html/admin/contents/recommend_search.php
- Timestamp:
- 2006/12/06 13:03:31 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/contents/recommend_search.php
r10209 r10313 89 89 $page_max = SEARCH_PMAX; 90 90 } 91 91 92 92 // ¥Ú¡¼¥¸Á÷¤ê¤Î¼èÆÀ 93 93 $objNavi = new SC_PageNavi($_POST['search_pageno'], $linemax, $page_max, "fnNaviSearchOnlyPage", NAVI_PMAX); 94 94 $objPage->tpl_strnavi = $objNavi->strnavi; // ɽ¼¨Ê¸»úÎó 95 95 $startno = $objNavi->start_row; 96 96 97 97 // ¼èÆÀÈϰϤλØÄê(³«»Ï¹ÔÈֹ桢¹Ô¿ô¤Î¥»¥Ã¥È) 98 $objQuery->setlimitoffset($page_max, $startno); 99 98 if(DB_TYPE != "mysql") $objQuery->setlimitoffset($page_max, $startno); 100 99 // ɽ¼¨½ç½ø 101 100 $objQuery->setorder($order); 101 102 // view¤â¹Ê¹þ¤ß¤ò¤«¤±¤ë(mysqlÍÑ) 103 sfViewWhere("&&noncls_where&&", $where, $arrval, $objQuery->order . " " . $objQuery->setlimitoffset($page_max, $startno, true)); 104 102 105 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 103 106 $objPage->arrProducts = $objQuery->select($col, $from, $where, $arrval);
Note: See TracChangeset
for help on using the changeset viewer.
