The Movie's producers are charged simply with making the product: the movie itself. At some point during the movie's production (or often, nowadays, before work has even commenced), the producers will negotiate with distributers.
For a more detailed answer to how producers earn their fee, check this out.
Often, a film can have a domestic and international distributor, and a 3rd for handling residuals (DVD and post Box Office). Increasingly, and with a big budget product (like Star Wars), all this is handled by one powerhouse distributor.
Distributors will agree to cover print movement, distribution and often marketing: in exchange for either a percentage of box office, a fixed nominal fee or sometimes rolling points on the movie itself. Depending on the type of movie and how wide it is opening (the scale of its release), different methods of payment can offer different returns, so this changes.
Finally, a exhibitor will take the product from the distributor and show it on their screens. They will also take a healthy cut from Box Office, as they have to factor in the overheads of actually getting people to pay for the product.
It is never anywhere near a 50/50 split, but it does change drastically depending on the movie. For example, an Indie that is desperate to be shown would happily agree to lose 60% on Dist, with 20% of that going to exhibitors just to get the film seen.
Spectre, in comparison, was a sure thing, so its producers could barter a lot stronger in the returns %.
Many Cinemas, especially Multiplex chains, have an agreement with a set distributor for trailers. They don't get paid per trailer, but will receive an annual fee for playing the adverts and trailers chosen by the distributors. Typically, distributors will only feature adverts that they are distributing themselves, and also that will be released in the cinema they're being played in to avoid conflict of interest. The amount paid to an exhibitor depends on the size of the venue and prospective audience, but it's not really as much you'd imagine; maybe only £7K ($10K) per screen, per year.