Posting and Displaying

Hello,
I found a posting script on spoono.com for PHP. It also then displays the information from the database. But, each time I want it to create a new image/table type of thing so it is organized. So it would create a little gray box with a blue title bar at the top (just an example) that displays the message text in the gray box and the title at the top with additional time/date/year information at the bottom. How can I put this in the PHP code? Basically I am wondering how can I add something in the PHP coding to automatically generate a gray box in the background of the text instead of a plain white background.

Thanks,
Peter