Changeset 16225
- Timestamp:
- 2007/10/01 16:54:46 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/products/LC_Page_Products_List.php
r16165 r16225 201 201 202 202 //表示件数の選択 203 if(SC_Utils_Ex::sfIsInt($_REQUEST['disp_number'])) { 203 if(isset($_REQUEST['disp_number']) 204 && SC_Utils_Ex::sfIsInt($_REQUEST['disp_number'])) { 204 205 $this->disp_number = $_REQUEST['disp_number']; 205 206 } else { … … 209 210 210 211 //表示順序の保存 211 $this->orderby = $_REQUEST['orderby'];212 $this->orderby = isset($_REQUEST['orderby']) ? $_REQUEST['orderby'] : ""; 212 213 213 214 // GETのカテゴリIDを元に正しいカテゴリIDを取得する。 … … 217 218 $tpl_subtitle = ""; 218 219 $tpl_search_mode = false; 220 221 if (!isset($_GET['mode'])) $_GET['mode'] = ""; 222 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 223 if (!isset($_GET['name'])) $_GET['name'] = ""; 224 if (!isset($_REQUEST['orderby'])) $_REQUEST['orderby'] = ""; 225 219 226 if($_GET['mode'] == 'search'){ 220 227 $tpl_subtitle = "検索結果"; … … 306 313 continue; 307 314 } 308 $objURL->addQueryString($key, mb_convert_encoding($value, 'SJIS', 'EUC-JP'));315 $objURL->addQueryString($key, mb_convert_encoding($value, 'SJIS', CHAR_CODE)); 309 316 } 310 317 … … 404 411 405 412 // ページ送りの取得 406 $ objNavi = new SC_PageNavi($this->tpl_pageno, $linemax, $disp_num, "fnNaviPage", NAVI_PMAX);407 408 $strnavi = $ objNavi->strnavi;413 $this->objNavi = new SC_PageNavi($this->tpl_pageno, $linemax, $disp_num, "fnNaviPage", NAVI_PMAX); 414 415 $strnavi = $this->objNavi->strnavi; 409 416 $strnavi = str_replace('onclick="fnNaviPage', 'onclick="form1.mode.value=\''.'\'; fnNaviPage', $strnavi); 410 417 // 表示文字列 411 418 $this->tpl_strnavi = empty($strnavi) ? " " : $strnavi; 412 $startno = $ objNavi->start_row; // 開始行419 $startno = $this->objNavi->start_row; // 開始行 413 420 414 421 // 取得範囲の指定(開始行番号、行数のセット)
Note: See TracChangeset
for help on using the changeset viewer.