diff --git a/lib/common.lib.php b/lib/common.lib.php index e3c9f0a05..1a423079c 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -18,10 +18,9 @@ function get_microtime() // 현재페이지, 총페이지수, 한페이지에 보여줄 행, URL function get_paging($write_pages, $cur_page, $total_page, $url, $add="") { - $str = ""; + $str = ''; if ($cur_page > 1) { - $str .= "처음"; - //$str .= "[이전]"; + $str .= '처음'.PHP_EOL; } $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; @@ -29,22 +28,21 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="") if ($end_page >= $total_page) $end_page = $total_page; - if ($start_page > 1) $str .= "  이전"; + if ($start_page > 1) $str .= '이전'; if ($total_page > 1) { for ($k=$start_page;$k<=$end_page;$k++) { if ($cur_page != $k) - $str .= "  $k"; + $str .= ''.$k.''.PHP_EOL; else - $str .= "  $k "; + $str .= ''.$k.''.PHP_EOL; } } - if ($total_page > $end_page) $str .= "  다음"; + if ($total_page > $end_page) $str .= '다음'; if ($cur_page < $total_page) { - //$str .= "[다음]"; - $str .= "  맨끝"; + $str .= '맨끝'.PHP_EOL; } $str .= ""; diff --git a/skin/board/neo/list.skin.php b/skin/board/neo/list.skin.php index 68c465af0..58a7d40dc 100644 --- a/skin/board/neo/list.skin.php +++ b/skin/board/neo/list.skin.php @@ -13,7 +13,7 @@ if ($is_nogood) $colspan++;
-
+
게시물 검색 + Total 건 중 - + @@ -49,10 +48,13 @@ if ($is_nogood) $colspan++;
-RSS +
+ RSS + 글쓰기 +
-
+ @@ -60,11 +62,11 @@ if ($is_nogood) $colspan++; - + - + @@ -140,23 +142,13 @@ for ($i=0; $i
- 글쓰기 + 글쓰기
- "; } ?> - ', $write_pages); - $write_pages = str_replace('이전', '이전', $write_pages); - $write_pages = str_replace('다음', '다음', $write_pages); - $write_pages = str_replace('맨끝', '맨끝', $write_pages); - //$write_pages = preg_replace("/([0-9]*)<\/span>/", "$1", $write_pages); - $write_pages = preg_replace('/([0-9]*)<\/b>/', '$1', $write_pages); - ?> + 이전검색'; } ?> 다음검색'; } ?>
목록
번호 제목 글쓴이 날짜