This is the source code of Current Posts module (For Drupal 7.x)