Looks like it should be eligible for Out of Warranty service. You wil basically be given a refurbished unit as a replacement. So make sure you do a full backup before bringing it in.
Apple charges $299 for 3rd and 4th Gen iPads, $249 for 2nd gen or original, and $219 for iPad minis.
I would go to a repair shop and ask if they can fix it though. Metal can be bent back but will never be the same, but if that's okay with you maybe you can get the glass replaced cheaper and still have a functioning unit.
Personally, I would do the out of warranty repair OR sell my unit "as is" on eBay and buy another one, depending on what you calculate will be cheaper or better for you.