Phase transitions of a nearest-neighbor Ising-model spin glass