When looking at the flat side with the leads pointed downward, the three wires emerging from the bottom are connected to, from left to right, the emitter, the base and the collector.
When examining the flat side with the leads directed downwards, the three wires protruding from the bottom are connected to, from left to right, the emitter, the base and the collector.