"; echo ""; // Code for Messages $total_messages = mysql_num_rows(mysql_query("SELECT msg_id FROM priv_msgs WHERE to_userid = '$cookie[0]'")); $new_messages = mysql_num_rows(mysql_query("SELECT msg_id FROM priv_msgs WHERE to_userid = '$cookie[0]' AND read_msg='0'")); if ($username== "Anonymous") { echo "(Vous êtes un utilisateur Anonyme. Enregsiterz vous !.)"; }else{ if($total_messages > 0) { if($new_messages > 0){ echo "  bienvenue $username To New $new_messages ST Write The Forum Whos Logout"; }else{ echo "  bienvenue $username To Your Write The Forum Whos Logout"; } }else{ echo "  bienvenue $username To In-Box Write The Forum Whos Logout"; } } echo "";