Hi buddy,
First relax, because the photos are not lost only the entries to the iPhoto has deleted using which you access those photos, the photos are still in your Mac hard drive. Just use any iPhoto Recovery software and retrieve your photos from the iPhoto.
All the Best!