|  | @@ 99-112 (lines=14) @@ | 
                                                            
                                    | 96 |  |             } | 
                                                            
                                    | 97 |  |             $counter      = 1; | 
                                                            
                                    | 98 |  |             $current_page = (int)floor(($this->current + $this->perpage) / $this->perpage); | 
                                                            
                                    | 99 |  |             while ($counter <= $total_pages) { | 
                                                            
                                    | 100 |  |                 if ($counter == $current_page) { | 
                                                            
                                    | 101 |  |                     $ret .= '<b>(' . $counter . ')</b> '; | 
                                                            
                                    | 102 |  |                 } elseif (($counter > $current_page - $offset && $counter < $current_page + $offset) || $counter == 1 || $counter == $total_pages) { | 
                                                            
                                    | 103 |  |                     if ($counter == $total_pages && $current_page < $total_pages - $offset) { | 
                                                            
                                    | 104 |  |                         $ret .= '... '; | 
                                                            
                                    | 105 |  |                     } | 
                                                            
                                    | 106 |  |                     $ret .= '<a href="' . $this->url . (($counter - 1) * $this->perpage) . '">' . $counter . '</a> '; | 
                                                            
                                    | 107 |  |                     if ($counter == 1 && $current_page > 1 + $offset) { | 
                                                            
                                    | 108 |  |                         $ret .= '... '; | 
                                                            
                                    | 109 |  |                     } | 
                                                            
                                    | 110 |  |                 } | 
                                                            
                                    | 111 |  |                 ++$counter; | 
                                                            
                                    | 112 |  |             } | 
                                                            
                                    | 113 |  |             $next = $this->current + $this->perpage; | 
                                                            
                                    | 114 |  |             if ($this->total > $next) { | 
                                                            
                                    | 115 |  |                 $ret .= '<a href="' . $this->url . $next . '"><u>»</u></a> '; | 
                                                                                
                                |  | @@ 224-237 (lines=14) @@ | 
                                                            
                                    | 221 |  |             } | 
                                                            
                                    | 222 |  |             $counter      = 1; | 
                                                            
                                    | 223 |  |             $current_page = (int)floor(($this->current + $this->perpage) / $this->perpage); | 
                                                            
                                    | 224 |  |             while ($counter <= $total_pages) { | 
                                                            
                                    | 225 |  |                 if ($counter == $current_page) { | 
                                                            
                                    | 226 |  |                     $ret .= '<td class="pagact"><b>' . $counter . '</b></td>'; | 
                                                            
                                    | 227 |  |                 } elseif (($counter > $current_page - $offset && $counter < $current_page + $offset) || $counter == 1 || $counter == $total_pages) { | 
                                                            
                                    | 228 |  |                     if ($counter == $total_pages && $current_page < $total_pages - $offset) { | 
                                                            
                                    | 229 |  |                         $ret .= '<td class="paginact">...</td>'; | 
                                                            
                                    | 230 |  |                     } | 
                                                            
                                    | 231 |  |                     $ret .= '<td class="paginact"><a href="' . $this->url . (($counter - 1) * $this->perpage) . '">' . $counter . '</a></td>'; | 
                                                            
                                    | 232 |  |                     if ($counter == 1 && $current_page > 1 + $offset) { | 
                                                            
                                    | 233 |  |                         $ret .= '<td class="paginact">...</td>'; | 
                                                            
                                    | 234 |  |                     } | 
                                                            
                                    | 235 |  |                 } | 
                                                            
                                    | 236 |  |                 ++$counter; | 
                                                            
                                    | 237 |  |             } | 
                                                            
                                    | 238 |  |             $next = $this->current + $this->perpage; | 
                                                            
                                    | 239 |  |             if ($this->total > $next) { | 
                                                            
                                    | 240 |  |                 $ret .= '<td><img src="' . XOOPS_URL . '/images/blank.gif" width="6" alt="" /></td><td class="pagneutral"><a href="' . $this->url . $next . '">></a></td>'; |