@@ 45-51 (lines=7) @@ | ||
42 | $html .= '<li><a href="javascript:void(0)" onClick="fn_search(' . $pagingUtil->prev_page_group . ');">이전</a></li>'; |
|
43 | } |
|
44 | ||
45 | for ($i = $pagingUtil->start_page; $i <= $pagingUtil->end_page; $i++) { |
|
46 | if ($i == $pagingUtil->cpage) { |
|
47 | $html .= '<li><a href="javascript:void(0)" class="disabled btn-danger">' . $i . '</a></li>'; |
|
48 | } else { |
|
49 | $html .= '<li><a href="javascript:void(0)" onClick="fn_search(' . $i . ');">' . $i . '</a></li>'; |
|
50 | } |
|
51 | } |
|
52 | ||
53 | if ($pagingUtil->num_page_group < $pagingUtil->last_page_group) { |
|
54 | $html .= '<li><a href="javascript:void(0)" onClick="fn_search(' . $pagingUtil->next_page_group . ');">다음</a></li>'; |
|
@@ 83-89 (lines=7) @@ | ||
80 | $html .= '<li class="disabled"><a href="javascript:void(0)" onClick="' . $js_fn_name . '(' . 1 . ');">«</a></li>'; |
|
81 | $html .= '<li class="disabled"><a href="javascript:void(0)" onClick="' . $js_fn_name . '(' . $pagingUtil->prev_page_group . ');">‹</a></li>'; |
|
82 | } |
|
83 | for ($i = $pagingUtil->start_page; $i <= $pagingUtil->end_page; $i++) { |
|
84 | if ($i == $pagingUtil->cpage) { |
|
85 | $html .= '<li class="active"><a href="javascript:void(0)">' . $i . '</a></li>'; |
|
86 | } else { |
|
87 | $html .= '<li><a href="javascript:void(0)" onClick="' . $js_fn_name . '(' . $i . ');">' . $i . '</a></li>'; |
|
88 | } |
|
89 | } |
|
90 | ||
91 | if ($pagingUtil->num_page_group < $pagingUtil->last_page_group) { |
|
92 | $html .= '<li><a href="javascript:void(0)" onClick="' . $js_fn_name . '(' . $pagingUtil->next_page_group . ');">›</a></li>'; |