changed $BLOG to $ENTRY and new structure in blog.php