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: Lo?c C. <lo...@us...> - 2001-04-04 16:22:53
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv5407
Modified Files:
exit.php3
Log Message:
js fixes for users popus
Index: exit.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/exit.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** exit.php3 2001/04/04 08:36:06 1.2
--- exit.php3 2001/04/04 16:22:49 1.3
***************
*** 119,123 ****
?>
<!-- Display the icon to launch the users popup -->
! <a href="<?php echo($usersPopupUrl); ?>" onclick="pmcUsersPopup('<?php echo(uniqid('')); ?>'); return false" target="_blank">
<img src="images/popup.gif" width="13" height="13" align="middle" border="0" alt="<?php echo(L_DETACH); ?>" /></a>
--- 119,123 ----
?>
<!-- Display the icon to launch the users popup -->
! <a href="<?php echo($usersPopupUrl); ?>" onclick="pmcUsersPopup('<?php echo(md5(C_CHAT_URL)); ?>'); return false" target="_blank">
<img src="images/popup.gif" width="13" height="13" align="middle" border="0" alt="<?php echo(L_DETACH); ?>" /></a>
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 16:21:27
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib In directory usw-pr-cvs1:/tmp/cvs-serv4960/lib Added Files: users_popup.lib.js Log Message: The users popups are running :) --- NEW FILE --- // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team | // +--------------------------------------------------------------------------+ // | Set of JavaScript functions used to handle the the collapsible list of | // | rooms at the users popup with IE & NS 4+ browsers (DHTML stuff). | // | | // | This library is called by the 'chat/lib/users_popup.php3' script. | // | | // | It is is based on the 'Expandable Outlines' script from WebReference | // | (http://webreference.com/). | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // // $Id: users_popup.lib.js,v 1.1 2001/04/04 16:21:23 loic1 Exp $ // // Handle the expandable/collapsible list of rooms at the users popup. // var jsIsNS4 = (typeof(document.layers) != 'undefined') ? 1 : 0; var jsIsIE4 = ((typeof(document.all) != 'undefined') && (parseInt(navigator.appVersion) >= 4)) ? 1 : 0; var jsIsVersion4 = (jsIsNS4 || jsIsIE4) ? 1 : 0; var jsIsExpanded = false; var jsRoomsCnt = 0; var jsOpenedRoomsCnt = 0; var jsImgBigOpened = new Image(13,13); jsImgBigOpened.src = 'images/open_big.gif'; var jsImgBigClosed = new Image(13,13); jsImgBigClosed.src = 'images/closed_big.gif'; var jsImgOpened = new Image(9,9); jsImgOpened.src = 'images/open.gif'; var jsImgClosed = new Image(9,9); jsImgClosed.src = 'images/closed.gif'; /** * Do reloads the popup if the Netscape window has been resized * * @access private */ function reDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload(true); } // end of the 'reDo()' function /** * Positioned element resize bug under NN */ if (jsIsNS4) { var origWidth = innerWidth; var origHeight = innerHeight; onresize = reDo; } /** * Add styles for positioned layers; */ if (jsIsVersion4) { with (document) { write('<style type="text/css">'); if (jsIsNS4) { write('.parent {position:absolute; visibility:visible}'); write('.child {position:absolute; visibility:visible}'); write('.regular {position:absolute; visibility:visible}'); } else { write('.child {display:none}'); } write('<\/style>'); } } /** * Gets the id of the first collapsible room * * @param string the name of the first collapsible room * * @return integer the index number corresponding to this room * * @access public */ function pmcGetIndex(el) { var ind = null; for (var i = 0; i < document.layers.length; i++) { var whichEl = document.layers[i]; if (whichEl.id == el) { ind = i; break; } } return ind; } // end of the 'pmcGetIndex()' function /** * Positions layers under NS4+ * * @access public */ function pmcNsArrangeList() { if (jsFirstInd != null) { var nextY = document.layers[jsFirstInd].pageY + document.layers[jsFirstInd].document.height; for (var i = jsFirstInd + 1; i < document.layers.length; i++) { var whichEl = document.layers[i]; if (whichEl.visibility != 'hide') { whichEl.pageY = nextY; nextY += whichEl.document.height; } } } } // end of the 'pmcNsArrangeList()' function /** * Defines the state of the big +/- icon * * @access public */ function pmcSetBigIcon() { if (jsRoomsCnt == 0) return; var bigImg = (jsIsNS4) ? document.images['imgExpandAll'] : document.images.item('imgExpandAll'); if (jsOpenedRoomsCnt == jsRoomsCnt) { jsIsExpanded = true; bigImg.src = jsImgBigOpened.src; } else if (jsIsExpanded) { jsIsExpanded = false; bigImg.src = jsImgBigClosed.src; } } // end of the 'pmcSetBigIcon()' function /** * Collapses/expands rooms (depends on the state of the room before the page * reloads) each time the web page is loaded * * @access public */ function pmcInitList() { if (!jsIsVersion4) return; var parentElts = new Array(); jsOpenedRoomsCnt = 0; if (jsIsNS4) { for (var i = 0; i < document.layers.length; i++) { var whichEl = document.layers[i]; if (whichEl.id.indexOf('Parent') != -1) var parentEl = whichEl; if (whichEl.id.indexOf('Child') != -1) { var currentId = whichEl.id.substring(5); if (jsChildCnt[currentId] > 10) { whichEl.visibility = 'hide'; } else { jsOpenedRoomsCnt++; whichEl.visibility = 'show'; if (!parentElts[parentEl.id]) { parentElts[parentEl.id] = 1; parentEl.document.images['imEx'].src = jsImgOpened.src; } } } } pmcNsArrangeList(); } // end of the NS4 case else { divColl = document.all.tags('div'); for (var i = 0; i < divColl.length; i++) { var whichEl = divColl(i); if (whichEl.className == 'parent') var parentEl = whichEl; if (whichEl.className == 'child') { var currentId = whichEl.id.substring(5); if (jsChildCnt[currentId] > 10) { whichEl.style.display = 'none'; } else { jsOpenedRoomsCnt++; whichEl.style.display = 'block'; if (!parentElts[parentEl.id]) { parentElts[parentEl.id] = 1; parentEl.all.tags('IMG').item('imEx').src = jsImgOpened.src; } } } } } // end of the IE4 case parentElts = null; jsChildCnt = null; pmcSetBigIcon(); } // end of the 'pmcInitList()' function /** * Collapses/expands a room when the user require this to be done and store * the new state of the room * * @param string the name of the room to act on * * @access public */ function pmcExpandRoom(el) { if (!jsIsVersion4) return; if (jsIsIE4) { var whichEl = document.all('Child' + el); var whichIm = event.srcElement; if (whichEl.style.display == 'none') { jsOpenedRoomsCnt++; whichEl.style.display = 'block'; whichIm.src = jsImgOpened.src; } else { jsOpenedRoomsCnt--; whichEl.style.display = 'none'; whichIm.src = jsImgClosed.src; } } // end of the IE4 case else { var whichEl = document.layers['Child' + el]; var whichIm = document.layers['Parent' + el].document.images['imEx']; if (whichEl.visibility == 'hide') { jsOpenedRoomsCnt++; whichEl.visibility = 'show'; whichIm.src = jsImgOpened.src; } else { jsOpenedRoomsCnt--; whichEl.visibility = 'hide'; whichIm.src = jsImgClosed.src; } pmcNsArrangeList(); } // end of the NS4 case pmcSetBigIcon(); } // end of the 'pmcExpandRoom()' function /** * Collapses/expands all rooms when the user require this to be done and store * the new state of these rooms * * @access public */ function pmcExpandAll() { if (!jsIsVersion4) return; var newBigSrc = (jsIsExpanded) ? jsImgBigClosed.src : jsImgBigOpened.src; var newSrc = (jsIsExpanded) ? jsImgClosed.src : jsImgOpened.src; jsOpenedRoomsCnt = (jsIsExpanded) ? 0 : jsRoomsCnt; if (jsIsNS4) { document.images['imgExpandAll'].src = newBigSrc; if (jsFirstInd != null) { if (document.layers.length) { for (var i = jsFirstInd; i < document.layers.length; i++) { var whichEl = document.layers[i]; if (whichEl.id.indexOf('Parent') != -1) whichEl.document.images['imEx'].src = newSrc; if (whichEl.id.indexOf('Child') != -1) whichEl.visibility = (jsIsExpanded) ? 'hide' : 'show'; } } pmcNsArrangeList(); if (jsIsExpanded) scrollTo(0, document.layers[jsFirstInd].pageY); } } // end of the NS4 case else { var divColl = document.all.tags('div'); for (var i = 0; i < divColl.length; i++) { if (divColl(i).className == 'child') divColl(i).style.display = (jsIsExpanded) ? 'none' : 'block'; } document.images.item('imgExpandAll').src = newBigSrc; var imColl = document.images.item('imEx'); if (imColl) { for (var i = 0; i < imColl.length; i++) { imColl(i).src = newSrc; } if (!imColl.length) document.imEx.src = newSrc; } } // end of the IE4 case jsIsExpanded = (!jsIsExpanded); } // end of the 'pmcExpandAll()' function onload = pmcInitList; |
|
From: Lo?c C. <lo...@us...> - 2001-04-04 16:20:51
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv4635/lib/index_libs Modified Files: users.lib.js Log Message: The users frame are running for both high and low version :) Index: users.lib.js =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/users.lib.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** users.lib.js 2001/04/03 20:17:40 1.1 --- users.lib.js 2001/04/04 16:20:47 1.2 *************** *** 49,52 **** --- 49,54 ---- /** * Resets the table containing the state (opened/closed) of each room + * + * @access public */ function pmcResetRoomTable() *************** *** 60,66 **** /** ! * Checks the state (opened/closed) of a room * ! * @param room the room name to be checked */ function pmcCheckRoomState(room) --- 62,72 ---- /** ! * Checks the status (opened/closed) of a room ! * ! * @param string the name of the room to be checked ! * ! * @return integer the room status * ! * @access public */ function pmcCheckRoomState(room) *************** *** 78,81 **** --- 84,89 ---- * Cleans the table containing all rooms names from those that are no longer * in use + * + * @access public */ function pmcCleanRoom() *************** *** 94,100 **** /** * Sets the new state of a room in the rooms array * ! * @param room the name of the room which state has changed ! * @param action wether to set this new status to opened or closed */ function pmcModifyRoomState(room, action) --- 102,110 ---- /** * Sets the new state of a room in the rooms array + * + * @param string the name of the room which state has changed + * @param boolean wether to set this new status to opened or closed * ! * @access public */ function pmcModifyRoomState(room, action) *************** *** 107,112 **** /** * Gets the id of the first collapsible room * ! * @param el name of the first collapsible room */ function pmcGetIndex(el) --- 117,126 ---- /** * Gets the id of the first collapsible room + * + * @param string the name of the first collapsible room * ! * @return integer the index number corresponding to this room ! * ! * @access public */ function pmcGetIndex(el) *************** *** 128,131 **** --- 142,147 ---- /** * Positions layers under NS4+ + * + * @access public */ function pmcNsArrangeList() *************** *** 149,152 **** --- 165,170 ---- /** * Defines the state of the big +/- icon + * + * @access public */ function pmcSetBigIcon() *************** *** 176,179 **** --- 194,199 ---- * Collapses/expands rooms (depends on the state of the room before the page * reloads) each time the web page is loaded + * + * @access public */ function pmcInitList() *************** *** 254,259 **** * Collapses/expands a room when the user require this to be done and store * the new state of the room * ! * @param el name of the room to act on */ function pmcExpandRoom(el) --- 274,281 ---- * Collapses/expands a room when the user require this to be done and store * the new state of the room + * + * @param string the name of the room to act on * ! * @access public */ function pmcExpandRoom(el) *************** *** 312,315 **** --- 334,339 ---- * Collapses/expands all rooms when the user require this to be done and store * the new state of these rooms + * + * @access public */ function pmcExpandAll() *************** *** 318,324 **** return; ! var newBigSrc = (jsIsExpanded) ? jsImgBigClosed.src : jsImgBigOpened.src; ! var newSrc = (jsIsExpanded) ? jsImgClosed.src : jsImgOpened.src; ! var what = (jsIsExpanded) ? 'del' : 'add'; jsOpenedRoomsCnt = (jsIsExpanded) ? 0 : jsRoomsCnt; --- 342,348 ---- return; ! var newBigSrc = (jsIsExpanded) ? jsImgBigClosed.src : jsImgBigOpened.src; ! var newSrc = (jsIsExpanded) ? jsImgClosed.src : jsImgOpened.src; ! var what = (jsIsExpanded) ? 'del' : 'add'; jsOpenedRoomsCnt = (jsIsExpanded) ? 0 : jsRoomsCnt; |
|
From: Lo?c C. <lo...@us...> - 2001-04-04 16:20:27
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv4373
Modified Files:
users.php3 users_low.php3
Log Message:
The users frame are running for both high and low version :)
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** users.php3 2001/04/04 11:11:07 1.5
--- users.php3 2001/04/04 16:19:55 1.6
***************
*** 37,44 ****
/**
! * Gets the values of variables sent or posted to this script
! *
! * Uses the 'pmcGrabGlobals()' and the 'pmcHandleMagicQuotes()' functions
! * defined in the 'chat/lib/common.lib.php3' library.
*/
pmcGrabGlobals('dbSessionId');
--- 37,41 ----
/**
! * Gets the session id sent to this script
*/
pmcGrabGlobals('dbSessionId');
Index: users_low.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_low.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** users_low.php3 2001/04/04 11:11:38 1.1
--- users_low.php3 2001/04/04 16:19:55 1.2
***************
*** 38,45 ****
/**
! * Gets the values of variables sent or posted to this script
! *
! * Uses the 'pmcGrabGlobals()' and the 'pmcHandleMagicQuotes()' functions
! * defined in the 'chat/lib/common.lib.php3' library.
*/
pmcGrabGlobals('dbSessionId');
--- 38,42 ----
/**
! * Gets the session id sent to this script
*/
pmcGrabGlobals('dbSessionId');
***************
*** 274,278 ****
if (count($othersRooms) > 0)
{
- $i = 0;
$childCnt = array();
$joinUrl = $dbSessionVars['from']
--- 271,274 ----
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 11:11:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv5662 Added Files: users_low.php3 Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- <?php // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team | // +--------------------------------------------------------------------------+ // | This script defines the 'users' frame for browser that does not support | // | DHTML. | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // // $Id: users_low.php3,v 1.1 2001/04/04 11:11:38 loic1 Exp $ // // The 'users' frame for browsers that does not support DHTML. // /** * Gets the extension for the php scripts */ if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; define('C_EXTENSION', (substr($PHP_SELF, -1) == 3) ? 'php3' : 'php'); /** * Gets some core libraries */ require('./config/config.lib.' . C_EXTENSION); require('./lib/common.lib.' . C_EXTENSION); require('./lib/database/' . C_DB_TYPE . '.lib.' . C_EXTENSION); require('./lib/clean.lib.' . C_EXTENSION); /** * Gets the values of variables sent or posted to this script * * Uses the 'pmcGrabGlobals()' and the 'pmcHandleMagicQuotes()' functions * defined in the 'chat/lib/common.lib.php3' library. */ pmcGrabGlobals('dbSessionId'); /** * Start the session handler */ require('./lib/db_sessions.lib.' . C_EXTENSION); dbSessionInitIt( C_DB_TYPE, C_DB_HOST, C_DB_NAME, C_DB_USER, C_DB_PASS, C_SESS_TBL, C_REG_DEL, C_SESS_DEL * 60 ); dbSessionstart(); /** * Defines the language to be used */ require('./localization/' . $dbSessionVars['lang'] . '/localized.chat.' . C_EXTENSION); $textDirection = (L_CHARSET == 'windows-1256') ? 'rtl' : 'ltr'; /** * Sends HTTP headers * * The 'pmcHttpHeaders()' fonction is defined in the 'chat/lib/common.lib.php3' * library */ pmcHttpHeaders(L_CHARSET, true); /** * Format an username according to the status of the user * * The 'pmcSpecialChars()' fonction is defined in the * 'chat/lib/common.lib.php3' library * * @param string the username * @param boolean whether this username uses 'iso-8859-1' character set or * not * @param string the status of the user * * @return string the formatted username * * @access public */ function pmcFormatUsername($theUsername, $isUnLatin1, $theSatus) { $tagOpen = ($theSatus == 'a' || $theSatus == 'm') ? '<i>' : ''; $tagClose = ($tagOpen != '') ? '</i>' : ''; $theUsername = $tagOpen . pmcSpecialChars($theUsername, $isUnLatin1) . $tagClose; return $theUsername; } // end of the 'pmcFormatUsername()' function /** * Defines some variables */ $slashedNick = pmcSlashSingleQuotes($dbSessionVars['nick']); $currentRoomType = $dbSessionVars['roomType']; $slashedCurrentRoomName = pmcSlashSingleQuotes($dbSessionVars['targetRoom']); $usersList = array(); /** * Build the users list for the current room * * The 'pmcSlashSingleQuotes()', the 'pmcHandleMagicQuotes()' and the * 'pmcSpecialChars()' fonctions are defined in the 'chat/lib/common.lib.php3' * library */ if (C_DB_TYPE == 'mysql') { $currentRoomQuery = 'SELECT usr.username, usr.latin1, usr.status, reg.gender ' . 'FROM ' . C_USR_TBL . ' usr LEFT JOIN ' . C_REG_TBL . ' reg ON usr.username = reg.username ' . 'WHERE usr.room = \'' . $slashedCurrentRoomName . '\' ' . 'ORDER BY usr.username'; } else if (C_DB_TYPE == 'pgsql') { $currentRoomQuery = 'SELECT usr.username, usr.latin1, usr.status, reg.gender ' . 'FROM ' . C_USR_TBL . ' usr, ' . C_REG_TBL . ' reg ' . 'WHERE usr.room = \'' . $slashedCurrentRoomName . '\' ' . 'UNION ' . 'SELECT usr.username, usr.latin1, usr.status, NULL ' . 'FROM ' . C_USR_TBL . ' usr ' . 'WHERE usr.username NOT IN (SELECT reg.username FROM ' . C_REG_TBL . ' reg) AND usr.room = \'' . $slashedCurrentRoomName . '\' ' . 'ORDER BY usr.username'; } else { $currentRoomQuery = 'SELECT usr.username, usr.latin1, usr.status, NULL ' . 'FROM ' . C_USR_TBL . ' usr ' . 'WHERE usr.room = \'' . $slashedCurrentRoomName . '\' ' . 'ORDER BY usr.username'; } $usersCnt = 0; $usersList[] = '<!-- The current room -->'; $usersList[] = '<p>'; $usersList[] = '<b>' . htmlspecialchars($dbSessionVars['targetRoom']) . '</b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' . ' (%NUMROWS%)' . '</span><br />'; $currentRoomDb = new pmcDB; $currentRoomDb->query($currentRoomQuery); while (list($username, $latin1, $status, $gender) = $currentRoomDb->nextRecord()) { $usersCnt++; $username = pmcHandleMagicQuotes($username, '', 1, 'del'); // Define the icon to put for this user if ($gender == 0) $gender = 'undefined'; else if ($gender == 1) $gender = 'boy'; else if ($gender == 2) $gender = 'girl'; else $gender = 'none'; if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b') { $tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(' . (($username == $dbSessionVars['nick']) ? '\'PROFILE\', \'\'' : '\'WHOIS\', \'' . pmcSlashSingleQuotes(pmcSpecialChars($username, $latin1)) .'\'') . '); return false;" class="user">' . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; } else { $tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '" /> '; } // Define the format to be used for the username according to the status if ($username != $dbSessionVars['nick']) { $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($username, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($username, $latin1, $status) . '</a><br />'; } else { $tmpStr .= pmcFormatUsername($username, $latin1, $status) . '<br />'; } $usersList[] = "\t" . $tmpStr; } $currentRoomDb->cleanResults(); $currentRoomDb->close(); $usersList[] = '</p>'; $usersList[] = ''; $usersList[] = ''; $usersList[2] = str_replace('%NUMROWS%', $usersCnt, $usersList[2]); /** * Build the users list for the others populated rooms * * The 'pmcSlashSingleQuotes()', the 'pmcHandleMagicQuotes()' and the * 'pmcSpecialChars()' fonctions are defined in the 'chat/lib/common.lib.php3' * library */ // 1. Get the list of rooms and users if (C_DB_TYPE == 'mysql') { $otherRoomsQuery = 'SELECT usr.username, usr.latin1, usr.status, reg.gender ' . 'FROM ' . C_USR_TBL . ' usr LEFT JOIN ' . C_REG_TBL . ' reg ON usr.username = reg.username ' . 'WHERE usr.room = \'%OTHER%\' ' . 'ORDER BY usr.username'; } else if (C_DB_TYPE == 'pgsql') { $otherRoomsQuery = 'SELECT usr.username, usr.latin1, usr.status, reg.gender ' . 'FROM ' . C_USR_TBL . ' usr, ' . C_REG_TBL . ' reg ' . 'WHERE usr.room = \'%OTHER%\' ' . 'UNION ' . 'SELECT usr.username, usr.latin1, usr.status, 0 ' . 'FROM ' . C_USR_TBL . ' usr ' . 'WHERE usr.username NOT IN (SELECT reg.username FROM ' . C_REG_TBL . ' reg) AND usr.room = \'%OTHER%\' ' . 'ORDER BY usr.username'; } else { $otherRoomsQuery = 'SELECT usr.username, usr.latin1, usr.status, 0 ' . 'FROM ' . C_USR_TBL . ' usr ' . 'WHERE usr.room = \'%OTHER%\' ' . 'ORDER BY usr.username'; } $othersRooms = array(); $otherRoomDb = new pmcDB; $otherRoomDb->query("SELECT DISTINCT room FROM " . C_MSG_TBL . " WHERE room != '$slashedCurrentRoomName' AND type = 1 ORDER BY room"); while (list($otherRoom) = $otherRoomDb->nextRecord()) $othersRooms[pmcHandleMagicQuotes($otherRoom, '', 1, 'del')] = ''; $otherRoomDb->cleanResults(); $filteredOtherRooms = array(); reset($othersRooms); while (list($roomName, $usersIn) = each($othersRooms)) { $usersDetails = array(); $slashedOther = pmcSlashSingleQuotes($roomName); $otherRoomDb->query(str_replace('%OTHER%', $slashedOther, $otherRoomsQuery)); while (list($otherUser, $latin1, $status, $gender) = $otherRoomDb->nextRecord()) { $usersDetails[] = array( pmcHandleMagicQuotes($otherUser, '', 1, 'del'), $latin1, $status, $gender ); } $otherRoomDb->cleanResults(); if (count($usersDetails) > 0) $filteredOtherRooms[$roomName] = $usersDetails; unset($usersDetails); } $otherRoomDb->close(); $othersRooms = $filteredOtherRooms; unset($roomName); unset($usersIn); unset($filteredOtherRooms); // 2. Format this list if (count($othersRooms) > 0) { $i = 0; $childCnt = array(); $joinUrl = $dbSessionVars['from'] . '?' . dbSessionSID('GET') . $pmcQueryArgSeparator . 'exitMessage=1' . $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%'; reset($othersRooms); while (list($roomName, $usersIn) = each($othersRooms)) { $usersInCnt = count($usersIn); if ($usersInCnt > 0) { $id = md5($roomName); $childCnt[$id] = $usersInCnt; $usersList[] = '<!-- The others rooms currently in use -->'; $usersList[] = '<p>'; $usersList[] = '<a href="' . str_replace('%NEWROOM%', urlencode($roomName), $joinUrl) . '" target="_parent">' . htmlspecialchars($roomName) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' . '(' . $usersInCnt . ')</span><br />'; for (reset($usersIn); $userDetails = current($usersIn); next($usersIn)) { $otherUser = $userDetails[0]; $latin1 = $userDetails[1]; $status = $userDetails[2]; $gender = $userDetails[3]; // Put an icon when there is a profile for the user if ($gender == 0) $gender = 'undefined'; else if ($gender == 1) $gender = 'boy'; else if ($gender == 2) $gender = 'girl'; else $gender = 'none'; if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b') $tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">' . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; else $tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '" /> '; $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($otherUser, $latin1, $status) . '</a><br />'; $usersList[] = "\t" . $tmpStr; } $usersList[] = '</p>'; $usersList[] = ''; } } unset($usersIn); $usersList[] = ''; } unset($othersRooms); /** * Build the list of empty default and public rooms * * The 'pmcSlashSingleQuotes()', the 'pmcHandleMagicQuotes()' and the * 'pmcSpecialChars()' fonctions are defined in the 'chat/lib/common.lib.php3' * library */ $joinUrl = $dbSessionVars['from'] . '?' . dbSessionSID('GET') . $pmcQueryArgSeparator . 'exitMessage=1' . $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%'; $usersList[] = '<!-- The others default and public rooms -->'; reset($defaultChatRooms); for ($k = 0; $k < count($defaultChatRooms); $k++) { $tmpRoom = stripslashes($defaultChatRooms[$k]); $id = md5($tmpRoom); // Display this room name when it hadn't been displayed yet if (strcasecmp($tmpRoom, $dbSessionVars['targetRoom']) != 0 && (!isset($childCnt) || !isset($childCnt[$id]))) { $usersList[] = '<p>'; $usersList[] = "\t" . '<a href="' . str_replace('%NEWROOM%', urlencode($tmpRoom), $joinUrl) . '" target="_parent">' . htmlspecialchars($tmpRoom) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo>' . ' (0)</span>'; $usersList[] = ''; $usersList[] = '</p>'; } } /** * Displays the frame */ // The url for the style sheet $cssUrl = pmcUrlForStyleSheet('style', L_CHARSET, (defined('L_FONT_NAME')) ? L_FONT_NAME : '', L_FONT_SIZE); $refeshUrl = 'users_low.' . C_EXTENSION . '?' . dbSessionSID('GET'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html dir="<?php echo($textDirection); ?>"> <head> <title><?php echo(APP_NAME); ?></title> <meta http-equiv="Refresh" content="30; url=<?php echo($refeshUrl); ?>" /> <link rel="stylesheet" href="<?php echo($cssUrl); ?>" type="text/css" /> </head> <body class="frame"> <?php reset($usersList); for ($i = 0; $i < count($usersList); $i++) { echo($usersList[$i] . "\n"); } ?> </body> </html> <?php ?> |
|
From: Lo?c C. <lo...@us...> - 2001-04-04 11:11:11
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv5585
Modified Files:
users.php3
Log Message:
Fix some typos and add an HTML comment for default and public other rooms
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** users.php3 2001/04/04 09:46:23 1.4
--- users.php3 2001/04/04 11:11:07 1.5
***************
*** 6,10 ****
// | Copyright (c) 2000-2001 The phpHeaven-team |
// +--------------------------------------------------------------------------+
! // | This script defines the 'users' with DHTML enabled browsers. |
// +--------------------------------------------------------------------------+
// | From the phpMyChat project: |
--- 6,10 ----
// | Copyright (c) 2000-2001 The phpHeaven-team |
// +--------------------------------------------------------------------------+
! // | This script defines the 'users' frame for DHTML enabled browsers. |
// +--------------------------------------------------------------------------+
// | From the phpMyChat project: |
***************
*** 16,20 ****
// $Id$
//
! // The "standard" users frame.
//
--- 16,20 ----
// $Id$
//
! // The 'standard' users frame.
//
***************
*** 291,295 ****
if ($i == 1)
$firstOtherRoom = 'Parent' . $id;
! $usersList[] = '<!-- The others rooms -->';
$usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 5px; cursor: hand">';
$usersList[] = "\t" . '<a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">'
--- 291,295 ----
if ($i == 1)
$firstOtherRoom = 'Parent' . $id;
! $usersList[] = '<!-- The others rooms currently in use -->';
$usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 5px; cursor: hand">';
$usersList[] = "\t" . '<a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">'
***************
*** 352,360 ****
. $pmcQueryArgSeparator . 'exitMessage=1'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
for ($k = 0; $k < count($defaultChatRooms); $k++)
{
! $tmpRoom = stripslashes($defaultChatRooms[$k]);
! $id = md5($tmpRoom);
// Display this room name when it hadn't been displayed yet
--- 352,362 ----
. $pmcQueryArgSeparator . 'exitMessage=1'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
+ $usersList[] = '<!-- The others default and public rooms -->';
+ reset($defaultChatRooms);
for ($k = 0; $k < count($defaultChatRooms); $k++)
{
! $tmpRoom = stripslashes($defaultChatRooms[$k]);
! $id = md5($tmpRoom);
// Display this room name when it hadn't been displayed yet
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 11:09:36
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv5412/lib/index_libs Modified Files: main_index.lib.php3 Log Message: Remove some unnecessary instructions Index: main_index.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** main_index.lib.php3 2001/04/04 09:06:54 1.3 --- main_index.lib.php3 2001/04/04 11:09:31 1.4 *************** *** 78,83 **** if (!empty($createRoomName)) $createRoomName = pmcHandleMagicQuotes($createRoomName, '1', '', 'del'); - if (!empty($exitFrom)) - $exitFrom = pmcHandleMagicQuotes($exitFrom, '1', '', 'del'); if (!empty($cookieUsername)) $cookieUsername = pmcHandleMagicQuotes($cookieUsername, '1', '', 'del'); --- 78,81 ---- |
|
From: Lo?c C. <lo...@us...> - 2001-04-04 09:46:28
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv23685/chat
Modified Files:
users.php3
Log Message:
The generated frame is XHTML 1 validated
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** users.php3 2001/04/04 09:04:09 1.3
--- users.php3 2001/04/04 09:46:23 1.4
***************
*** 141,145 ****
$usersCnt = 0;
! $usersList[] = '<b>' . htmlspecialchars($dbSessionVars['targetRoom']) . '<b>'
. '<span class="small">'
. '<bdo dir="' . $textDirection . '"></bdo>'
--- 141,146 ----
$usersCnt = 0;
! $usersList[] = '<!-- The current room -->';
! $usersList[] = '<b>' . htmlspecialchars($dbSessionVars['targetRoom']) . '</b>'
. '<span class="small">'
. '<bdo dir="' . $textDirection . '"></bdo>'
***************
*** 199,203 ****
$usersList[] = '';
$usersList[] = '';
! $usersList[0] = str_replace('%NUMROWS%', $usersCnt, $usersList[0]);
--- 200,204 ----
$usersList[] = '';
$usersList[] = '';
! $usersList[1] = str_replace('%NUMROWS%', $usersCnt, $usersList[1]);
***************
*** 290,293 ****
--- 291,295 ----
if ($i == 1)
$firstOtherRoom = 'Parent' . $id;
+ $usersList[] = '<!-- The others rooms -->';
$usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 5px; cursor: hand">';
$usersList[] = "\t" . '<a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">'
***************
*** 318,325 ****
if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b')
$tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">'
! . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '">'
. '</a> ';
else
! $tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '"> ';
$tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">'
. pmcFormatUsername($otherUser, $latin1, $status)
--- 320,327 ----
if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b')
$tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">'
! . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />'
. '</a> ';
else
! $tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '" /> ';
$tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">'
. pmcFormatUsername($otherUser, $latin1, $status)
***************
*** 417,422 ****
</head>
! <body class="frame" onunload="pmcGetY();">
! <p>
<?php
reset($usersList);
--- 419,424 ----
</head>
! <body class="frame" onunload="pmcGetY()">
!
<?php
reset($usersList);
***************
*** 426,430 ****
}
?>
- </p>
<script type="text/javascript" language="javascript1.2">
--- 428,431 ----
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 09:06:59
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv17303/chat/lib/index_libs
Modified Files:
main_index.lib.php3
Log Message:
Oups, the 'lang' parameter was lacking at the flags links!
Index: main_index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** main_index.lib.php3 2001/04/04 08:36:06 1.2
--- main_index.lib.php3 2001/04/04 09:06:54 1.3
***************
*** 602,606 ****
$i++;
echo("\t\t\t\t\t\t\t");
! echo(' <a href="' . $action . '?' . dbSessionSID('GET') .'">');
echo('<img src="' . _CHAT_PATH . 'localization/' . $name . '/flag.gif" border="0" width="24" height="16" alt="' . ucfirst(str_replace('_', ' ', $name)) . '" /></a>');
if ($i % 15 == 0 && $i < count($availableLanguages))
--- 602,606 ----
$i++;
echo("\t\t\t\t\t\t\t");
! echo(' <a href="' . $action . '?' . dbSessionSID('GET') . $pmcQueryArgSeparator . 'lang=' . $name . '">');
echo('<img src="' . _CHAT_PATH . 'localization/' . $name . '/flag.gif" border="0" width="24" height="16" alt="' . ucfirst(str_replace('_', ' ', $name)) . '" /></a>');
if ($i % 15 == 0 && $i < count($availableLanguages))
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 09:05:40
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv17052/chat/lib/index_libs
Modified Files:
do_enter_db_work.lib.php3
Log Message:
Oups, the was a call to the old 'clean_results' method.
Index: do_enter_db_work.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/do_enter_db_work.lib.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** do_enter_db_work.lib.php3 2001/04/03 20:10:15 1.1
--- do_enter_db_work.lib.php3 2001/04/04 09:05:36 1.2
***************
*** 143,147 ****
$dbLink->query("SELECT type FROM " . C_MSG_TBL . " WHERE room = '$slashedRoomName' LIMIT 1");
list($type) = $dbLink->nextRecord();
! $dbLink->clean_results();
$dbLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($roomType, '$slashedRoomName', 'SYS exit', '', '$currentTime', NULL, '#666699', 'sprintf(L_EXIT_ROM, \'" . $nickForNotifications . "\')', 'sprintf(L_EXIT_ROM, \'" . $nickForNotifications . "\')')");
--- 143,147 ----
$dbLink->query("SELECT type FROM " . C_MSG_TBL . " WHERE room = '$slashedRoomName' LIMIT 1");
list($type) = $dbLink->nextRecord();
! $dbLink->cleanResults();
$dbLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($roomType, '$slashedRoomName', 'SYS exit', '', '$currentTime', NULL, '#666699', 'sprintf(L_EXIT_ROM, \'" . $nickForNotifications . "\')', 'sprintf(L_EXIT_ROM, \'" . $nickForNotifications . "\')')");
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 09:04:13
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv16741/chat
Modified Files:
users.php3
Log Message:
Fix some bugs with slashed quotes
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** users.php3 2001/04/04 08:36:06 1.2
--- users.php3 2001/04/04 09:04:09 1.3
***************
*** 73,90 ****
/**
- * Add two slashes before single quotes
- *
- * @param string the string to be slashed
- *
- * @return string the slashed string
- *
- * @access public
- */
- function pmcDoubleSlash($theString)
- {
- return str_replace('\'', '\\\\\'', $theString);
- } // end of the 'pmcDoubleSlash()' function
-
- /**
* Format an username according to the status of the user
*
--- 73,76 ----
***************
*** 155,159 ****
$usersCnt = 0;
! $usersList[] = '<b>' . htmlspecialchars($slashedCurrentRoomName) . '<b>'
. '<span class="small">'
. '<bdo dir="' . $textDirection . '"></bdo>'
--- 141,145 ----
$usersCnt = 0;
! $usersList[] = '<b>' . htmlspecialchars($dbSessionVars['targetRoom']) . '<b>'
. '<span class="small">'
. '<bdo dir="' . $textDirection . '"></bdo>'
***************
*** 183,187 ****
. (($username == $dbSessionVars['nick'])
? '\'PROFILE\', \'\''
! : '\'WHOIS\', \'' . pmcDoubleSlash(pmcSpecialChars($username, $latin1)) .'\'')
. '); return false;" class="user">'
. '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />'
--- 169,173 ----
. (($username == $dbSessionVars['nick'])
? '\'PROFILE\', \'\''
! : '\'WHOIS\', \'' . pmcSlashSingleQuotes(pmcSpecialChars($username, $latin1)) .'\'')
. '); return false;" class="user">'
. '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />'
***************
*** 196,200 ****
if ($username != $dbSessionVars['nick'])
{
! $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcDoubleSlash(pmcSpecialChars($username, $latin1)) . '\', false)" class="user">'
. pmcFormatUsername($username, $latin1, $status)
. '</a><br />';
--- 182,186 ----
if ($username != $dbSessionVars['nick'])
{
! $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($username, $latin1)) . '\', false)" class="user">'
. pmcFormatUsername($username, $latin1, $status)
. '</a><br />';
***************
*** 331,340 ****
$gender = 'none';
if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b')
! $tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcDoubleSlash(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">'
. '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '">'
. '</a> ';
else
$tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '"> ';
! $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcDoubleSlash(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">'
. pmcFormatUsername($otherUser, $latin1, $status)
. '</a><br />';
--- 317,326 ----
$gender = 'none';
if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b')
! $tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">'
. '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '">'
. '</a> ';
else
$tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '"> ';
! $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">'
. pmcFormatUsername($otherUser, $latin1, $status)
. '</a><br />';
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 09:04:13
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib In directory usw-pr-cvs1:/tmp/cvs-serv16741/chat/lib Modified Files: check_and_kick_user.lib.php3 Log Message: Fix some bugs with slashed quotes Index: check_and_kick_user.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/check_and_kick_user.lib.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 |
|
From: Lo?c C. <lo...@us...> - 2001-04-04 08:37:46
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv11314/chat
Modified Files:
loader.php3
Log Message:
Just a little better generated HTML code
Index: loader.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/loader.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** loader.php3 2001/04/03 20:10:15 1.1
--- loader.php3 2001/04/04 08:37:41 1.2
***************
*** 324,329 ****
// Set the headers for the 'messages' frame
document.open('text/html', 'replace');
! document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">');
! document.write('<html dir="<?php echo($textDirection); ?>">\n\n<head>\n');
document.write('<title>Dynamic messages frame<\/title>\n');
document.write('<link rel="stylesheet" href="<?php echo($cssUrl); ?>" type="text/css" \/>\n');
--- 324,330 ----
// Set the headers for the 'messages' frame
document.open('text/html', 'replace');
! document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">\n');
! document.write('<html dir="<?php echo($textDirection); ?>">\n\n');
! document.write('<head>\n');
document.write('<title>Dynamic messages frame<\/title>\n');
document.write('<link rel="stylesheet" href="<?php echo($cssUrl); ?>" type="text/css" \/>\n');
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 08:36:10
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv11060/chat/lib/index_libs
Modified Files:
main_index.lib.php3 index_validation.lib.php3
do_enter_frameset.lib.php3
Log Message:
Fix some reloading bugs and improve the work for abnormal termination of a chat session
Index: main_index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** main_index.lib.php3 2001/04/03 20:14:52 1.1
--- main_index.lib.php3 2001/04/04 08:36:06 1.2
***************
*** 178,183 ****
if ($dbSessionIsNew)
{
! if (isset($exitMode))
! unset($exitMode);
if (isset($newTargetRoom))
unset($newTargetRoom);
--- 178,183 ----
if ($dbSessionIsNew)
{
! if (isset($exitMessage))
! unset($exitMessage);
if (isset($newTargetRoom))
unset($newTargetRoom);
***************
*** 192,196 ****
/**
* Removes user from the 'users' table if he left a room and, if required
! * ($exitMode value is 2), sends a notification of exit to the 'messages'
* table
*
--- 192,196 ----
/**
* Removes user from the 'users' table if he left a room and, if required
! * ($exitMessage value is 1), sends a notification of exit to the 'messages'
* table
*
***************
*** 198,230 ****
* inside the 'chat/lib/common.lib.php3' library
*/
! // Check for abnormal termination of a chat session
! if (!isset($exitMode))
{
! $dbLink->query("SELECT COUNT(*) FROM " . C_USR_TBL . " WHERE session_id = '$dbSessionId'");
! list($exitMode) = $dbLink->nextRecord();
! $dbLink->cleanResults();
}
! // Do remove user
! if ($exitMode)
{
$nickForNotifications = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSpecialChars($slashedNick, $latin1)));
$exitedRoomName = pmcSlashSingleQuotes($dbSessionVars['targetRoom']);
! $dbLink->query("DELETE FROM " . C_USR_TBL . " WHERE session_id = '$dbSessionId' AND room = '$exitedRoomName'");
! // Put exit notification if necessary
! if ($exitMode == 2 && $dbLink->affectedRows() > 0)
! {
! $exitedRoomType = $dbSessionVars['roomType'];
! $dbLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($exitedRoomType, '$exitedRoomName', 'SYS exit', '', " . time() . ", NULL, '#666699', 'sprintf(L_EXIT_ROM, \'$nickForNotifications\')', 'sprintf(L_EXIT_ROM, \'$nickForNotifications\')')");
! unset($exitedRoomType);
! }
! // Defines the room to enter settings if required
! if (isset($newTargetRoom))
! {
! $roomType = substr($newTargetRoom, 0, 1);
! $targetRoom = substr($newTargetRoom, 1);
! unset($newTargetRoom);
! $reloading = 'joinCmd';
! $jsVersion = $dbSessionVars['jsVersion'];
! }
}
--- 198,240 ----
* inside the 'chat/lib/common.lib.php3' library
*/
! // Delete any chatting user whith the same session Id
! if (!isset($reloading))
{
! $dbLink->query("DELETE FROM " . C_USR_TBL . " WHERE session_id = '$dbSessionId'");
}
! // Put an exited notification and prepare reloading of the chat
! if ((isset($exitMessage) && $exitMessage)
! && $dbLink->affectedRows() > 0)
{
$nickForNotifications = pmcSlashSingleQuotes(pmcSlashSingleQuotes(pmcSpecialChars($slashedNick, $latin1)));
$exitedRoomName = pmcSlashSingleQuotes($dbSessionVars['targetRoom']);
! $exitedRoomType = $dbSessionVars['roomType'];
! $dbLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($exitedRoomType, '$exitedRoomName', 'SYS exit', '', " . time() . ", NULL, '#666699', 'sprintf(L_EXIT_ROM, \'$nickForNotifications\')', 'sprintf(L_EXIT_ROM, \'$nickForNotifications\')')");
! unset($exitedRoomType);
! unset($exitedRoomName);
! unset($nickForNotifications);
! }
!
!
! /**
! * Prepares reloading (in case a 'join' command has just been submitted or the
! * user clicked on a room name at the message frame or he/she resizes the
! * Netscape 4+ window)
! */
! // 'join' command or clicked room name case
! if (isset($newTargetRoom))
! {
! $roomType = substr($newTargetRoom, 0, 1);
! $targetRoom = substr($newTargetRoom, 1);
! unset($newTargetRoom);
! $reloading = 'joinCmd';
! $jsVersion = $dbSessionVars['jsVersion'];
! }
! // fix for the NS resize bug case
! else if (isset($reloading) && $reloading == 'nsResize')
! {
! $roomType = $dbSessionVars['roomType'];
! $targetRoom = $dbSessionVars['targetRoom'];
! $jsVersion = $dbSessionVars['jsVersion'];
}
Index: index_validation.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/index_validation.lib.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** index_validation.lib.php3 2001/04/03 20:10:15 1.1
--- index_validation.lib.php3 2001/04/04 08:36:06 1.2
***************
*** 116,121 ****
// Skip the validation work when it has already be done before the
! // 'main_index.lib.php3' is run
! if (!isset($GLOBALS['$exitMode']) && $isRegNick)
{
// Reserved nick but no password submitted -> deny access
--- 116,121 ----
// Skip the validation work when it has already be done before the
! // 'main_index.lib.php3' is ran
! if (!isset($GLOBALS['$exitMessage']) && $isRegNick)
{
// Reserved nick but no password submitted -> deny access
Index: do_enter_frameset.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/do_enter_frameset.lib.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** do_enter_frameset.lib.php3 2001/04/03 20:10:15 1.1
--- do_enter_frameset.lib.php3 2001/04/04 08:36:06 1.2
***************
*** 29,32 ****
--- 29,33 ----
$nsResizeUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
+ . $pmcQueryArgSeparator . 'exitMessage=0'
. $pmcQueryArgSeparator . 'reloading=nsResize';
// The url to be used for the loader
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 08:36:10
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv11060/chat/lib
Modified Files:
check_and_kick_user.lib.php3
Log Message:
Fix some reloading bugs and improve the work for abnormal termination of a chat session
Index: check_and_kick_user.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/check_and_kick_user.lib.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** check_and_kick_user.lib.php3 2001/04/03 20:10:14 1.1
--- check_and_kick_user.lib.php3 2001/04/04 08:36:06 1.2
***************
*** 60,66 ****
--- 60,68 ----
if ($isLoggedIn)
{
+ $loggedInRoom = pmcSlashSingleQuotes(pmcHandleMagicQuotes($loggedInRoom, '', 1, 'del'));
// Same nick in another room
if ($loggedInRoom != $slashedCurrentRoomName)
{
+ echo($loggedInRoom . ' ' . $slashedCurrentRoomName); exit();
$checkLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($currentRoomType, '$slashedCurrentRoomName', 'SYS exit', '', " . time() . ", '', '#666699', 'sprintf(L_EXIT_ROM, \'" . pmcSpecialChars($slashedNick, $latin1) . "\')', 'sprintf(L_EXIT_ROM, \'" . pmcSpecialChars($slashedNick, $latin1) . "\')')");
$dbSessionVars['kicked'] = 1;
***************
*** 88,92 ****
{
dbSessionSave();
! $exitQueryUrl = '?' . dbSessionSID() . $GLOBALS['pmcQueryArgSeparator'] . 'exitMode=0';
$jsExitUrl = $dbSessionVars['from'] . $exitQueryUrl;
$htmlExitUrl = C_CHAT_URL . $exitQueryUrl;
--- 90,94 ----
{
dbSessionSave();
! $exitQueryUrl = '?' . dbSessionSID() . $GLOBALS['pmcQueryArgSeparator'] . 'exitMessage=0';
$jsExitUrl = $dbSessionVars['from'] . $exitQueryUrl;
$htmlExitUrl = C_CHAT_URL . $exitQueryUrl;
|
|
From: Lo?c C. <lo...@us...> - 2001-04-04 08:36:10
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv11060/chat
Modified Files:
users.php3 exit.php3
Log Message:
Fix some reloading bugs and improve the work for abnormal termination of a chat session
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** users.php3 2001/04/03 20:17:40 1.1
--- users.php3 2001/04/04 08:36:06 1.2
***************
*** 290,294 ****
$joinUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'exitMode=2'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
--- 290,294 ----
$joinUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'exitMessage=1'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
***************
*** 362,366 ****
$joinUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'exitMode=2'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
--- 362,366 ----
$joinUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'exitMessage=1'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
Index: exit.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/exit.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** exit.php3 2001/04/03 20:10:15 1.1
--- exit.php3 2001/04/04 08:36:06 1.2
***************
*** 94,98 ****
$exitUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'exitMode=2';
?>
<a href="<?php echo($exitUrl); ?>" target="_parent"><?php echo(L_EXIT); ?></a>
--- 94,98 ----
$exitUrl = $dbSessionVars['from']
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'exitMessage=1';
?>
<a href="<?php echo($exitUrl); ?>" target="_parent"><?php echo(L_EXIT); ?></a>
|
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:42:18
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv14395 Added Files: favicon.ico Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- 99-,99þ9 99,++9þ9 99+*)9þ999999+*)'9þ995679*(&%9þþ99999 |
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:34:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/config
In directory usw-pr-cvs1:/tmp/cvs-serv11856/config
Added Files:
admin.css.php3 start_page.css.php3 style.css.php3
Log Message:
The first dev. version that works! Still many things to do, of course...
--- NEW FILE ---
<?php
/**
* Stylesheet for the administration pages of phpMyChat
*
* List of variables defined here
* $large = large font size for main titles
* $name = name for a variable sent or posted to this script
* $small = small font size
* $value = value for a variable sent or posted to this script
*
* @version $Id: admin.css.php3,v 2.1 2001/01/09
* @since phpMyChat 0.13.2
* @author phpHeaven-team <php...@eg...>
*/
/**
* Gets the names and values for variables posted to this script
*/
if (isset($HTTP_GET_VARS))
{
while(list($name,$value) = each($HTTP_GET_VARS))
{
$$name = $value;
};
};
/**
* Defines some vars
*/
if (isset($charset))
{
if (!empty($fontName))
{
?>
* {font-family: <?php echo($fontName); ?>, sans-serif;}
<?php
}
elseif ($charset == 'iso-8859-1')
{
?>
* {font-family: helvetica, arial, geneva, sans-serif;}
<?php
};
};
if (empty($medium)) $medium = 10;
$large = round(1.4 * $medium);
$small = round(0.8 * $medium);
/**
* Defines the styles
*/
?>
body
{
margin: 5px;
background-color: #666699;
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
text-indent: 0;
}
table, tr, td, th
{
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
}
th, b
{
font-weight: 800;
}
.menu
{
font-size: <?php echo($medium); ?>pt;
font-weight: 600;
background-color: #666699;
color: #FFFFFF;
border-bottom: 1pt solid #FFFFFF;
};
.menuTitle
{
font-size: <?php echo($medium); ?>pt;
font-weight: 600;
background-color: #666699;
color: #CCCCFF;
};
a
{
text-decoration: underline;
color: #FFFFFF;
font-weight: 600;
};
a:hover, a:active
{
color: #FF9900;
text-decoration: none;
};
.thumbIndex
{
font-size: <?php echo($small); ?>pt;
font-weight: 600;
background-color: #9999CC;
color: #FFFFFF;
border-top: 1pt solid #FFFFFF;
border-left: 1pt solid #FFFFFF;
border-right: 1pt solid #FFFFFF;
};
.thumbIndex a
{
text-decoration: none;
color: #FFFFFF;
font-weight: 600;
}
.thumbIndex a.selected
{
text-decoration: none;
color: #CCCCFF;
font-weight: 600;
}
.thumbIndex a:hover, .thumbIndex a:active
{
text-decoration: none;
background: #666699;
color: #FF9933;
}
input, select, textarea
{
background: #EEEEFF;
}
.title
{
color: #CCCCFF;
font-size: <?php echo($large); ?>pt;
font-weight: 800;
}
.table
{
background-color: #CCCCFF;
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
}
.tabTitle
{
background-color: #666699;
color: #FFFFFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
}
.error
{
font-weight: 800;
color: #FF0000;
}
.errorLink, .errorLink:active
{
text-decoration: underline;
color: #FF0000;
font-weight: 800;
};
.errorLink:hover
{
text-decoration: none;
color: #FF0000;
};
.success
{
font-weight: 800;
color: #CCCCFF;
}
.small
{
color: #FFFFFF;
font-size: <?php echo($small); ?>pt;
}
--- NEW FILE ---
<?php
/**
* Stylesheet for the starting page of phpMyChat
*
* List of variables defined here
* $fontFace = font face family
* $large = large font size for main titles
* $name = name for a variable sent or posted to this script
* $small = small font size
* $specialFont = true if a 'special font face' is required
* $value = value for a variable sent or posted to this script
*
* @version $Id: start_page.css.php3,v 1.1 2001/01/09
* @since phpMyChat 0.14.0
* @author phpHeaven-team <php...@eg...>
*/
/**
* Gets the names and values for variables posted to this script
*/
if (isset($HTTP_GET_VARS))
{
while(list($name, $value) = each($HTTP_GET_VARS))
{
$$name = $value;
};
};
/**
* Defines some vars
*/
if (isset($charset))
{
if (!empty($fontName))
{
$fontFace = 'font-family: "' . $fontName . ', sans-serif";';
$specialFont = 1;
}
else if ($charset == 'iso-8859-1')
{
$fontFace = 'font-family: helvetica, arial, geneva, sans-serif;';
};
};
if (empty($medium))
$medium = 10;
$large = round(1.4 * $medium);
$small = round(0.8 * $medium);
/**
* Defines the styles
*/
?>
.chatBody
{
<?php if (isset($fontFace)) echo($fontFace); ?>
background-color: #666699;
color: #FFFFFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
margin: 5px;
text-indent: 0;
}
.chatTable
{
<?php if (isset($fontFace)) echo($fontFace); ?>
background-color: #CCCCFF;
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
}
.chatTabTitle
{
<?php if (isset($fontFace)) echo($fontFace); ?>
background-color: #666699;
color: #FFFFFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
}
tr.chatCell, td.chatCell
{
<?php if (isset($fontFace)) echo($fontFace); ?>
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
}
th.chatCell
{
<?php if (isset($fontFace)) echo($fontFace); ?>
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
}
<?php
if (isset($specialFont))
{
?>
a.chatFonts
{
<?php if (isset($fontFace)) echo($fontFace); ?>
text-decoration: underline;
color: #FF0000;
font-weight: 600;
}
a.chatFonts:hover, a.chatFonts:active
{
<?php if (isset($fontFace)) echo($fontFace); ?>
color: #FF0000;
text-decoration: none;
}
<?php
};
?>
a.chatLink
{
<?php if (isset($fontFace)) echo($fontFace); ?>
text-decoration: underline;
color: #FFFFFF;
font-weight: 600;
}
a.chatLink:hover, a.chatLink:active
{
<?php if (isset($fontFace)) echo($fontFace); ?>
color: #FF9900;
text-decoration: none;
}
a.chatReg
{
<?php if (isset($fontFace)) echo($fontFace); ?>
text-decoration: underline;
color: #0000C0;
font-weight: 800;
}
a.chatReg:hover, a.chatReg:active
{
<?php if (isset($fontFace)) echo($fontFace); ?>
color: #0000C0;
text-decoration: none;
}
input.chatBox, select.chatBox, textarea.chatBox
{
<?php if (isset($fontFace)) echo($fontFace); ?>
background: #EEEEFF;
}
.chatTitle
{
<?php if (isset($fontFace)) echo($fontFace); ?>
color: #CCCCFF;
font-size: <?php echo($large); ?>pt;
font-weight: 800;
}
.chatError
{
<?php if (isset($fontFace)) echo($fontFace); ?>
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
color: #FF0000;
}
.chatCopy
{
font-family: helvetica, arial, geneva, sans-serif;
color: #CCCCFF;
font-size: 8pt;
}
a.chatCopy, a.chatCopy:active
{
font-family: helvetica, arial, geneva, sans-serif;
color: #FFFFFF;
}
.chatP1
{
<?php if (isset($fontFace)) echo($fontFace); ?>
font-size: <?php echo($medium); ?>pt;
color: #FFFFFF;
}
.chatP2
{
<?php if (isset($fontFace)) echo($fontFace); ?>
font-size: <?php echo($medium); ?>pt;
color: #000000;
}
.chatFlags
{
font-family: helvetica, arial, geneva, sans-serif;
color: #000000;
font-size: 10pt;
font-weight: 400;
}
--- NEW FILE ---
<?php
/**
* Stylesheet for the administration pages of phpMyChat
*
* List of variables defined here
* $large = large font size for main titles
* $name = name for a variable sent or posted to this script
* $small = small font size
* $value = value for a variable sent or posted to this script
*
* @version $Id: styles.css.php3,v 2.1 2001/01/09
* @since phpMyChat 0.7.0
* @author phpHeaven-team <php...@eg...>
*/
/**
* Gets the names and values for variables posted to this script
*/
if (isset($HTTP_GET_VARS))
{
while(list($name,$value) = each($HTTP_GET_VARS))
{
$$name = $value;
};
};
/**
* Defines some vars
*/
if (isset($charset))
{
if (!empty($fontName))
{
?>
* {font-family: <?php echo($fontName); ?>, sans-serif;}
<?php
}
elseif ($charset == 'iso-8859-1')
{
?>
* {font-family: helvetica, arial, geneva, sans-serif;}
<?php
};
};
if (empty($medium)) $medium = 10;
$large = round(1.4 * $medium);
$small = round(0.8 * $medium);
/**
* Defines the styles
*/
?>
body
{
background-color: #666699;
color: #FFFFFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
margin: 5px;
text-indent: 0;
}
body.frame
{
background-color: #666699;
color: #CCCCFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
margin: 5px;
text-indent: 0;
}
body.mainFrame
{
background-color: #CCCCFF;
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
margin: 5px;
}
table, tr, td, th
{
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
}
td.whois, .whois
{
color: #CCCCFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 600;
}
th, b
{
font-weight: 800;
}
a
{
text-decoration: underline;
color: #FFFFFF;
font-weight: 600;
}
a:hover, a:active
{
color: #FF9900;
text-decoration: none;
}
a.user, a.user:active
{
text-decoration: none;
color: #CCCCFF;
font-weight: 400;
}
input, select, textarea
{
background: #EEEEFF;
}
a.sender, a.sender:active
{
text-decoration: none;
color: #000000;
font-weight: 600;
}
.msg
{
margin-top: 0px;
margin-bottom: 2px;
margin-left: <?php echo($charset == 'windows-1256' ? '5' : '55'); ?>px;
margin-right: <?php echo($charset == 'windows-1256' ? '55' : '5'); ?>px;
text-indent: -50px;
}
.title
{
color: #CCCCFF;
font-size: <?php echo($large); ?>pt;
font-weight: 800;
}
.table
{
background-color: #CCCCFF;
color: #000000;
font-size: <?php echo($medium); ?>pt;
font-weight: 400;
}
.tabTitle
{
background-color: #666699;
color: #FFFFFF;
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
}
.error
{
font-weight: 800;
color: #FF0000;
}
.small
{
color: #FFFFFF;
font-size: <?php echo($small); ?>pt;
}
.time
{
unicode-bidi: embed;
color: #000000;
font-size: 8pt;
}
.notify
{
color: #666699;
font-size: <?php echo($medium); ?>pt;
font-weight: 600;
}
|
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:24:45
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images/admin_imgs In directory usw-pr-cvs1:/tmp/cvs-serv8488 Added Files: end.gif Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- GIF89a |
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:19:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images/tutorials_imgs In directory usw-pr-cvs1:/tmp/cvs-serv6912/chat/images/tutorials_imgs Added Files: users_list.gif Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- GIF89ac æK Ò. r ¡C`u×o7éÖ[ ° H¤çp5uD*r8ÕÆ\o¸êoW¨ä(ljª«¤¬W,sꪨ£29r\§YÈÚ§¤.ʳ·ÙzÎlWf¢©tid§ç¸e=Ö.úacɹê˧àU%a¹ØaÔ¼~·.Qó+UÿÒ[o »kJxôAîÂ7¼»í±F\ú^ç²E_æzãÍÆúð»Ý:lòÉ(3¥_ÉfÅ//ÈßÚu£.Ë©Ñl3ÀÍì/I^ ²¿CÍ0»ÂásEH»¼q¼0# ÂVaqÂRõ»ÖÒÉtüòÎíR¥qÍL[ýUÅbL1É\íöÛp# òZUyaÚD8Wº4.øànøá ¤B='Ál B S6¤B p©# ä ÖüµË#Zè7b°ª+,²àÒø¡ãÒýdÇ"ëd':ýÙìÇX½òðÇ/ÿNÌCo¾»õ¯ß=Û¾v¬ø*Âó´!û%}²ÞþÔ5¿:ð;éÿÀöi)Ðd^:S>º00U, +¸®ë} à!ÈB¢zÜé©*8¢ZÁÐ@êË^þ,ÈÃv4+4^@ÊU@pyF|÷; XÃt-p}Al¡§HE¸øHy¬ÁAôDÔ,d;DzDÃ0¸¥hL£×ÈÆ6º" |
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:19:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images/admin_imgs In directory usw-pr-cvs1:/tmp/cvs-serv6912/chat/images/admin_imgs Added Files: up.gif Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- GIF89a |
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:19:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images In directory usw-pr-cvs1:/tmp/cvs-serv6912/chat/images Added Files: sound.gif unsel_color.gif Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- GIF89a --- NEW FILE --- GIF89a |
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images/smilies
In directory usw-pr-cvs1:/tmp/cvs-serv6737/chat/images/smilies
Added Files:
smile1.gif smile2.gif smile3.gif smile4.gif smile5.gif
smile6.gif smile7.gif smile8.gif smile9.gif
Log Message:
The first dev. version that works! Still many things to do, of course...
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
£
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a2
tqÄ*æÓÖÂtxÜ3oÆ#.?iOÖý´ÓçrkVcxngu:x1
uO/I#ePE-;lTFFbV¡¢TC,.[«@±
tqÄ*æÓÖÂtxÜ3oÆ#.?iOÖý´ÓçrkVcxnTpu~:x1
puO/I
PE-;l:hES[bV>
TC,.²¢i
tqÄ*æÓÖÂtxÜ3oÆ#.?iÉá¦ÀëvvkVcJ}TsrSx1
OuO/I
nPrAeb# FF¨|
tqÄ*æÓÖÂtxÜsÏ#.§?i©ñ¦ërsukVcJ
nZOOT$1x
tqÄ*æÓÖÂtxÌkhÜ´'ñÓçOeÚ#jøÿ~?rwxxkVcJD
OT$1zfguu
I#FtAeb¡¢T¤F©.¬5C,³µ´'i
tqÄ*æÛ0NO:=æ54ï3È`<êö:Ûº¾6þ
l.5D|~PJd#Jxy{|T1y{¡P/I
t[
ueTDzyx|VcJ
Oã8½Y*W@(àz¤»XÉ.¤|þµ=eë2Wn1<_<?_!c=s|jUf
¨Cch»±¶,TîöÚÃ
³!Rh-n
{xGtID
m$ORv&k
}}¤
÷ÌÃ¥ü®?wëÌæpvG;z4|f~$O$d|Xu(iZcc
W¬´´¤ÙFÔsXbètÕ=µ<´Åð`TÂêÏÑh¸ÒurN;
Oã8½Y*W@(àz¤»XÉ.¤|þµ=eë2Wn1<_<?_!c=s|jUf
¨Cch»±¶,TîöÚÃ
³!Rh-n
{xGtID
m$ORv&k
}}¤
÷ÌÃ¥ü®?wëÌæpvG;z4|f~$O$d|Xu(iZcc
|
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:18:59
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images
In directory usw-pr-cvs1:/tmp/cvs-serv6737/chat/images
Added Files:
gender_boy.gif gender_girl.gif gender_none.gif
gender_undefined.gif help_off.gif help_on.gif icon.gif
no_sound.gif open.gif open_big.gif popup.gif sel_color.gif
Log Message:
The first dev. version that works! Still many things to do, of course...
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
âAàA"aÒHÙ¡«´1Ç
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89aX
.L P3tF_ʩɥ¶ÔÆWû]
bWzf½Yª²A/w·p9|úë4m/15waec`\[qg^B<[
í5\ð0¢ºeû
ÕcG:SiÂ4¬@
Èw´êÍ+krÌ)õéÙ²oÑzä
ƶK{Vk_¤lªL¯T¿
Õýº@Qzað¬¶jÒ´0ÍR¦
R1
ÆD»Ý¨´²SWcbÆãfĸjSàxâhÃ4Ùjþë1'¾=ùé-LhVg`´áìËûåùôäÒûa¿bw(Ý¿oR|¼ùN¨_Ͼ½û÷ðãËOÿ}ûøóë¿
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
--- NEW FILE ---
GIF89a
|
|
From: Lo?c C. <lo...@us...> - 2001-04-03 20:18:59
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/images/tutorials_imgs
In directory usw-pr-cvs1:/tmp/cvs-serv6737/chat/images/tutorials_imgs
Added Files:
flags.gif
Log Message:
The first dev. version that works! Still many things to do, of course...
--- NEW FILE ---
GIF89a¨,
õ
ÂD'Bvay#ÀWhÅÿ
SâGJ
X¨%»_
÷ÙNZ=Ó°Þ:Ìôî$8Ë?
é Pò± '
W"Õïí
WȺð
0¡gHÃÚð8Ì¡;Ð7çlTMd5+ÚêpÍê^J(xÄÓñCTXwôųyá
³
"ÞÜÿX+/CDk*FÆMM~[PÈ`p-zÌ9Li0Ð#¢$
zü¼aÍ}¹ÊW¼ç@/ÍÒpNdµ#
õ Ò7ðY¤|Úä }iaeÛeÖ:ì{CÕ8)¦
ÌgÓÏãI¡IÓUÔô'·ø.11·q$¹fÀÖðäÿ9`F9èÌ£ÐS·`Ù(ªuP_¹Ó#ì"/MF
 múC!RJÐvPõD©3óÑx¢(áW04c¥ ÌÆp®`l(HªjÆÌ¨Âw¬¬.+=S¦læÓ
ЩÓZØÖ´È¥Íæ%¼ÅÍ.ÄàA5¡Õ|(Ç£âb¥ªÿÊ4Ò¢Ù+ªH½¢`gV«SæÑj&9æb6@[XZh>á
nÎÜ>¢8pPr¿Mó¤[±3Wç<JÑ5%t¤Bn
ú;aïÙ¦pe0c?0°2jfR
¼M%ô2ñtO7äºn9¦æ¡&Db-£ö´²P·Ôb\ûw1R-Xfaç£Ò4é_Yáá5»xOÒpÂJí_Þ os[ÛØ+o°Û5ö«3nKÚÜß^ô¹©A¹º[¾ Jïz[üâϸÆ7ÎqD
|