function RenderNav()
	{
		ob_start();
		if (!$this->rs->AtFirstPage()) {
			$this->Render_First();
			$this->Render_Prev();
		} else {
			$this->Render_First(false);
			$this->Render_Prev(false);
		}
        if ($this->showPageLinks){
            $this->Render_PageLinks();
        }
		if (!$this->rs->AtLastPage()) {
			$this->Render_Next();
			$this->Render_Last();
		} else {
			$this->Render_Next(false);
			$this->Render_Last(false);
		}
		$s = ob_get_contents();
		ob_end_clean();
		return $s;
	}
function RenderNav()
	{
		ob_start();
		if (!$this->rs->AtFirstPage()) {
			$this->Render_First();
			$this->Render_Prev();
		} else {
			$this->Render_First(false);
			$this->Render_Prev(false);
		}
        if ($this->showPageLinks){
            $this->Render_PageLinks();
        }
		if (!$this->rs->AtLastPage()) {
			$this->Render_Next();
			$this->Render_Last();
		} else {
			$this->Render_Next(false);
			$this->Render_Last(false);
		}
		$s = ob_get_contents();
		ob_end_clean();
		return $s;
	}
function RenderNav ( ) { ob_start ( ) ; if ( ! $ this -> rs -> AtFirstPage ( ) ) { $ this -> Render_First ( ) ; $ this -> Render_Prev ( ) ; } else { $ this -> Render_First ( false ) ; $ this -> Render_Prev ( false ) ; } if ( $ this -> showPageLinks ) { $ this -> Render_PageLinks ( ) ; } if ( ! $ this -> rs -> AtLastPage ( ) ) { $ this -> Render_Next ( ) ; $ this -> Render_Last ( ) ; } else { $ this -> Render_Next ( false ) ; $ this -> Render_Last ( false ) ; } $ s = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ s ; }
we use output buffering to keep the code easy to read.
we use output buffering to keep the code easy to read .