사용자: 게시판스킨 댓글 작업 중, 페이징 함수 수정

This commit is contained in:
whitedot committed 2013-01-09 15:44:35 +09:00
1 parent e398d02da6
commit 14d0e05f9d
3 files changed
+10 -9

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@ function get_microtime()
function get_paging($write_pages, $cur_page, $total_page, $url, $add="")
{
$str = '';
$str .= "<div class=\"pg\">";
if ($cur_page > 1) {
$str .= '<a href="'.$url.'1'.$add.'" class="pg_page">처음</a>'.PHP_EOL;
}
@@ -44,7 +45,7 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="")
if ($cur_page < $total_page) {
$str .= '<a href="'.$url.$total_page.$add.'" class="pg_page">맨끝</a>'.PHP_EOL;
}
$str .= "";
$str .= "</div>";
return $str;
}