seems to act like a diode, the picture seems to show a third pin unconnected ? or i did see it wrong ?
It's probably connected to a via underneath the transistor. On the LM393 nearby, pins 3 and 4 appear to be unconnected, but they definitely have to be as they are one of the comparator inputs and ground.
The pins on the right side of J7 go to the AC secondary of a mains transformer, right? If so I would guess that the two transistors in question are MOSFETs to disconnect the secondary winding(s) under certain conditions (line overvoltage, delayed startup etc). The LM393 comparator nearby might be operating them. If this is the case then a short in the powersupply would explain them being blown, and you can work out if they should be NMOS or PMOS by the polarity of the connection and if the LM393 is pulling the gate high or low. Usually there will be a high value resistor connected from gate to source, and the comparator pulls the gate towards drain to turn it on. If it's just operating as a switch as I suspect then you can choose any MOSFET which is rated for the voltage, current and doesn't have an Rds-on which will drop too much voltage.