1994protege (familia)1500cc auto hi ok here's the deal my dauthers

littil mazda had a small eletrictril fire,bunted distributor,leeds.cap, rotor.the odd wire or two ,sorted the wires out replaced distributor, cap,leeds, all second hand & a new rotor now we have no spark to the plugs have power to one of the six wires to top of distributor & one of the three on the side


any help & info will be greatly appresated thank you mark