global $user, $cookie, $use_custom_whosonline; cookiedecode($user); $username = $cookie[1]; // script seul message privée . 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 $new_messages ST "; }else{ echo " bienvenue $username "; } }else{ echo " bienvenue $username "; } } echo " |