ls -@OTaen Pic* | open -f -a TextEdit
Back up all data.
You have two items named "iPhoto Library" in the Pictures folder. One of them has an iPhoto icon, and one has a plain icon. Move the one with the plain icon to the Desktop.
Quit iPhoto if it's running. Double-click the library in the Pictures folder. iPhoto will open it. If all your photos are there, you should be able to delete the item you moved to the Desktop.
If your photos aren't all there, quit iPhoto again. Move the item in the Pictures folder to the Desktop, and move the one that you previously moved there back to the Pictures folder. Also, rename it to add the suffix ".photolibrary" (without the quotes) to the name. It should then have an iPhoto icon. Repeat the above procedure.