The file is [url removed, login to view]
1. Comment the code.
2. Rewrite the file to be more concise.
Much of the code and queries are repetitive.
3. Fix the rotation.
Currently, only a few pages get most of the exposure.
Make it so that the rotation is more fair.
All of these issues are in one file.
The includes have been checked and are correct.
When bidding, please state which country you are from so that I know you read this project description.