A man accused of attempted car bombings in London and at Glasgow airport was captured on CCTV buying a component for his home-made device, a jury has heard.
Prosecutors say Dr Bilal Abdulla could be seen in a B&Q store buying a gas cylinder like the one left in a car he tried to blow up outside a London club.
The Woolwich Crown Court jury heard the club manager became concerned after smelling gas coming from a car.
Dr Abdulla, 29, and Dr Mohammed Asha, 27, deny plotting car bombings in 2007.
They have pleaded not guilty to conspiracy to murder and conspiracy to cause explosions.
The jury also saw CCTV footage said show a car carrying gas and petrol nearing a London nightclub.
It is alleged a Mercedes packed with gas and petrol was parked outside Tiger Tiger nightclub in central London on 29 June last year.
Club manager Bruce Beattie told the court that he and doorman Tom Peek felt it "wasn't safe" after they could only see blankets on the vehicle's back seat.
Three men were allegedly involved in the attempted bombings
Mr Beattie told the jury: "Tom and I could begin to smell gas and we were getting a bit concerned.
"We looked in the back of the car and could just see blankets in the back seat... it was at that point that we thought it wasn't safe."
He said the vehicle was parked with its headlights on, and white vapour was streaming around the inside of it.
Nearly 600 customers and staff were evacuated from the club in the Piccadilly area.
Both that device and a second car bomb allegedly left by Kafeel Ahmed in nearby Cockspur Street did not go off because mobile phone detonators failed.
The jury was shown a variety of CCTV footage of both devices being planted, including film of drinkers in Tiger Tiger with the car bomb visible through the bar's glass doors.
The following day Mr Ahmed drove a jeep into a terminal building at Glasgow airport. He later died from burns. Dr Abdulla is alleged to have been a passenger in the vehicle.
Revellers in Tiger Tiger were unaware of the car bomb outside
It is alleged Dr Abdulla, who was living in Houston, near Glasgow, and Mr Ahmed made the three car bombs, and Dr Asha, of Newcastle-under-Lyme, Staffordshire, provided money and advice behind the scenes.
The jury heard that a laptop computer recovered from the jeep revealed internet searches of London nightclubs as possible targets.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.