You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
(51) |
Apr
(688) |
May
(260) |
Jun
(108) |
Jul
(42) |
Aug
|
Sep
(2) |
Oct
|
Nov
(74) |
Dec
(217) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(3) |
Jun
(6) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
(8) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Nicolas H. <nh...@us...> - 2001-03-22 15:26:14
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/images In directory usw-pr-cvs1:/tmp/cvs-serv25629 Modified Files: gender_none.gif Added Files: gender_undefined.gif Log Message: no message ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/images --- NEW FILE --- GIF89a âAàA"aÒHÙ¡«´1Ç Index: gender_none.gif =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/images/gender_none.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsoKTnA4 and /tmp/cvs6V457Y differ |
From: Nicolas H. <nh...@us...> - 2001-03-22 12:31:39
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv14590 Modified Files: input.php3 Log Message: more colors in selector for JS1.1 browsers ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: input.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/input.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** input.php3 2001/02/25 19:10:08 1.2 --- input.php3 2001/03/22 12:31:34 1.3 *************** *** 327,336 **** // Define the colors picker for JavaScript1.1+ enabled browsers unset($TextColors); ! $TextColors = array( ! "#FF0000","#FF0099","#FF00FF","#CC00FF","#9900FF","#6600FF","#000099","#0000FF", ! "#0066FF","#00CCFF","#00FFFF","#00FF66","#009900","#006600","#999900","#99CC00", ! "#FFFF00","#FF9900","#FF6600","#996633","#990000","#660000","#000000","#666666", ! "#999999" ! ); ?> <TD> </TD> --- 327,341 ---- // Define the colors picker for JavaScript1.1+ enabled browsers unset($TextColors); ! $TextColors = array('#000000', '#ffffff'); ! for($x = 0; $x < 360; $x += 6) ! { ! $r = ceil(126 * (cos(deg2rad($x)) + 1)); ! $g = ceil(126 * (cos(deg2rad($x + 240)) + 1)); ! $b = ceil(126 * (cos(deg2rad($x + 120)) + 1)); ! if(!($r > 128 && $g < 128 && $b < 128 && !(isset($status) && ($status == "a" || $status == "m")))) ! { ! $TextColors[] = '#'.substr('0'.dechex($r), -2).substr('0'.dechex($g), -2).substr('0'.dechex($b), -2); ! } ! } ?> <TD> </TD> *************** *** 341,346 **** while(list($key, $ColorCode) = each($TextColors)) { - // Red color is reserved to the admin or a moderator for the current room - if ($ColorCode == "#FF0000" && !(isset($status) && ($status == "a" || $status == "m"))) continue; $i = $key + 1; if ($ColorCode == $C) --- 346,349 ---- *************** *** 354,358 **** } ?> ! <TD BGCOLOR="<?php echo($ColorCode); ?>"><A HREF="#" onClick="window.parent.ChangeColor('<?php echo($ColorCode); ?>','<?php echo("C${i}"); ?>'); return false;"><IMG SRC="images/<?php echo($wichImage); ?>" ALT="<?php echo($ColorCode); ?>" NAME="<?php echo("C${i}"); ?>" BORDER=0 WIDTH=4 HEIGHT=20></A></TD> <?php }; --- 357,361 ---- } ?> ! <td bgcolor="<?php echo($ColorCode); ?>"><a href="#" onClick="window.parent.ChangeColor('<?php echo($ColorCode); ?>','<?php echo("C${i}"); ?>'); return false;"><img src="images/<?php echo($wichImage); ?>" alt="<?php echo($ColorCode); ?>" name="<?php echo("C${i}"); ?>" border="0" width="2" height="20" /></a></td> <?php }; |
From: Lo?c C. <lo...@us...> - 2001-03-22 07:24:58
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/localization/french_canadian In directory usw-pr-cvs1:/tmp/cvs-serv23338 Modified Files: localized.chat.php3 Log Message: one 'r' was missing... ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/localization/french_canadian Index: localized.chat.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/localization/french_canadian/localized.chat.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** localized.chat.php3 2001/02/25 19:10:09 1.2 --- localized.chat.php3 2001/03/22 07:24:55 1.3 *************** *** 46,50 **** define("L_REG_1r", "(utilisateurs enregistrés seuls)"); define("L_REG_2", "Utilisateurs enregistrés"); ! define("L_REG_3", "S'enregister"); define("L_REG_4", "Éditer son profil"); define("L_REG_5", "Se désenregistrer"); --- 46,50 ---- define("L_REG_1r", "(utilisateurs enregistrés seuls)"); define("L_REG_2", "Utilisateurs enregistrés"); ! define("L_REG_3", "S'enregistrer"); define("L_REG_4", "Éditer son profil"); define("L_REG_5", "Se désenregistrer"); |
From: Nicolas H. <nh...@us...> - 2001-03-21 20:14:07
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/docs In directory usw-pr-cvs1:/tmp/cvs-serv7449 Modified Files: todo.txt Log Message: new items in todo list ... ;) ***** Bogus filespec: - ***** Bogus filespec: 0.14/docs Index: todo.txt =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/docs/todo.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** todo.txt 2001/02/25 18:26:32 1.1.1.1 --- todo.txt 2001/03/21 20:14:03 1.2 *************** *** 9,11 **** - Session handler to avoid passing login/password in url - Better system to display DB error messages ! - better design configuration --- 9,14 ---- - Session handler to avoid passing login/password in url - Better system to display DB error messages ! - Better design configuration ! - Allow to limit the number of smilies in each message ! - Command for administrator to unpromote ! - Dynamic integration of smilies, like for languages |
From: Lo?c C. <lo...@us...> - 2001-03-21 19:31:33
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib In directory usw-pr-cvs1:/tmp/cvs-serv32436/chat/lib Added Files: welcome.lib.php3 Log Message: This file was missing in the CVS tree! ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/lib --- NEW FILE --- <?php // Define the welcome message to be used when the 'C_WELCOME' switch is set // to 1 inside the 'chat/config/config.lib.php3' file switch ($L) { case 'french': // For french users define('WELCOME_MSG', "Bienvenu(e) sur notre chat. N\'oubliez pas les <I>règles de politesse élémentaire</I> au cours de vos discussions."); break; case 'english': // For english users define('WELCOME_MSG', "Welcome to our chat. Please obey the net etiquette while chatting: <I>try to be pleasant and polite</I>."); break; default: // When there is no translation for the language of the user define('WELCOME_MSG', "Welcome to our chat. Please obey the net etiquette while chatting: <I>try to be pleasant and polite</I>."); }; ?> |
From: Lo?c C. <lo...@us...> - 2001-03-21 19:31:33
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/commands In directory usw-pr-cvs1:/tmp/cvs-serv32436/chat/lib/commands Added Files: me.cmd.php3 Log Message: This file was missing in the CVS tree! ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/lib/commands --- NEW FILE --- <?php // Check for bad words in the message if necessary if (C_BAD_WORDS == 1) { include("./lib/swearing.lib.php3"); $Cmd[1] = checkwords($Cmd[1], false); }; $M = "<B>* ".$U." </B>".stripslashes($Cmd[1]); AddMessage($M, $T, $R, $U, $C, ''); $IsCommand = true; $RefreshMessages = true; ?> |
From: Nicolas H. <nh...@us...> - 2001-03-21 16:58:49
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv3218 Modified Files: usersH.php3 Log Message: little bug in 'echo' on line 166 ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: usersH.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/usersH.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** usersH.php3 2001/03/21 16:48:27 1.4 --- usersH.php3 2001/03/21 16:58:46 1.5 *************** *** 164,168 **** $ImgNum++; //echo("<A HREF=\"#\" onClick=\"window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); ! echo('<a href="#" onClick="window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;" class="user"><img name="whoisImg'.$ImgNum.'" src="images/gender_'.$gender.'.gif" width="14" height="14" border="0" alt="'.L_PROFILE.'"></a> '); } else --- 164,168 ---- $ImgNum++; //echo("<A HREF=\"#\" onClick=\"window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); ! echo('<a href="#" onClick="window.parent.runCmd(\'WHOIS\',\''.special_char2($OtherUser,$Latin1).'\'); return false;" class="user"><img name="whoisImg'.$ImgNum.'" src="images/gender_'.$gender.'.gif" width="14" height="14" border="0" alt="'.L_PROFILE.'"></a> '); } else |
From: Nicolas H. <nh...@us...> - 2001-03-21 16:48:31
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv1046 Modified Files: usersH.php3 Log Message: gender is now shown even for users in other rooms ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: usersH.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/usersH.php3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** usersH.php3 2001/03/21 15:54:52 1.3 --- usersH.php3 2001/03/21 16:48:27 1.4 *************** *** 126,129 **** --- 126,184 ---- echo("</DIV>\n"); $DbLink->clean_results(); + + //** Build users list for other rooms ** + $AddPwd2Link = (isset($PWD_Hash) && $PWD_Hash != "") ? "&PWD_Hash=$PWD_Hash" : ""; + $DbLink->query("SELECT DISTINCT room FROM ".C_MSG_TBL." WHERE room != '$R' AND type = 1 ORDER BY room"); + if($DbLink->num_rows() > 0) + { + $i = 0; + $ChildNb = Array(); + $OthersUsers = new DB; + while(list($Other) = $DbLink->next_record()) + { + $OthersUsers->query("SELECT ".C_USR_TBL.".username, ".C_USR_TBL.".latin1, status, gender FROM ".C_USR_TBL." LEFT JOIN ".C_REG_TBL." ON ".C_USR_TBL.".username = ".C_REG_TBL.".username WHERE room = '".addslashes($Other)."' ORDER BY username"); + if($OthersUsers->num_rows() > 0) + { + $i++; + $id = md5($Other); + if ($i == 1) $FirstOtherRoom = "Parent".$id; + echo("<DIV ID=\"Parent${id}\" CLASS=\"parent\" STYLE=\"margin-top: 5px; CURSOR: hand\">"); + echo("<A HREF=\"#\" onClick=\"window.parent.expandIt('${id}'); return false\">"); + echo("<IMG NAME=\"imEx\" SRC=\"images/closed.gif\" WIDTH=9 HEIGHT=9 BORDER=0 ALT=\"".L_EXPCOL."\"></A>"); + echo(" <A HREF=\"$From?Ver=H&L=$L&U=".urlencode(stripslashes($U))."$AddPwd2Link&R1=".urlencode($Other)."&T=1&D=$D&N=$N&E=".urlencode(stripslashes($R))."&EN=$T\" TARGET=\"_parent\">".htmlspecialchars($Other)."</A><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO> (".$OthersUsers->num_rows().")</SPAN>"); + echo("</DIV>\n"); + echo("<DIV ID=\"Child${id}\" CLASS=\"child\" STYLE=\"margin-left: 12px\">\n"); + $j = 0; + while(list($OtherUser, $Latin1, $status, $gender) = $OthersUsers->next_record()) + { + $j++; + // Put an icon when there is a profile for the user + if($gender == 1) + $gender = 'boy'; + elseif($gender == 2) + $gender = 'girl'; + else + $gender = 'none'; + if ($status != "u" && $status != "k" && $status != "d" && $status != "b") + { + $ImgNum++; + //echo("<A HREF=\"#\" onClick=\"window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); + echo('<a href="#" onClick="window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;" class="user"><img name="whoisImg'.$ImgNum.'" src="images/gender_'.$gender.'.gif" width="14" height="14" border="0" alt="'.L_PROFILE.'"></a> '); + } + else + { + //echo("- "); + echo('<img name="whoisImg'.$ImgNum.'" src="images/gender_none.gif" width="14" height="14" border="0" alt="Pas de profil"> '); + }; + echo("<A HREF=\"javascript:window.parent.userClick('".special_char2($OtherUser,$Latin1)."',false);\" CLASS=\"user\">".special_char($OtherUser,$Latin1,$status)."</A><BR>\n"); + }; + echo("</DIV>\n"); + $ChildNb[$id] = $j; + } + $OthersUsers->clean_results(); + } + } + $DbLink->clean_results(); + $DbLink->close(); } else *************** *** 156,207 **** echo("</DIV>\n"); $DbLink->clean_results(); - } ! //** Build users list for other rooms ** ! $AddPwd2Link = (isset($PWD_Hash) && $PWD_Hash != "") ? "&PWD_Hash=$PWD_Hash" : ""; ! $DbLink->query("SELECT DISTINCT room FROM ".C_MSG_TBL." WHERE room != '$R' AND type = 1 ORDER BY room"); ! if($DbLink->num_rows() > 0) ! { ! $i = 0; ! $ChildNb = Array(); ! $OthersUsers = new DB; ! while(list($Other) = $DbLink->next_record()) { ! $OthersUsers->query("SELECT username, latin1, status FROM ".C_USR_TBL." WHERE room = '".addslashes($Other)."' ORDER BY username"); ! if($OthersUsers->num_rows() > 0) { ! $i++; ! $id = md5($Other); ! if ($i == 1) $FirstOtherRoom = "Parent".$id; ! echo("<DIV ID=\"Parent${id}\" CLASS=\"parent\" STYLE=\"margin-top: 5px; CURSOR: hand\">"); ! echo("<A HREF=\"#\" onClick=\"window.parent.expandIt('${id}'); return false\">"); ! echo("<IMG NAME=\"imEx\" SRC=\"images/closed.gif\" WIDTH=9 HEIGHT=9 BORDER=0 ALT=\"".L_EXPCOL."\"></A>"); ! echo(" <A HREF=\"$From?Ver=H&L=$L&U=".urlencode(stripslashes($U))."$AddPwd2Link&R1=".urlencode($Other)."&T=1&D=$D&N=$N&E=".urlencode(stripslashes($R))."&EN=$T\" TARGET=\"_parent\">".htmlspecialchars($Other)."</A><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO> (".$OthersUsers->num_rows().")</SPAN>"); ! echo("</DIV>\n"); ! echo("<DIV ID=\"Child${id}\" CLASS=\"child\" STYLE=\"margin-left: 12px\">\n"); ! $j = 0; ! while(list($OtherUser,$Latin1,$status) = $OthersUsers->next_record()) { ! $j++; ! // Put an icon when there is a profile for the user ! if ($status != "u" && $status != "k" && $status != "d" && $status != "b") ! { ! $ImgNum++; ! echo("<A HREF=\"#\" onClick=\"window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); ! } ! else { ! echo("- "); }; ! echo("<A HREF=\"javascript:window.parent.userClick('".special_char2($OtherUser,$Latin1)."',false);\" CLASS=\"user\">".special_char($OtherUser,$Latin1,$status)."</A><BR>\n"); ! }; ! echo("</DIV>\n"); ! $ChildNb[$id] = $j; } - $OthersUsers->clean_results(); } } - $DbLink->clean_results(); - $DbLink->close(); // Display all rest default rooms --- 211,262 ---- echo("</DIV>\n"); $DbLink->clean_results(); ! //** Build users list for other rooms ** ! $AddPwd2Link = (isset($PWD_Hash) && $PWD_Hash != "") ? "&PWD_Hash=$PWD_Hash" : ""; ! $DbLink->query("SELECT DISTINCT room FROM ".C_MSG_TBL." WHERE room != '$R' AND type = 1 ORDER BY room"); ! if($DbLink->num_rows() > 0) { ! $i = 0; ! $ChildNb = Array(); ! $OthersUsers = new DB; ! while(list($Other) = $DbLink->next_record()) { ! $OthersUsers->query("SELECT username, latin1, status FROM ".C_USR_TBL." WHERE room = '".addslashes($Other)."' ORDER BY username"); ! if($OthersUsers->num_rows() > 0) { ! $i++; ! $id = md5($Other); ! if ($i == 1) $FirstOtherRoom = "Parent".$id; ! echo("<DIV ID=\"Parent${id}\" CLASS=\"parent\" STYLE=\"margin-top: 5px; CURSOR: hand\">"); ! echo("<A HREF=\"#\" onClick=\"window.parent.expandIt('${id}'); return false\">"); ! echo("<IMG NAME=\"imEx\" SRC=\"images/closed.gif\" WIDTH=9 HEIGHT=9 BORDER=0 ALT=\"".L_EXPCOL."\"></A>"); ! echo(" <A HREF=\"$From?Ver=H&L=$L&U=".urlencode(stripslashes($U))."$AddPwd2Link&R1=".urlencode($Other)."&T=1&D=$D&N=$N&E=".urlencode(stripslashes($R))."&EN=$T\" TARGET=\"_parent\">".htmlspecialchars($Other)."</A><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO> (".$OthersUsers->num_rows().")</SPAN>"); ! echo("</DIV>\n"); ! echo("<DIV ID=\"Child${id}\" CLASS=\"child\" STYLE=\"margin-left: 12px\">\n"); ! $j = 0; ! while(list($OtherUser,$Latin1,$status) = $OthersUsers->next_record()) { ! $j++; ! // Put an icon when there is a profile for the user ! if ($status != "u" && $status != "k" && $status != "d" && $status != "b") ! { ! $ImgNum++; ! echo("<A HREF=\"#\" onClick=\"window.parent.runCmd('WHOIS','".special_char2($OtherUser,$Latin1)."'); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); ! } ! else ! { ! echo("- "); ! }; ! echo("<A HREF=\"javascript:window.parent.userClick('".special_char2($OtherUser,$Latin1)."',false);\" CLASS=\"user\">".special_char($OtherUser,$Latin1,$status)."</A><BR>\n"); }; ! echo("</DIV>\n"); ! $ChildNb[$id] = $j; ! } ! $OthersUsers->clean_results(); } } + $DbLink->clean_results(); + $DbLink->close(); } // Display all rest default rooms |
From: Nicolas H. <nh...@us...> - 2001-03-21 15:54:56
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv24071 Modified Files: usersH.php3 Log Message: added gender differentiation in users frame, but only for MySQL for now because of "left join" ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: usersH.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/usersH.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** usersH.php3 2001/02/25 19:10:08 1.2 --- usersH.php3 2001/03/21 15:54:52 1.3 *************** *** 89,119 **** //** Build users list for the current room ** ! $DbLink->query("SELECT username, latin1, status FROM ".C_USR_TBL." WHERE room='$R' ORDER BY username"); ! echo("<B>".htmlspecialchars(stripslashes($R))."</B><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO> (".$DbLink->num_rows().")</SPAN><BR>\n"); ! echo("<DIV STYLE=\"margin-bottom: 10px\">\n"); ! while(list($User, $Latin1, $status) = $DbLink->next_record()) { ! // Put an icon when there is a profile for the user ! if ($status != "u" && $status != "k" && $status != "d" && $status != "b") { ! $ImgNum++; ! $Cmd2Send = ($User == stripslashes($U) ? "'PROFILE',''" : "'WHOIS','".special_char2($User,$Latin1)."'"); ! echo("<A HREF=\"#\" onClick=\"window.parent.runCmd($Cmd2Send); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); } ! else ! { ! echo("- "); ! }; ! if($User != stripslashes($U)) ! { ! echo("<A HREF=\"javascript:window.parent.userClick('".special_char2($User,$Latin1)."',false);\" CLASS=\"user\">".special_char($User,$Latin1,$status)."</A><BR>\n"); ! } ! else { ! echo(special_char($User,$Latin1,$status)."<BR>\n"); } } - echo("</DIV>\n"); - $DbLink->clean_results(); //** Build users list for other rooms ** --- 89,160 ---- //** Build users list for the current room ** ! if(C_DB_TYPE == 'mysql') { ! $DbLink->query("SELECT ".C_USR_TBL.".username, ".C_USR_TBL.".latin1, status, gender FROM ".C_USR_TBL." LEFT JOIN ".C_REG_TBL." ON ".C_USR_TBL.".username = ".C_REG_TBL.".username WHERE room='$R' ORDER BY username"); ! echo("<B>".htmlspecialchars(stripslashes($R))."</B><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO> (".$DbLink->num_rows().")</SPAN><BR>\n"); ! echo("<DIV STYLE=\"margin-bottom: 10px\">\n"); ! while(list($User, $Latin1, $status, $gender) = $DbLink->next_record()) { ! // Put an icon when there is a profile for the user ! if($gender == 1) ! $gender = 'boy'; ! elseif($gender == 2) ! $gender = 'girl'; ! else ! $gender = 'none'; ! if ($status != "u" && $status != "k" && $status != "d" && $status != "b") ! { ! $ImgNum++; ! $Cmd2Send = ($User == stripslashes($U) ? "'PROFILE',''" : "'WHOIS','".special_char2($User,$Latin1)."'"); ! echo('<a href="#" onClick="window.parent.runCmd('.$Cmd2Send.'); return false;" class="user"><img name="whoisImg'.$ImgNum.'" src="images/gender_'.$gender.'.gif" width="14" height="14" border="0" alt="'.L_PROFILE.'"></a> '); ! //echo("<A HREF=\"#\" onClick=\"window.parent.runCmd($Cmd2Send); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); ! } ! else ! { ! echo('<img name="whoisImg'.$ImgNum.'" src="images/gender_none.gif" width="14" height="14" border="0" alt="Pas de profil"> '); ! //echo("- "); ! }; ! if($User != stripslashes($U)) ! { ! echo("<A HREF=\"javascript:window.parent.userClick('".special_char2($User,$Latin1)."',false);\" CLASS=\"user\">".special_char($User,$Latin1,$status)."</A><BR>\n"); ! } ! else ! { ! echo(special_char($User,$Latin1,$status)."<BR>\n"); ! } } ! echo("</DIV>\n"); ! $DbLink->clean_results(); ! } ! else ! { ! $DbLink->query("SELECT username, latin1, status FROM ".C_USR_TBL." WHERE room='$R' ORDER BY username"); ! echo("<B>".htmlspecialchars(stripslashes($R))."</B><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO> (".$DbLink->num_rows().")</SPAN><BR>\n"); ! echo("<DIV STYLE=\"margin-bottom: 10px\">\n"); ! while(list($User, $Latin1, $status, $gender) = $DbLink->next_record()) { ! // Put an icon when there is a profile for the user ! if ($status != "u" && $status != "k" && $status != "d" && $status != "b") ! { ! $ImgNum++; ! $Cmd2Send = ($User == stripslashes($U) ? "'PROFILE',''" : "'WHOIS','".special_char2($User,$Latin1)."'"); ! echo("<A HREF=\"#\" onClick=\"window.parent.runCmd($Cmd2Send); return false;\" CLASS=\"user\" onmouseover=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOn.src\" onmouseout=\"document.images['whoisImg$ImgNum'].src = window.parent.imgWhoisOff.src\"><IMG NAME=\"whoisImg$ImgNum\" SRC=\"images/whoisOff.gif\" WIDTH=5 HEIGHT=9 BORDER=0 ALT=\"".L_PROFILE."\"></A> "); ! } ! else ! { ! echo("- "); ! }; ! if($User != stripslashes($U)) ! { ! echo("<A HREF=\"javascript:window.parent.userClick('".special_char2($User,$Latin1)."',false);\" CLASS=\"user\">".special_char($User,$Latin1,$status)."</A><BR>\n"); ! } ! else ! { ! echo(special_char($User,$Latin1,$status)."<BR>\n"); ! } } + echo("</DIV>\n"); + $DbLink->clean_results(); } //** Build users list for other rooms ** |
From: Nicolas H. <nh...@us...> - 2001-03-21 15:40:17
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/localization/french In directory usw-pr-cvs1:/tmp/cvs-serv21664 Modified Files: localized.chat.php3 Log Message: one 'r' was missing ... ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/localization/french Index: localized.chat.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/localization/french/localized.chat.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** localized.chat.php3 2001/02/25 19:10:09 1.2 --- localized.chat.php3 2001/03/21 15:40:14 1.3 *************** *** 46,50 **** define("L_REG_1r", "(utilisateurs enregistrés seuls)"); define("L_REG_2", "Utilisateurs enregistrés"); ! define("L_REG_3", "S'enregister"); define("L_REG_4", "Editer son profil"); define("L_REG_5", "Se désenregistrer"); --- 46,50 ---- define("L_REG_1r", "(utilisateurs enregistrés seuls)"); define("L_REG_2", "Utilisateurs enregistrés"); ! define("L_REG_3", "S'enregistrer"); define("L_REG_4", "Editer son profil"); define("L_REG_5", "Se désenregistrer"); |
From: Nicolas H. <nh...@us...> - 2001-03-21 15:17:43
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/images In directory usw-pr-cvs1:/tmp/cvs-serv18511 Added Files: dot.gif Log Message: added transparent 'dot' 1x1 ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/images --- NEW FILE --- GIF89a |
From: Nicolas H. <nh...@us...> - 2001-03-21 15:09:28
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/images In directory usw-pr-cvs1:/tmp/cvs-serv17307 Added Files: gender_none.gif gender_girl.gif gender_boy.gif Log Message: added gender images ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat/images --- NEW FILE --- GIF89a âAàA"aÒHÙ¡«´1Ç --- NEW FILE --- GIF89a --- NEW FILE --- GIF89a |
From: Lo?c C. <lo...@us...> - 2001-03-21 07:40:21
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14 In directory usw-pr-cvs1:/tmp/cvs-serv20122 Modified Files: chat_activity.php3 Log Message: Resume from test of sendding CVS updates to the mailing-list ***** Bogus filespec: - ***** Bogus filespec: 0.14 Index: chat_activity.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat_activity.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** chat_activity.php3 2001/03/21 07:38:27 1.2 --- chat_activity.php3 2001/03/21 07:40:18 1.3 *************** *** 43,46 **** </BODY> - <!-- Tests --> </HTML> --- 43,45 ---- |
From: Lo?c C. <lo...@us...> - 2001-03-21 07:38:32
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14 In directory usw-pr-cvs1:/tmp/cvs-serv19963 Modified Files: chat_activity.php3 Log Message: Just a test of sendding CVS updates to the mailing-list ***** Bogus filespec: - ***** Bogus filespec: 0.14 Index: chat_activity.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat_activity.php3,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** chat_activity.php3 2001/02/25 18:26:29 1.1.1.1 --- chat_activity.php3 2001/03/21 07:38:27 1.2 *************** *** 43,45 **** --- 43,46 ---- </BODY> + <!-- Tests --> </HTML> |