Simple social networking site using php called "NEtlinked". This system allow adding of friend, delete friend, upload photos, messages and many more.
Hope that this system will help you in your research.