< id="imBlogContent">setCommentsPerPage(10);
if(isset($data['id']))
$blog->showPost($data['id'],1);
else if(isset($data['category']))
$blog->showCategory($data['category']);
else if(isset($data['author']))
$blog->showAuthor($data['author']);
else if(isset($data['tag']))
$blog->showTag($data['tag']);
else if(isset($data['month']))
$blog->showMonth($data['month']);
else if(isset($data['search']))
$blog->showSearch($data['search']);
else
$blog->showLast(18);
?>
>