class.flatblog.php
// Show posts, $n being the number of posts to show and $o being offset (defaults to zero) //
Show posts, $n being the number of posts to show and $o being offset (defaults to zero)
Show posts $n being the number of posts to show and $o being offset ( defaults to zero )
public function showXPosts($n, $o = 0) {
		$allposts = $this->renderPostTemplate();
		for($i = $o; $i < $n; $i++) {
			if(isset($allposts[$i])) { 
				echo $allposts[$i];
			}
		}
	}
public function showXPosts ( $ n , $ o = 0 ) { $ allposts = $ this -> renderPostTemplate ( ) ; for ( $ i = $ o ; $ i < $ n ; $ i ++ ) { if ( isset ( $ allposts [ $ i ] ) ) { echo $ allposts [ $ i ] ; } } }
Show posts, $n being the number of posts to show and $o being offset (defaults to zero)
Show posts $n being the number of posts to show and $o being offset ( defaults to zero )