Pediatrics

A child is brought to the pediatric OPD with high grade fever of 24 hours duration. History reveals 3 episodes of chest infection and passage of foul smelling stools. The most probable diagnosis is: