A 31-year-old man has been taken to hospital with life-threatening injuries following an alleged attack at a 24-hour nightclub.