I want an advertisement rotation system which is made up of 2 banner ads (1 at top and 1 at bottom of page) and 7 button ads (all at right hand side). The two banners will be two different advertisements which will alternate between top and bottom i.e Ad1 is at top of one page, and goes to the bottom of the next page when any other link is clicked and vice versa.
The 7 Button ads (placed vertically) at the right side appear on almost every page on the site using php includes. They will alternate their position, meaning that 1st ad could go to 2nd place on next link clicked etc. The idea is that no ad keeps the same position as links are clicked.
All buttons and banners will have an individual id and clicks (unique and repeat clicks) will be logged in a database.