PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Maybe it would help if you explained what it should do since I don't think anybody is going to sit down and read through all that code in order to figure it out themselves
tags to colorize your code too... makes for easier reading and debugging --> there's an "Edit" button on your post if you wish to update it to use these, you'll get more responses.