Oh heck, my stomach actually flipped at that picture. Gross. Your bud needs to seek medical attention immediately. I would opt for a local clinic to have the nail removed (realistically, if your friend goes to emergency, he can look to sit there at least six hours while patients with more serious conditions are treated first). Mind you, I don't know what the clinics are like in the states. Either way, that needs to be treated before it becomes gangrenous (if it isn't already) and he faces a possible amputation.
I enjoy a good sandwich and nothing revs up a sandwich more than oil soaked sundried tomatoes.