complete view friend list php java code