That's too bad it's wrecked... with some hardware, it might be fixable.... but I've always hated those kind of pullout keyboard trays, they just aren't strong.
That's why I prefer laptops. Keyboard is attached.