Box with opening compartments