Quick PHP Code to clean up Gaim Chats

I wrote a quick piece of code to clean up Gaim chat logs, suitable for sending in email or posting in a blog somewhere. You can view the code if you really want, but it's ugly.


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 34.229.63.28
To prevent spam please submit by clicking the kitten: