diff --git a/bbs/list.php b/bbs/list.php index 09e84a3b9..77a8bc3b4 100644 --- a/bbs/list.php +++ b/bbs/list.php @@ -18,7 +18,7 @@ if ($board['bo_use_category']) { $category = trim($categories[$i]); if ($category=='') continue; $category_option .= '
  • '; } @@ -137,7 +137,7 @@ while ($row = sql_fetch_array($result)) $k++; } -$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, './board.php?bo_table='.$bo_table.$qstr.'&page='); +$write_pages = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, './board.php?bo_table='.$bo_table.$qstr.'&page='); $list_href = ''; $prev_part_href = ''; @@ -149,13 +149,13 @@ if ($sca || $stx) { $prev_spt = $spt - $config['cf_search_part']; if (isset($min_spt) && $prev_spt >= $min_spt) { $prev_part_href = './board.php?bo_table='.$bo_table.$qstr.'&spt='.$prev_spt.'&page=1'; - $write_pages = page_insertbefore($write_pages, '이전검색'); + $write_pages = page_insertbefore($write_pages, '이전검색'); } $next_spt = $spt + $config['cf_search_part']; if ($next_spt < 0) { $next_part_href = './board.php?bo_table='.$bo_table.$qstr.'&spt='.$next_spt.'&page=1'; - $write_pages = page_insertafter($write_pages, '다음검색'); + $write_pages = page_insertafter($write_pages, '다음검색'); } }