#13 paginate 처리
This commit is contained in:
@ -34,9 +34,9 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="")
|
||||
if ($total_page > 1) {
|
||||
for ($k=$start_page;$k<=$end_page;$k++) {
|
||||
if ($cur_page != $k)
|
||||
$str .= '<a href="'.$url.$k.$add.'" class="pg_page">'.$k.'</a>'.PHP_EOL;
|
||||
$str .= '<a href="'.$url.$k.$add.'" class="pg_page">'.$k.'<span class="sound_only">페이지</span></a>'.PHP_EOL;
|
||||
else
|
||||
$str .= '<strong class="pg_current">'.$k.'</strong>'.PHP_EOL;
|
||||
$str .= '<strong class="pg_current"><span class="sound_only">선택된</span>'.$k.'<span class="sound_only">페이지</span></strong>'.PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user