That's a pretty generic Chinese BOB, however I'm not entirely sure of the pinouts.

I do however know the original Denford wire numbers, but they don't seem to match the hand written marks on the terminals -
57 - Home 2 (Z)
58 (assuming the 5 has fallen off) - EStop monitor signal
66
67
68 - Estop relay coil
78 - SGR (Spindle Go Relay)

66 & 67 would normally be the wiring numbers for part of the E-Stop loop (depending on the spec, the EStop loop can go through EStop button(s), limit switches, Guard interlock, and spindle motor overheat, with the wire number incrementing between each switch/sensor capable of breaking the loop).

This is the BOB, which will give you the pin mappings
Click image for larger version. 

Name:	s-l1600.jpg 
Views:	78 
Size:	112.5 KB 
ID:	32145