Bonjour,

Voil� le petit probl�me. j'ai r�crer une petite messagerie online quand un message arrive une petite enveloppe appara�t sous firefox c'est ok sous explorer cela ne fonction pas ou cela fait dispara�tre les membres onlines quand on recoit le message.

voici le liens pour lire le message ici-dessous
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
	if($open==0)
	{ 
    echo "<bgsound src='design/chat.wav'>"; 
    } 
	if($open==0)
	{
    echo"<b><a href=\"#\" onClick=\"window.open('messachat1.php?id_chat=$id_chat','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=400, height=100, right=1, top=0');return(false)\"><img src=\"design/recum.GIF\" width=\"16\" height=\"15\" border=\"0\" title=\"Message reçu\"></a></b>";
    }
voici le code des membres onlines

Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
echo"<br />";						
$result = mysql_query("SELECT speudo,sexe FROM fk_online") or die('<p>Impossible d\'effectuer la requête');
while($rs=mysql_fetch_array($result))
 {
 $nom=$rs["speudo"];
 $sexe=$rs["sexe"];
 if ($sexe=="Homme"){
 $photo="<img src='design/H.gif' title='Homme'>";
 } 
 elseif ($sexe=="Femme"){
 $photo="<img src='design/F.gif' title='Femme'>";
 } 
 else {
 $photo="<img src='design/CPL.gif' title='Couple'>";
 } 
echo"<font size='1'><br><b>$photo&nbsp;$nom&nbsp;</b><a href=\"#\" onClick=\"window.open('detailspopup.php?det=$nom','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=600, height=550, right=1, top=0');return(false)\"><img src=\"design/voir.gif\" width=\"20\" heigth=\"25\" border=\"0\" title=\"Profil\"></font></a>
&nbsp;<a href=\"#\" onClick=\"window.open('messa.php?dest=$nom&chat=$chat','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=400, height=200, right=1, top=0');return(false)\"><img src=\"design/CHAT.GIF\" width=\"15\" heigth=\"15\" border=\"0\" title=\"chat\"></a>&nbsp;";require_once'recumessagechat.php';
echo"&nbsp;&nbsp;<br /> " ;
 }	
 
echo"<br />";