public function next($html, $html2 = '')
    {
        # Only show if you are not on the last page
        $r = ($this->get < $this->pages()) ? str_replace('{nr}', $this->get + 1, $html) : str_replace('{nr}', $this->get + 1, $html2);

        return $r;
    }
public function next($html, $html2 = '')
    {
        # Only show if you are not on the last page
        $r = ($this->get < $this->pages()) ? str_replace('{nr}', $this->get + 1, $html) : str_replace('{nr}', $this->get + 1, $html2);

        return $r;
    }
public function next ( $ html , $ html2 = '' ) { # Only show if you are not on the last page $ r = ( $ this -> get < $ this -> pages ( ) ) ? str_replace ( '{nr}' , $ this -> get + 1 , $ html ) : str_replace ( '{nr}' , $ this -> get + 1 , $ html2 ) ; return $ r ; }
This shows the 'next' link with custom html
@param string $html The HTML you wish to use to display the link
@return string The Same HTML replaced the tags with the proper number
This shows the next link with custom html