added notblog and pager and blog.php changes