Chosen Solution

The glass is shattered, but the phone still works. I have ordered glass and a repair kit, but I don’t know what to do when they get here.

If you have a 3GS, check out this guide: iPhone 3GS Front Panel Replacement If you have a 3G, check out this guide: iPhone 3G Front Panel Replacement

Sadly, This did not work. The front panel that I ordered was not the same as what I had left after following the very good instructions.