updated the calendar.php page to no longer have any SQL in the source.
It uses a DAO instead. It has also been updated from a formatting
perspective. Most of the php that was writting out html has been
removed.