E-Liberate

All of the data insert is done on Elib, and now I'm working on the returns- essentially the rules themselves. I'm not altogether happy with how this is going, but I need to write it to refactor it. I don't see how to make it simpler, and since each rule is in some way unique it's coming out as a single very complicated method. I don't see another way to handle it though; encapsulating the code would actually be less performant and somewhat obfuscating although less intimidating to read at first glance. I have the mechanism by which I can hide and show the buttons and have divided the actions into arrays (static, subsidiary, and privileged). The MySql is finished and the PHP code for the returns is also done, so all of this is advanced jQuery (the result of the rules being essentially views). 

I've read that Apache is not performant for long polling applications due to threading issues, but I'll try to tweak the interval; I've read that helps. 

Spent a bit more time with the Games faction this week.