Guestbook example written in PHP using Smarty