If you can get to the command line on your broken install, type
sudo apt-get install ubuntu-desktop
It will ask for your password, type it in. It won't show it as you're typing.
Then just wait. Once it's done, reboot.
Post back to tell us what happened.