fixed deprecated code for confirm
+ list on the side to categorize posts by date