Dropped my iphone 3gs and it didn't crack but now the touch screen won't work?

So i dropped my iphone 3gs on concrete and the glass screen didn't crack but the glass came out. I put it back in fine but now the touch screen won't work and i can't restart it because the middle button also does work. It also doesn't have a warrenty as its secondhand

If you dropped it in water it might have fried the circuts

Aahah