Thanks for your quick reaction, but i get an error with your profile_view_user.php
Could not read userdata.
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id <> -1 WHERE ...