That really looks like he caught his foot in something and then injured the leg trying to get out. Take this with a large grain of salt since I'm not a vet and am only working off of pictures.
At this point, it's important that he have rest, quiet, and get plenty to eat and drink. I would start with some Nutri-Drench in his water, and if he's not eating his regular feed, try some boiled egg yolk that you've crushed up for him.
What are you feeding him normally? The way his toes are twisted could be injury, but I've also seen that sort of thing with malnutrition.