You're very lucky your Iphone is still working.
Your battery was not the same lucky I guess:
You'll have to change your battery which is dead, you've two options:
-Use apple care that will steal you 80$ and will take 2 weeks
-Do it yourself, that will cost you at most 20$ and will take 30 mins
I let you choose the good option ;)