PhpCalendar is a PHP library to present a calendar which you can simply use to link to URLs that depend on which date a user clicked on.