Oh my, poor baby looks like it has a serious infection. Do you have any antibiotics (Baytril , tetracycline, doxycycline - i always have some available for emergencies with my canaries) that you can put in water and perhaps get it to swallow some? Also try giving some sugar water to give the guy some energy. My guess is the foot was traumatized cutting off the circulation and now infection has set it.