A visa is required for most nationalities entering Turkey. For British Nationals, the visa is $20 per person. You MUST purchase your visa before travelling. There is NO FACILITY to purchase a visa at the airport. Below is the official visa website.
For full information on visa requirements, please use the following link. http://www.mfa.gov.tr/visa-information-for-foreigners.en.mfa
British Citizens do not currently need a visa to enter Morocco. http://www.moroccanconsulate.org.uk/en/Visa.html