PHP code for building blog.