Looking at your iPhone, is the back silver? If so, you've got an Original iPhone.
Got a white or black back? what color is the lower writing? "iPhone"grey? or chrome?If it's chrome, you have a 3GS
This part is compatible with the iPhone 3G.