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-15 18:57:23
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/localization/japanese
In directory usw-pr-cvs1:/tmp/cvs-serv13834/chat/localization/japanese
Modified Files:
localized.chat.php3
Added Files:
localized.tutorial.php3 localized.admin.php3
Log Message:
Near validated new translation
***** Bogus filespec: -
***** Bogus filespec: 0.14/chat/localization/japanese
--- NEW FILE ---
<?php
// File : japanese.tutorial.php3
// Translation by Yosuke Hamamoto <yo...@ke...>
// Get the names and values for vars sent by the script that called this one
if (isset($HTTP_GET_VARS))
{
while(list($name,$value) = each($HTTP_GET_VARS))
{
$$name = $value;
};
};
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>English Tutorial for <?php echo(APP_NAME." - ".APP_VERSION); ?></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=x-euc-jp">
<STYLE>
A.topLink
{
text-decoration: underline;
color: #0000C0;
}
A.topLink:hover, A.topLink:active
{
color: #FF9900;
text-decoration: none;
font-weight: 800;
}
.redText
{
font-weight: 800;
color: #FF0000;
}
</STYLE>
</HEAD>
<BODY BGCOLOR="#CCCCFF">
<P><A NAME="top"></P>
<TABLE BORDER="5" CELLPADDING="5">
<TR>
<TD><FONT SIZE="+2">¥Á¥å¡¼¥È¥ê¥¢¥ë¤ÎÆâÍÆ</FONT></TD>
</TR>
</TABLE><BR>
<P CLASS="redText">
·Ù¹ð: Netscape¤Î¥æ¡¼¥¶¡¼¤Ï¡¢¸À¸ì¤ò½é´ü¤ÎÀßÄê¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£ÀßÄê¤ò¤·¤Ê¤¤¤È¡¢? ¤ËÃÖ¤´¹¤¨¤é¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£<BR>
ɽ¼¨->ʸ»ú¥³¡¼¥ÉÀßÄê->ÆüËÜ¸ì ¼«Æ°ÁªÂò¡¢¤½¤·¤Æ¡¢É½¼¨->ʸ»ú¥³¡¼¥ÉÀßÄê->ɸ½à¤Îʸ»ú¥³¡¼¥É¥»¥Ã¥È¤ËÀßÄê¤òÁªÂò¤¹¤ë¤È¤Ç¤¤Þ¤¹¡£
</P>
<?php
if (C_MULTI_LANG == "1")
{
?>
<A HREF="#language" CLASS="topLink">¸À¸ì¤òÁªÂò¤¹¤ë</A><BR>
<?php
}
?>
<A HREF="#login" CLASS="topLink">¥Á¥ã¥Ã¥È¤Ë¥í¥°¥¤¥ó¤¹¤ë</A><BR>
<A HREF="#register" CLASS="topLink">ÅÐÏ¿¤¹¤ë</A><BR>
<A HREF="#modProfile" CLASS="topLink">¥×¥í¥Õ¥£¡¼¥ë¤òÊѹ¹<?php if (C_SHOW_DEL_PROF == "1") echo("/ºï½ü"); ?>¤¹¤ë</A><BR>
<?php
if (C_VERSION == "2")
{
?>
<A HREF="#create_room" CLASS="topLink">Éô²°¤òºîÀ®¤¹¤ë</A><BR>
<?php
};
if ($Ver == "H")
{
?>
<A HREF="#connection_state" CLASS="topLink">Àܳ¾õ¶·¤È¤Ï¡©</A><BR>
<?php
};
?>
<A HREF="#sending" CLASS="topLink">¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ë</A><BR>
<A HREF="#users_list" CLASS="topLink">¥æ¡¼¥¶¤Î¥ê¥¹¥È¤ÎÀâÌÀ</A><BR>
<A HREF="#exit" CLASS="topLink">¥Á¥ã¥Ã¥È¥ë¡¼¥à¤ò½Ð¤ë/µî¤ë</A><BR>
<A HREF="#users_popup" CLASS="topLink">郎¥í¥°¥¤¥ó¤ò¤»¤º¤Ë¥Á¥ã¥Ã¥È¤·¤Æ¤¤¤ë¤Î¤«ÃΤë</A><BR>
<P>
<A HREF="#customize" CLASS="topLink">¥Á¥ã¥Ã¥È¤Îɽ¼¨¤òÊѹ¹¤¹¤ë</A><BR>
<P>
<A HREF="#commands" CLASS="topLink">ÆÃħ¤È¥³¥Þ¥ó¥É</A><BR>
    <A HREF="#help" CLASS="topLink">¥Ø¥ë¥×¥³¥Þ¥ó¥É</A><BR>
<?php
if (C_USE_SMILIES == "1")
{
?>
    <A HREF="#smilies" CLASS="topLink">´é¤Î²èÁü</A><BR>
<?php
};
if (C_HTML_TAGS_KEEP != "none")
{
?>
    <A HREF="#text" CLASS="topLink">¥Æ¥¥¹¥È¤Î¥Õ¥©¡¼¥Þ¥Ã¥È</A><BR>
<?php
};
?>
    <A HREF="#invite" CLASS="topLink">¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤Î¥Á¥ã¥Ã¥È¤Ë¾·ÂÔ¤¹¤ë</A><BR>
    <A HREF="#changeroom" CLASS="topLink">¾¤Î¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë°Üư¤¹¤ë</A><BR>
    <A HREF="#private" CLASS="topLink">¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸</A><BR>
    <A HREF="#actions" CLASS="topLink">¹Ôư</A><BR>
    <A HREF="#ignore" CLASS="topLink">¾¤Î¥æ¡¼¥¶¡¼¤ò̵»ë¤¹¤ë</A><BR>
    <A HREF="#whois" CLASS="topLink">¾¤Î¥æ¡¼¥¶¤Î¾ðÊó¤òÆÀ¤ë</A><BR>
<?php
if (C_SAVE != "0")
{
?>
    <A HREF="#save" CLASS="topLink">¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë</A><BR>
<?php
};
?>
<P>
<A HREF="#moderator" CLASS="topLink">¥â¥Ç¥ì¡¼¥¿¤È´ÉÍý¼Ô¤ÎÆÃÊ̤ʥ³¥Þ¥ó¥É</A><BR>
    <A HREF="#announce" CLASS="topLink">¥¢¥Ê¥¦¥ó¥¹¥á¥ó¥È¤òÁ÷¤ë</A><BR>
    <A HREF="#kick" CLASS="topLink">¥æ¡¼¥¶¡¼¤òÄɤ¤½Ð¤¹</A><BR>
<?php
if (C_BANISH != "0")
{
?>
    <A HREF="#banish" CLASS="topLink">¥æ¡¼¥¶¤ÎÄÉÊü</A><BR>
<?php
};
?>
    <A HREF="#promote" CLASS="topLink">¥æ¡¼¥¶¡¼¤ò¥â¥Ç¥ì¡¼¥¿¡¼¤ËÀßÄꤹ¤ë</A><BR>
<P>
<HR>
<HR>
<?php
if (C_MULTI_LANG == "1")
{
?>
<P>
<FONT SIZE="+1"><A NAME="language"><B>¸À¸ì¤òÁªÂò¤¹¤ë:</B></A></FONT>
<P>
¤³¤Î¥Á¥ã¥Ã¥È¥·¥¹¥Æ¥à¤Ï¿¤¯¤Î¸À¸ì¤ËÌõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¤³¤Î¥Á¥ã¥Ã¥È¤ò¾¤Î¸À¸ì¤ËÌõ¤¹¾ì¹ç¤Ï¡¢¥Á¥ã¥Ã¥È¤Î¥È¥Ã¥×¥Ú¡¼¥¸¤Ë¤¢¤ë¹ñ´ú¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¡¢²¼µ¤ÎÎã¤Ç¤Ï¡¢¥æ¡¼¥¶¡¼¤Ï¥Õ¥é¥ó¥¹¸ì¤òÁª¤ó¤Ç¤¤¤Þ¤¹¡£
<P ALIGN="center">
<IMG SRC="images/tutorials/flags.gif" HEIGHT="44" WIDTH="424" ALT="¸À¸ì¤ÎÀßÄê">
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<HR>
<?php
}
?>
<P>
<FONT SIZE="+1"><A NAME="login"><B>¥í¥°¥¤¥ó:</B></A></FONT>
<P>
µ®Êý¤¬ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ê¤é¤Ð¡¢¥æ¡¼¥¶¡¼Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ¹¤ë»ö¤È¡¢µ®Êý¤¬Æþ¤ê¤¿¤¤¥Á¥ã¥Ã¥È¥ë¡¼¥à¤òÁªÂò¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢¥í¥°¥¤¥ó¤¬¤Ç¤¤Þ¤¹¡£<BR>
<?php
if (C_REQUIRE_REGISTER == "1")
{
?>
<P>
ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¤Ê¤é¤Ð¡¢<A HREF="#register">ÅÐÏ¿</A>¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£
<?php
}
else
{
?>
<P>
ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¤Ê¤é¤Ð¡¢<A HREF="#register">ÅÐÏ¿</A>¤òºÑ¤Þ¤»¤ë¤«¡¢¥²¥¹¥È¤È¤·¤ÆÆþ¤Ã¤Æ¤¯¤À¤µ¤¤¡£¥²¥¹¥È¤Î¾ì¹ç¤Ï¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤¬¤¢¤Ê¤¿¤Î´õ˾¤·¤Æ¤¤¤ë¥æ¡¼¥¶¡¼Ì¾¤ò»È¤Ã¤Æ¤¤¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£
<?php
}
?>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="register"><B>ÅÐÏ¿¤¹¤ë¤¿¤á¤Ë:</B></A></FONT>
<P>
ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¤Ê¤é¤Ð¡¢<?php if (C_REQUIRE_REGISTER == "0") echo("¤½¤·¤ÆÅÐÏ¿¤·¤¿¤¤¾ì¹ç¤Ï¡¢"); ?>ÅÐÏ¿¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£¾®¤µ¤Ê¥¦¥£¥ó¥É¥¦¤¬¥Ý¥Ã¥×¥¢¥Ã¥×¤µ¤ì(¿·¤·¤¯½Ð¤Æ¤)¤Þ¤¹¡£
<P>
<UL>
<LI>¤Þ¤º»Ï¤á¤Ë¡¢¥æ¡¼¥¶¡¼Ì¾<?php if (!C_EMAIL_PASWD) echo("¤È¥Ñ¥¹¥ï¡¼¥É"); ?> ¤ò·è¤á¤Æ¡¢ÅÐÏ¿¤¹¤ë¿Í¤ÏÅÐÏ¿¥Õ¥©¡¼¥à¤Ë¡¢¥²¥¹¥È¤ÇÆþ¼¼¤·¤¿¤¤¿Í¤Ï¡¢¤¢¤Ê¤¿¤Î̾Á°¤Î¥Ü¥Ã¥¯¥¹¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£¥æ¡¼¥¶¡¼Ì¾¤Ï¡¢¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ç¤¢¤Ê¤¿¤Î¥Ï¥ó¥É¥ë̾¤È¤Ê¤ê¤½¤Î̾Á°¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¥æ¡¼¥¶¡¼Ì¾¤Ë¤Ï¥³¥ó¥Þ¤ä¥¹¥Ú¡¼¥¹¡¢¤Þ¤¿¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å(\)¤Ï´Þ¤á¤Þ¤»¤ó¡£
<?php if (C_NO_SWEAR == "1") echo("°¤¤¸ÀÍÕ¤âÉÔ²Äǽ¤Ç¤¹¡£"); ?>
<LI>¼¡¤Ë¡¢À«Ì¾¡¢¥á¡¼¥ë¥¢¥É¥ì¥¹¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤(ÅÐÏ¿¤¹¤ë¿Í¤Ï)¡£ ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ë¤Ê¤ë¤¿¤á¤Ë¤Ï¡¢¤³¤ì¤ÏÉԲķç¤Ç¤¹¡£ÀÊ̤ϡ¢¤É¤Á¤é¤Ç¤â¤¤¤¤¤Ç¤¹¡£
<LI>¥Û¡¼¥à¤Ú¡¼¥¸¤¬¤¢¤ì¤Ð¡¢ÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£(¥ª¥×¥·¥ç¥ó)
<LI>¸À¸ì¤ÎÁªÂò¤Ï¡¢¸å¤Ç¾¤Î¥æ¡¼¥¶¡¼¤È¤Î¥Á¥ã¥Ã¥È¤ÇɬÍפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£
<LI>ºÇ¸å¤Ë¡¢Ã¯¤â¤¬¤¢¤Ê¤¿¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤ò¸«¤ë¤³¤È¤¬½ÐÍè¤ë¤è¤¦¤ËÀßÄꤹ¤ë¾ì¹ç¤Ï¡¢¥Á¥§¥Ã¥¯¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£
<LI>¤½¤·¤ÆÅÐÏ¿¥Ü¥¿¥ó¤ò²¡¤¹¤³¤È¤Ë¤è¤Ã¤Æ¡¢¤¢¤Ê¤¿¤Î¥¢¥«¥¦¥ó¥È¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£¤¤¤Ä¤Ç¤â¼¤á¤¿¤¤¤È¤¤Ï¡¢ÊĤ¸¤ë¥Ü¥¿¥ó¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£
</UL>
<P>
<A NAME="modProfile"></A>¤â¤Á¤í¤óÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¡¢¼«Ê¬¤Î¾ðÊó¤òÊѹ¹<?php if (C_SHOW_DEL_PROF == "1") echo("/ºï½ü"); ?> ¤¹¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£<BR>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
if (C_VERSION == "2")
{
?>
<P>
<FONT SIZE="+1"><A NAME="create_room"><B>¥Á¥ã¥Ã¥È¥ë¡¼¥à(Éô²°)¤òºî¤ë¤¿¤á:</B></A></FONT>
<P>
ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¡¢¿·¤·¤¯¥Á¥ã¥Ã¥È¥ë¡¼¥à¤òºî¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£¥×¥é¥¤¥Ù¡¼¥È¥Á¥ã¥Ã¥È¤Ï¡¢¤½¤ÎÉô²°¤Î̾Á°¤òÃΤäƤ¤¤ë¥æ¡¼¥¶¡¼¤À¤±¤¬Æþ¤ë¤³¤È¤¬¤Ç¤¡¢¤½¤ÎÉô²°¤Î̾Á°¤Ï¸ø¶¦¤Î¾ì½ê¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£<BR>
<P>
Éô²°¤Î̾Á°¤Ë¤Ï¥³¥ó¥Þ¤ä¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å(\)¤Ï´Þ¤á¤Þ¤»¤ó¡£<?php if (C_NO_SWEAR == "1") echo("°¤¤¸ÀÍÕ¤â´Þ¤á¤Þ¤»¤ó¡£"); ?>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
};
if ($Ver == "H")
{
?>
<P>
<FONT SIZE="+1"><A NAME="connection_state"><B>Àܳ¾õ¶·¤È¤Ï¡©:</B></A></FONT>
<P>
µ®Êý¤ÎÀܳ¾õ¶·¤ò¼¨¤¹¥µ¥¤¥ó¤Ï¡¢¥Á¥ã¥Ã¥È¤Î±¦¾å¤Ë¤¢¤ê¤Þ¤¹¡£¥µ¥¤¥ó¤Ë¤Ï¡¢£³¤Ä¤Î¼ïÎब¤¢¤ê¤Þ¤¹¡£
<P>
<UL>
<LI><IMG SRC="images/connectOff.gif" WIDTH=13 HEIGHT=13 BORDER=0 ALT="¤Ê¤·"> Àܳ¾õ¶·¤Ê¤· ;
<LI><IMG SRC="images/connectOn.gif" WIDTH=13 HEIGHT=13 BORDER=0 ALT="ÀÜÂ³Ãæ"> Àܳ¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹ ;
<LI><IMG SRC="images/connectError.gif" WIDTH=13 HEIGHT=13 BORDER=0 ALT="Àܳ¼ºÇÔ"> Àܳ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿
</UL>
<P>
Àܳ¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¡¢À֤Υé¥ó¥×¤ò¥¯¥ê¥Ã¥×¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¤â¤¦°ìÅÙÀܳ¤ò»î¤ß¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
};
?>
<P>
<FONT SIZE="+1"><A NAME="sending"><B>¥á¥Ã¥»¡¼¥¸¤ÎÁ÷¿®:</B></A></FONT>
<P>
¥Á¥ã¥Ã¥È¤Ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ë¤Ë¤Ï¡¢º¸²¼¤Ë¤¢¤ë²£Ä¹¤Î¥Ü¥Ã¥¯¥¹¤Ë¥á¥Ã¥»¡¼¥¸¤òÆþÎϤ·¤Æ¡¢¥¨¥ó¥¿¡¼¥¡¼(²þ¹Ô)¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£¥á¥Ã¥»¡¼¥¸¤Ï¡¢¤½¤Î¾å¤Ë¤¢¤ë¥Á¥ã¥Ã¥È¥Ü¥Ã¥¯¥¹¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£<BR>
<?php if (C_NO_SWEAR == "1") echo("°¤¤¸ÀÍÕ¤¬Æþ¤Ã¤Æ¤¤¤¿¾ì¹ç¤¬¡¢Ìµ»ë¤µ¤ì¤Þ¤¹¡£"); ?>
<P>
¤Þ¤¿¡¢¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤è¤ê¿§¤òÁªÂò¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢Ê¸»ú¤Î¿§¤òÊѹ¹¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="users_list"><B>¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤òÃΤë:</B></A></FONT>
<P>
<OL>
¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¡¢£²¤Ä¤Î¥ë¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£:<BR>
<-- To update
<LI>¥æ¡¼¥¶¡¼¤ÎÁ°¤Ë¤¢¤ë¾®¤µ¤Ê¥¢¥¤¥³¥ó (<IMG SRC="images/whoisOff.gif" WIDTH=5 HEIGHT=9 BORDER=0 ALT="¥×¥í¥Õ¥£¡¼¥ë¥¢¥¤¥³¥ó">)¤Ï¡¢¤½¤Î¥æ¡¼¥¶¡¼¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤È¤¤¤¦»ö¤òɽ¤·¡¢¤½¤Î¥¢¥¤¥³¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢<A HREF="#whois">¥×¥í¥Õ¥£¡¼¥ë¥¦¥£¥ó¥É¥¦</A> ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¡¼¤ÎÁ°¤Ë¤Ï¥Þ¥¤¥Ê¥¹¥µ¥¤¥ó¤·¤«ÉÕ¤¤Þ¤»¤ó¡£;<BR>
-->
<LI>a little icon that shows gender is displayed before the nick of a registered user (clicking on it will launch the <a href="#whois">whois popup</a> for this user), while unregistered users have nothing but blank spaces displayed before their nick;<BR>
<LI>¥â¥Ç¥ì¡¼¥¿¡¼¤È´ÉÍý¿Í¤Î̾Á°¤Ï¡¢¼ÐÂΤȤʤê¤Þ¤¹¡£
</OL>
<P><I>Î㤨¤Ð¡¢</I>²¼¤Î²èÁü¤ò¸«¤Æ·ëÏÀ¤ò½Ð¤·¤Æ¤ß¤ë¤È¡¦¡¦¡¦
<TABLE BORDER=0 CELLSPACING=10>
<TR>
<TD>
<IMG SRC="images/tutorials/usersList.gif" WIDTH=99 HEIGHT=131 BORDER=0 ALT="¥æ¡¼¥¶¡¼¥ê¥¹¥È">
</TD>
<TD>
<UL>
<LI>Nicolas ¤Ï¡¢´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¤Ç¤¢¤ë;<BR>
<!-- To update
<LI>lolo ¤È Jezek2 ¤ÏÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ç¤¢¤ë;<BR>
<LI>Mary ¤ÏÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¥²¥¹¥È¤Ç¤¢¤ë¡£
-->
<LI>alien (whose gender is unknown), Jezek2 and Caridad are registered users with no extra "power" for the phpMyChat room;<BR><BR>
<LI>lolo is a simple unregistered user.
</UL>
</TD>
</TR>
</TABLE>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="exit"><B>¥Á¥ã¥Ã¥È¥ë¡¼¥à¤ò½Ð¤ë/µî¤ë:</B></A></FONT>
<P>
¥Á¥ã¥Ã¥È¥ë¡¼¥à¤ò½Ð¤ë¤Ë¤Ï¡¢Âà½Ð¤¹¤ë¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£¤â¤·¤¯¤Ï¡¢²¼¤Î¤¦¤Á¤Î¤É¤ì¤«£±¤Ä¤Î¥³¥Þ¥ó¥É¤òÂǤÁ¤Þ¤¹¡£:<BR>
/exit<BR>
/bye<BR>
/quit
¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¡¢ºÇ¸å¤Ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¤Ã¤Æ¥Á¥ã¥Ã¥È¤ò½Ð¤¿¤¤¤È¤¤Ë»ÈÍѤ·¤Þ¤¹¡£
<I>Î㤨¤Ð :</I> /quit CU soon!
<P>
¤È¤¤¤¦¤Î¤Ï¡¢"CU soon!" ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤òÁ÷¤Ã¤Æ¡¢¤½¤Î¸å¤Ë¼«Æ°¤Ç¥Á¥ã¥Ã¥È¤òÂà½Ð¤·¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="users_popup"><B>郎¥í¥°¥¤¥ó¤ò¤»¤º¤Ë¥Á¥ã¥Ã¥È¤·¤Æ¤¤¤ë¤Î¤«ÃΤë:</B></A></FONT>
<P>
¥Á¥ã¥Ã¥È¤Î¥È¥Ã¥×¥Ú¡¼¥¸¤Ë¤¢¤ë¥ê¥ó¥¯¤ò»ÈÍѤ·¤Æ¤É¤ì¤¯¤é¤¤¤Î¿Í¿ô¤¬¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ë¤Î¤«¡¢¤Þ¤¿¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ëºÇÃæ¤Ë¤Ï¡¢±¦¾å¤Ë¤¢¤ë²èÁü <IMG SRC="images/popup.gif" WIDTH=13 HEIGHT=13 BORDER=0 ALT="Users popup"> ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë»ö¤Ë¤è¤ê¡¢¿·¤·¤¤¥¦¥£¥ó¥É¥¦¤¬É½¼¨¤µ¤ì¡¢²¿¿Í¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ë¤Î¤«¡¢¥ê¥¢¥ë¥¿¥¤¥à¤Ë¤ï¤«¤ê¤Þ¤¹¡£<BR>
¥¦¥£¥ó¥É¥¦¤Î̾Á°¤Ï¥æ¡¼¥¶¡¼Ì¾¤ò´Þ¤ß¡¢£³¤Ä¤è¤ê¤â¾¯¤Ê¤¤¾ì¹ç¤Ï¡¢Éô²°¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£
<P>
¥Ó¡¼¥×¥¢¥¤¥³¥ó<IMG SRC="images/sound.gif" WIDTH=13 HEIGHT=13 BORDER=0 ALT="¥Ó¡¼¥×">¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¿·¤·¤¤¥æ¡¼¥¶¡¼¤¬Æþ¤Ã¤Æ¤¤¿¤È¤¤Î¥Ó¡¼¥×²»¤ò¾Ã¤·¤¿¤êÉÕ¤±¤¿¤ê¤Ç¤¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<HR>
<P>
<FONT SIZE="+1"><A NAME="customize"><B>¥Á¥ã¥Ã¥È¤Îɽ¼¨¤ò¥«¥¹¥¿¥Þ¥¤¥º¤¹¤ë:</B></A></FONT>
<P>
¥Á¥ã¥Ã¥È¤Î¸«Êý(ɽ¼¨)¤òÊѤ¨¤ëÊýË¡¤Ï¡¢¤¿¤¯¤µ¤ó¤¢¤ê¤Þ¤¹¡£ÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢ÀµÅö¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<UL>
<?php
if ($Ver == "H")
{
?>
<LI><B>¥¯¥ê¥¢ ¥³¥Þ¥ó¥É</B> ¤ò»ÈÍѤ¹¤ë¤È¡¢ºÇ¸å¤ËÂǤ¿¤ì¤¿£µ¤Ä¤Î¥á¥Ã¥»¡¼¥¸¤ò»Ä¤·¤Æ¤½¤Î¾¤Î¥á¥Ã¥»¡¼¥¸¤ò¾Ãµî¤·¤Þ¤¹¡£<BR>"/clear"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó)
<P>
<?php
}
else
{
?>
<LI><B>¥ª¡¼¥À¡¼ ¥³¥Þ¥ó¥É</B>¤Ï¡¢¿·¤·¤¤¥á¥Ã¥»¡¼¥¸¤ò¾å¤Ëɽ¼¨¤¹¤ë¤«²¼¤Ëɽ¼¨¤¹¤ë¤«¤òÊѹ¹¤·¤Þ¤¹¡£<BR>"/order"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó)
<P>
<?php
};
?>
<LI><B>¤ªÃΤ餻 ¥³¥Þ¥ó¥É</B>¤Ï¡¢¿·¤·¤¤¥æ¡¼¥¶¡¼¤¬Æþ¤Ã¤Æ¤¤¿¡¢¤Þ¤¿¤Ï½Ð¤Æ¤¤¤Ã¤¿»þ¤Ë¤½¤Î¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¤«¤òÀßÄê¤Ç¤¤Þ¤¹¡£½é´üÀßÄê¤Ç¤Ï¡¢<?php echo(C_NOTIFY ? "ɽ¼¨¤¹¤ë" : "ɽ¼¨¤·¤Ê¤¤"); ?>¤ÈÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£<BR>"/notify"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó)
<P>
<LI><B>¥¿¥¤¥à ¥³¥Þ¥ó¥É</B>¤Ï¡¢¥¹¥Æ¡¼¥¿¥¹¥Ð¡¼¤Ë¤¢¤ë»þ´Ö¤ä¥Á¥ã¥Ã¥ÈÆâ¤Ë¤¢¤ë»þ´Ö¤òɽ¼¨¤¹¤ë¤«¤·¤Ê¤¤¤«¤òÀßÄꤷ¤Þ¤¹¡£½é´üÀßÄê¤Ç¤Ï¡¢<?php echo(C_SHOW_TIMESTAMP ? "ɽ¼¨¤¹¤ë" : "ɽ¼¨¤·¤Ê¤¤"); ?>¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£<BR>"/timestamp"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó)
<P>
<LI><B>¥ê¥Õ¥ì¥Ã¥·¥å ¥³¥Þ¥ó¥É</B> ¤Ï¡¢¥Á¥ã¥Ã¥È¤Î¹¹¿·»þ´Ö¤òÀßÄê¤Ç¤¤Þ¤¹¡£¸½ºß¤ÎÀßÄê¤Ç¤Ï¡¢<?php echo(C_MSG_REFRESH); ?> ÉäÈÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£Êѹ¹¤¹¤ë¤¿¤á¤Ë¤Ï¡¢"/refresh n" ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) ¤Þ¤¿¡¢n ¤Ë¤Ï»þ´Ö(ÉÃ)¤¬Æþ¤ê¤Þ¤¹¡£
<P>
<I>Î㤨¤Ð:</I> /refresh 5
<P>
¤À¤È£µÉäǹ¹¿·¤µ¤ì¤Þ¤¹¡££³ÉÃ°ÊÆâ¤ËÀßÄꤷ¤Æ¤·¤Þ¤¦¤È¡¢¹¹¿·¤ò¤·¤Ê¤¤ÀßÄê¤ËÊѤï¤ë»ö¤ËÃí°Õ¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£
<P>
<?php
if ($Ver == "L")
{
?>
<LI>The <B>ɽ¼¨ ¥³¥Þ¥ó¥É</B>¤Ï¡¢µ®Êý¤Î¥¹¥¯¥ê¡¼¥ó¤ÎÃæ¤Ç¸«¤é¤ì¤ë¥á¥Ã¥»¡¼¥¸¤Î¹Ô¿ô¤ÎÀßÄê¤òÊѹ¹¤·¤Þ¤¹¡£Êѹ¹¤¹¤ë¤Ë¤Ï¡¢"/show n" ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó)
<P>
<I>Î㤨¤Ð:</I> /show 50
<P>
¤ÈÀßÄꤹ¤ë¤È¡¢£µ£°·ï¤Þ¤Ç¤¢¤Ê¤¿¤Î¥Á¥ã¥Ã¥È¥¹¥¯¥ê¡¼¥ó¤Ç¸«¤é¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÅÙ¤ËÁ´¤ÆÉ½¼¨¤Ç¤¤Ê¤¤¾ì¹ç¤Ï¡¢¥¹¥¯¥í¡¼¥ë¥Ð¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£</UL>
<?php
}
else
{
?>
<LI><B>ɽ¼¨ ¤È ¥é¥¹¥È ¥³¥Þ¥ó¥É</B>¤Ï¡¢¥Á¥ã¥Ã¥È¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤ë¸Å¤¤¥á¥Ã¥»¡¼¥¸¤òºï½ü¤·¤Æ¡¢ºÇ¸å¤ËÆþÎϤµ¤ì¤¿<I>n</I>¸Ä¤À¤±¤òɽ¼¨¤¹¤ë»ö¤¬²Äǽ¤Ç¤¹¡£"/show n" ¤ä "/last n" ¤È¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤¡£¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó("")¤Ï̵¤·¤Ç¤¹¡£¤Þ¤¿¡¢n ¤Ï¡¢É¬¤º¿ô»ú¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
<P>
<I>Î㤨¤Ð:</I> /show 50 ¤« /last 50
<P>
¤Ï¡¢ºÇ¸å¤ËÂǤ¿¤ì¤¿£µ£°¸Ä¤Î¥á¥Ã¥»¡¼¥¸¤ò»Ä¤·¤Æ¡¢É½¼¨¤·¤Þ¤¹¡£Á´¤Æ¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢¥¹¥¯¥í¡¼¥ë¥Ð¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£</UL>
<?php
};
?>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
</UL>
<HR>
<HR>
<P>
<FONT SIZE="+2"><A NAME="commands"><B><U>ÆÃħ¤È¥³¥Þ¥ó¥É</U></B></A></FONT>
<P>
<FONT SIZE="+1"><A NAME="help"><B>¥Ø¥ë¥×¥³¥Þ¥ó¥É:</B></A></FONT>
<P>
¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤Î²£¤Ë¤¢¤ë²èÁü<IMG SRC="images/helpOff.gif" WIDTH=15 HEIGHT=15 BORDER=0 ALT="?"> ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë»ö¤Ë¤è¤ê¡¢¥Ø¥ë¥×¥¦¥£¥ó¥É¥¦¤ò½Ð¤»¤Þ¤¹¡£¤Þ¤¿¡¢<B>"/help" ¤« "/?" </B>¤ÈÂǤĤ³¤È¤Ç¤â¡¢Æ±¤¸·ë²Ì¤¬ÆÀ¤é¤ì¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<P>
<HR>
<?php
if (C_USE_SMILIES == "1")
{
include("./lib/smilies.lib.php3");
$Nb = count($SmiliesTbl);
$ResultTbl = Array();
DisplaySmilies($ResultTbl,$SmiliesTbl,$Nb,"tutorial");
unset($SmiliesTbl);
?>
<FONT SIZE="+1"><A NAME="smilies"><B>´é²èÁü:</B></A></FONT>
<P>¤¢¤ë·è¤á¤é¤ì¤¿Ê¸»ú¤òÂǤĤ³¤È¤Ë¤è¤Ã¤Æ¡¢²¼¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤ë´é¤Î²èÁü¤ò½Ð¤¹¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
<P ALIGN="center">
<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=5>
<?php
$i = "0";
$Nb = count($ResultTbl);
while($i < $Nb)
{
if ($i > 0) echo("\t");
echo("<TR VALIGN=\"BOTTOM\">\n");
echo("$ResultTbl[$i]");
echo("\t</TR>\n\t<TR>\n");
$i++;
echo("$ResultTbl[$i]");
echo("\t</TR>\n");
$i++;
};
unset($ResultTbl);
?>
</TABLE>
<P>
<I>Î㤨¤Ð</I>¡¢"Jack ¤µ¤ó¡¢¤è¤í¤·¤¯¡ª :)" ¤ÈÂǤĤȡ¢<br>Jack ¤µ¤ó¡¢¤è¤í¤·¤¯¡ª <IMG SRC="images/smilies/smile1.gif" WIDTH=15 HEIGHT=15 ALT=":)"><br>¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
};
if (C_HTML_TAGS_KEEP != "none")
{
?>
<FONT SIZE="+1"><A NAME="text"><B>¥Æ¥¥¹¥È¥Õ¥©¡¼¥Þ¥Ã¥È:</B></A></FONT>
<P>
<B> </B>, <I> </I> ¤ä <U> </U> ¤ò»È¤¦¤³¤È¤Ë¤è¤ê¡¢Ê¸»ú¤òÂÀ»ú¤Ë¤·¤¿¤ê¥¤¥¿¥ê¥Ã¥¯¤Ë¤·¤¿¤ê¥¢¥ó¥À¡¼¥é¥¤¥ó¤òÉÕ¤±¤¿¤ê½ÐÍè¤Þ¤¹¡£
<P>
<I>Î㤨¤Ð</I>¡¢<B>¥Æ¥¹¥È</B> ¤ÈÂǤĤȡ¢ <B>¥Æ¥¹¥È</B>¤È¤Ê¤ê¤Þ¤¹¡£
<P>
¥Û¡¼¥à¥Ú¡¼¥¸¤Î¥¢¥É¥ì¥¹¤Ê¤É¤Ë¥ê¥ó¥¯¤òÉÕ¤±¤¿¤¤¾ì¹ç¤Ï¡¢¤½¤Î¤Þ¤Þ¥¢¥É¥ì¥¹¤òÂǤĤȡ¢¼«Æ°¤Ç¥ê¥ó¥¯¤¬ÉÕ¤¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<P>
<HR>
<?php
};
?>
<P>
<FONT SIZE="+1"><A NAME="invite"><B>¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤Î¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë¾·ÂÔ¤¹¤ë:</B></A></FONT>
<P>
<B>¾·ÂÔ¥³¥Þ¥ó¥É</B>¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤¬¸½ºß¤¤¤ë¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë¾·ÂÔ¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
<P>
<I>Î㤨¤Ð:</I> /invite Jack
<P>
¤ÈÆþÎϤ¹¤ë¤È¡¢Jack ¤Ë¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤¬Á÷¤é¤ì¡¢¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Î¾·ÂÔ¤ò¤·¤Þ¤¹¡£
<P>
¾·ÂÔ¥³¥Þ¥ó¥É¤Ï¡¢£²¿Í°Ê¾å¤Î¥æ¡¼¥¶¡¼¤Ë¤âÁ÷¤ì¤Þ¤¹¡£ (Îã "/invite Jack,Helen,Alf") ̾Á°¤Ï¡¢¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¡¢¾°¤«¤Ä¡¢¥¹¥Ú¡¼¥¹¤ò´Þ¤ó¤Ç¤Ï¤¤¤±¤Þ¤»¤ó¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="changeroom"><B>Éô²°¤òÊѹ¹¤¹¤ë:</B></A></FONT>
<P>
±¦Â¦¤Ë¤¢¤ë¤Î¤ÏÉô²°¤Î¥ê¥¹¥È¤Ç¡¢¤½¤ÎÉô²°¤ËÆþ¤Ã¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤òɽ¼¨¤·¤Æ¤¤¤Þ¤¹¡£Éô²°¤ò°Üư¤·¤¿¤¤¾ì¹ç¤Ï¡¢°Üư¤·¤¿¤¤Éô²°¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢¸½ºß¤¤¤ëÉô²°¤ò¼«Æ°¤ÇÂ༼¤·¡¢µ®Êý¤¬Áª¤ó¤ÀÉô²°¤ËÆþ¤ì¤Þ¤¹¡£Ã¯¤â¤¤¤Ê¤¤Éô²°¤Ï¡¢¥ê¥¹¥È¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£ <B>"/join #roomname"</B>¤ÈÂǤĤ³¤È¤Ç¡¢Ã¯¤â¤¤¤Ê¤¤Éô²°¤ËÆþ¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£<P>
<I>Î㤨¤Ð:</I> /join #ÀÖ¤ÎÉô²°
<P>
¤ÈÂǤĤȡ¢ÀÖ¤ÎÉô²°¤Ë°Üư¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
<?php
if (C_VERSION == "2")
{
echo(C_REQUIRE_REGISTER == "0" ? "<P>µ®Êý¤¬ÅÐÏ¿¤µ¤ì¤¤¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¤Ê¤é¤Ð¡¢" : "<BR><P>µ®Êý¤Ï¡¢");
?>
¤³¤ÎƱ¤¸¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤Ë¤è¤ê¡¢¿·¤·¤¤Éô²°¤òºî¤ì¤Þ¤¹¡£¤¿¤À¡¢¤½¤Î¾ì¹ç¤Ï¡¢¤É¤Î¥¿¥¤¥×¤ÎÉô²°¤òºî¤ê¤¿¤¤¤Î¤«¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£: 0 ¤Ï¥×¥é¥¤¥Ù¡¼¥È¥Á¥ã¥Ã¥È, 1 ¤Ï¸ø¶¦¤Ê¥Á¥ã¥Ã¥È¤Ç¤¹¡£
<P>
<I>Î㤨¤Ð:</I> /join 0 #»ä¤ÎÉô²°
<P>
¤ÈÂǤĤȡ¢»ä¤ÎÉô²°¤È¤¤¤¦Éô²°¤ò¿·¤·¤¯¥×¥é¥¤¥Ù¡¼¥È¥Á¥ã¥Ã¥È¤È¤·¤ÆºîÀ®¤·¤Þ¤¹¡£¤¿¤À¡¢»ä¤ÎÉô²°¤È¤¤¤¦Ì¾Á°¤ÎÉô²°¤¬´û¤Ë¤¢¤Ã¤¿¾ì¹ç¤Ï¡¢ºî¤ë¤³¤È¤¬½ÐÍè¤Þ¤»¤ó¡£
<P>
Éô²°¤Î̾Á°¤Ë¤Ï¡¢¥³¥ó¥Þ¤ä¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å(\)¤ò´Þ¤á¤Þ¤»¤ó¡£<?php if (C_NO_SWEAR == "1") echo("¤Þ¤¿¡¢°¤¤¸ÀÍÕ¤â´Þ¤á¤Þ¤»¤ó¡£"); ?>
<?php
}
?>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><B>¥Á¥ã¥Ã¥È¤ÎºÇÃæ¤Ë¥×¥í¥Õ¥£¡¼¥ë¤òÊѹ¹¤¹¤ë:</B></FONT>
<P>
<B>¥×¥í¥Õ¥£¡¼¥ë¥³¥Þ¥ó¥É</B> ¤Ï¡¢µ®Êý¼«¿È¤Î¥×¥í¥Õ¥£¡¼¥ë¤òÊѹ¹¤¹¤ë¤³¤È¤Î½ÐÍè¤ë¥³¥Þ¥ó¥É¤Ç¤¹¡£¤¿¤À¡¢¥Ë¥Ã¥¯¥Í¡¼¥à(¥æ¡¼¥¶¡¼Ì¾)¤È¥Ñ¥¹¥ï¡¼¥É¤ÏÊѹ¹¤Ç¤¤Þ¤»¤ó¡£<BR> /profile ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><B>°ìÅÙÁ÷¿®¤·¤¿¥á¥Ã¥»¡¼¥¸¤ä¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤¹:</B></FONT>
<P>
<B>! ¥³¥Þ¥ó¥É</B>¤Ï¡¢µ®Êý¤¬Ä¾Á°¤ËÂǤä¿¥á¥Ã¥»¡¼¥¸¤ä¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£<BR> /! ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><B>¾¤Î¥æ¡¼¥¶¡¼¤ØÅú¤¨¤ë:</B></FONT>
<P>
¥Á¥ã¥Ã¥È¤ÎºÇÃæ¤Ë¥æ¡¼¥¶¡¼Ì¾(±¦Â¦¤Î¥ê¥¹¥È¤è¤ê)¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢"username>"¤È¡¢¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤ËÂǤ¿¤ì¤Þ¤¹¡£¤³¤Îµ¡Ç½¤òÍøÍѤ¹¤ë»ö¤Ç¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤Ë´Êñ¤Ë±þÅú¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="private"><B>¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸:</B></A></FONT>
<P>
µ®Êý¤Î¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë¤¤¤ë¥æ¡¼¥¶¡¼¤Ë¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ë¤Ë¤Ï¡¢<B>"/msg username messagetext" ¤« "/to username messagetext"</B>¤ÈÂǤäƤ¯¤À¤µ¤¤¡£
<P>
<I>Î㤨¤Ð¡¢Jack ¤Ë¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ê¤¿¤¤¤È¤¹¤ë¤È¡¢:</I> /msg Jack ½é¤á¤Þ¤·¤Æ¡Á¡£
<P>
¥á¥Ã¥»¡¼¥¸¤Ï¤¢¤Ê¤¿¤È Jack °Ê³°¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£
<P>
¤Þ¤¿¡¢º¸Â¦¤Î¥á¥Ã¥»¡¼¥¸¥Õ¥ì¡¼¥à¤Î¥æ¡¼¥¶¡¼Ì¾¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢´Êñ¤ËÁ÷¤ì¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="actions"><B>¹Ôư:</B></A></FONT>
<P>
¤¢¤Ê¤¿¤¬¸½ºß²¿¤ò¤·¤Æ¤¤¤ë¤Î¤«¤òɽ¤¹¤Ë¤Ï¡¢<B>"/me action"</B>¤ÈÂǤäƤ¯¤À¤µ¤¤¡£
<P>
<I>Î㤨¤Ð:</I> ¤â¤· Jack ¤¬¡¢"/me ¤Ï¤¢¤¯¤Ó¤ò¤·¤¿" ¤ÈÂǤĤȡ¢"<B>* Jack</B>" ¤Ï¤¢¤¯¤Ó¤ò¤·¤¿" ¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="ignore"><B>¥æ¡¼¥¶¡¼¤ò̵»ë¤¹¤ë:</B></A></FONT>
<P>
¤¢¤ë°ìÄê¤Î¥æ¡¼¥¶¡¼¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤ò̵»ë¤¹¤ë¾ì¹ç¤Ï¡¢<B>"/ignore username"</B>¤È¥¹¥Ú¡¼¥¹Ìµ¤·¤ÇÂǤäƤ¯¤À¤µ¤¤¡£
<P>
<I>Î㤨¤Ð:</I> /ignore Jack
<P>
¤³¤Î¥³¥Þ¥ó¥É¤òÂǤ俽ִ֤«¤é¡¢Jack ¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤Ï°ìÀÚ̵»ë¤µ¤ì¤Þ¤¹¡£
<P>
̵»ë¤·¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤ò¸«¤¿¤¤¾ì¹ç¤Ï¡¢<B>"/ignore"</B>¤È¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó("")̵¤·¤ÇÂǤäƤ¯¤À¤µ¤¤¡£
<P>
¥æ¡¼¥¶¡¼¤Î̵»ëµ¡Ç½¤ò²ò½ü¤·¤¿¤¤¤È¤¤Ï¡¢<B>/ignore - username</B> ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£<P>
<P>
<I>Î㤨¤Ð:</I> /ignore - Jack
<P>
¤³¤¦ÂǤĤȡ¢Jack ¤¬¤³¤ì¤Þ¤Ç¤ËÂǤäƤ¤¤¿¥á¥Ã¥»¡¼¥¸¤È¤³¤ì¤«¤éÂǤĥá¥Ã¥»¡¼¥¸¤¬¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
¥æ¡¼¥¶¡¼Ì¾¤òÂǤ¿¤Ê¤¤¤È¡¢Ìµ»ë¥ê¥¹¥È¤«¤éÁ´¤Æ¤Î¥æ¡¼¥¶¡¼¤¬ºï½ü¤µ¤ì¤Þ¤¹¡£
<P>
£²¿Í°Ê¾å¤Î̾Á°¤ò̵»ë¥³¥Þ¥ó¥É¤ËÂǤĤ³¤È¤Ï²Äǽ¤Ç¤¹¡£(Îã "/ignore Jack,Helen,Alf" ¤ä "/ignore - Jack,Alf") ̾Á°¤Ï¡¢¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¡¢¾°¤«¤Ä¡¢¥¹¥Ú¡¼¥¹¤ò´Þ¤ó¤Ç¤Ï¤¤¤±¤Þ¤»¤ó¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="whois"><B>¾¤Î¥æ¡¼¥¶¡¼¤Î¾ðÊó¤òÆÀ¤ë:</B></A></FONT>
<P>
¾¤Î¥æ¡¼¥¶¡¼¤Î¾ðÊó(¸ø³«¤µ¤ì¤¿Êª)¤ò¸«¤ë¤¿¤á¤Ë¤Ï¡¢<B>"/whois username"</B> ¤È¥¹¥Ú¡¼¥¹Ìµ¤·¤ÇÂǤäƤ¯¤À¤µ¤¤¡£
<P>
<I>Î㤨¤Ð:</I> /whois Jack
<P>
Jack ¤È¤¤¤¦¤Î¤Ï¡¢µ®Êý¤¬ÃΤꤿ¤¤¥æ¡¼¥¶¡¼¤Î̾Á°¤Ç¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¿·¤¿¤Ë¥¦¥£¥ó¥É¥¦¤¬ºî¤é¤ì¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
if (C_SAVE != "0")
{
?>
<P>
<FONT SIZE="+1"><A NAME="save"><B>¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë:</B></A></FONT>
<P>
¼«Ê¬¤Î¥³¥ó¥Ô¥å¡¼¥¿¡¼¤Ë¥Á¥ã¥Ã¥È¤Î¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë¤Ë¤Ï¡¢¥¹¥Ú¡¼¥¹Ìµ¤·¤Ç <B>command "/save n"</B>¤ÈÂǤäƤ¯¤À¤µ¤¤¡£
<P>
<I>Î㤨¤Ð:</I> /save 5
<P>
£µ¤È¤¤¤¦¤Î¤Ï¡¢¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë¿ô¤òɽ¤·¤Þ¤¹¡£n ¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢Á´¤Æ¤Î¥Ç¡¼¥¿¤òÊݸ¤·¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
};
?>
<HR>
<P>
<FONT SIZE="+2"><A NAME="moderator"><B><U>´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼ÀìÍѤΥ³¥Þ¥ó¥É</U></B></A></FONT>
<P>
<FONT SIZE="+1"><A NAME="announce"><B>¥¢¥Ê¥¦¥ó¥¹¥á¥ó¥È¤òÁ÷¤ë:</B></A></FONT>
<P>
´ÉÍý¼Ô¤Ï¡¢Á´¤Æ¤ÎÉô²°¤Ë¥¢¥Ê¥¦¥ó¥¹¤òÁ÷¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£²¿¤«¤ò¥æ¡¼¥¶¡¼¤Ë¹ðÃΤ·¤¿¤¤¤È¤¤Ë¤Ï¡¢¤È¤Æ¤âÌò¤ËΩ¤Á¤Þ¤¹¡£<B>¥¢¥Ê¥¦¥ó¥¹¥³¥Þ¥ó¥É</B>¤ò»È¤¤¤Þ¤¹¡£
<P>
<I>Î㤨¤Ð: /announce º£Æü¤ÎÌ룸»þ¤«¤é£±»þ´Ö¤Û¤É¥á¥¤¥ó¥Æ¥Ê¥ó¥¹¤ò¤·¤Þ¤¹¡£</I>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<P>
<FONT SIZE="+1"><A NAME="kick"><B>¥æ¡¼¥¶¡¼¤òÄɤ¤½Ð¤¹:</B></FONT>
<P>
´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼¤Ï¡¢<B>Äɤ¤½Ð¤·¥³¥Þ¥ó¥É</B>¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢¥æ¡¼¥¶¡¼¤ò¤½¤Î¥Á¥ã¥Ã¥È¤«¤éÄɤ¤½Ð¤¹¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤Î¾ì¹ç¡¢¥æ¡¼¥¶¡¼¤Ï´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¡¼¤¬¤¤¤ë¥Á¥ã¥Ã¥È¤Ë¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
<P>
<I>Î㤨¤Ð</I>¡¢Jack ¤òÄɤ¤½Ð¤·¤¿¤¤¾ì¹ç¤Ï:</I> /kick Jack</I>
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
if (C_BANISH != "0")
{
?>
<P>
<FONT SIZE="+1"><A NAME="banish"><B>¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë:</B></A></FONT>
<P>
´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼¤Ï¡¢¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£ÄÉÊü¤¹¤ë¤Ë¤Ï¡¢<B>ÄÉÊü¥³¥Þ¥ó¥É</B>¤ò»ÈÍѤ·¤Þ¤¹¡£´ÉÍý¼Ô¤Ï´ÉÍý¥Ú¡¼¥¸¤«¤é¤Ç¤â½ÐÍè¤Þ¤¹¡£<BR>
´ÉÍý¼Ô¤Ï¡¢´ÉÍý¼Ô¼«¿È¤¬ÄÉÊü¤·¤¿¤¤¥æ¡¼¥¶¡¼¤ÎÉô²°¤Ë¤¤¤Ê¤¯¤Æ¤âÄÉÊü¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£´ÉÍý¼Ô¤Ï¡¢¤½¤Î¥æ¡¼¥¶¡¼¤ò±Ê±ó¤ËÄÉÊü¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¤·¡¢'<B> * </B>'¤ò»È¤¦¤³¤È¤Ç¡¢Á´¤Æ¤ÎÉô²°¤«¤é¤âÄÉÊü½ÐÍè¤Þ¤¹¡£
<P>
<I>Î㤨¤Ð</I>¡¢Jack ¤¬ÄÉÊü¤·¤¿¤¤¥æ¡¼¥¶¡¼Ì¾¤À¤Ã¤¿¤È¤¹¤ë¤È¡¦¡¦¡¦ : <I>/ban Jack</I> ¤« <I>/ban * Jack</I>¤È¤Ê¤ê¤Þ¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
<HR>
<?php
};
?>
<P>
<FONT SIZE="+1"><A NAME="promote"><B>¥æ¡¼¥¶¡¼¤ò¥â¥Ç¥ì¡¼¥¿¡¼¤ËǤ̿¤¹¤ë:</B></A></FONT>
<P>
´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼¤Ï¡¢ <B>Ǥ̿¥³¥Þ¥ó¥É</B>¤ò»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤ò¥â¥Ç¥ì¡¼¥¿¡¼¤ËǤ̿¤¹¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£
<P>
<I>Î㤨¤Ð</I>¡¢Ç¤Ì¿¤·¤¿¤¤¥æ¡¼¥¶¡¼¤ò Jack ¤À¤È¤¹¤ë¤È:<I> /promote Jack</I>
<P>
´ÉÍý¼Ô¤À¤±¤¬¥â¥Ç¥ì¡¼¥¿¡¼¤òÉáÄ̤Υ桼¥¶¡¼¤ËÌ᤹µ¡Ç½¤ò»È¤¨¤Þ¤¹¡£¤³¤Îµ¡Ç½¤Ë¤Ï¥³¥Þ¥ó¥É¤Ï¤Ê¤¯¡¢´ÉÍý¥Ú¡¼¥¸¤Î¤ß¤Ç¼Â¹Ô²Äǽ¤Ç¤¹¡£
<BR><P ALIGN="right"><A HREF="#top">¥È¥Ã¥×¤ËÌá¤ë</A></P>
<P>
</BODY>
</HTML>
--- NEW FILE ---
<?php
// File : japanese.admin.php3
// Translation by Yosuke Hamamoto <yo...@ke...>
// extra header for charset
$Charset = "x-euc-jp";
// medium font size in pt.
$FontSize = 10;
// Top frame
define("A_MENU_0", "%s ¤Î´ÉÍý¥â¡¼¥É");
define("A_MENU_1", "ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼");
define("A_MENU_2", "ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼");
define("A_MENU_3", "Éô²°¤ò½é´ü²½¤¹¤ë");
define("A_MENU_4", "¥á¡¼¥ë¤òÁ÷¤ë");
// Frame for registered users
define("A_SHEET1_1", "ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤È¸¢¸Â¤òɽ¼¨¤¹¤ë");
define("A_SHEET1_2", "¥æ¡¼¥¶¡¼Ì¾");
define("A_SHEET1_3", "¸¢¸Â");
define("A_SHEET1_4", "¥â¥Ç¥ì¡¼¥¿¡¼¤Ç¤¢¤ëÉô²°");
define("A_SHEET1_5", "¥â¥Ç¥ì¡¼¥¿¡¼¤Ç¤¢¤ëÉô²°¤Ï¥¹¥Ú¡¼¥¹Ìµ¤·¤Î¥³¥ó¥Þ(,)¤Çʬ¤±¤é¤ì¤Æ¤¤¤Þ¤¹");
define("A_SHEET1_6", "¥Á¥§¥Ã¥¯¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤òºï½ü¤¹¤ë");
define("A_SHEET1_7", "Êѹ¹");
define("A_SHEET1_8", "µ®Êý°Ê³°¤ËÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¤¤¤Þ¤»¤ó");
define("A_SHEET1_9", "¥Á¥§¥Ã¥¯¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë");
define("A_SHEET1_10", "·èÄê¤òÊѹ¹¤¹¤ë¾ì¹ç¤Ï¡¢ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Î¥Ú¡¼¥¸¤ò¸«¤Æ¤¯¤À¤µ¤¤");
define("A_SHEET1_11", "ºÇ¸å¤ÎÀܳ»þ´Ö");
define("A_USER", "¥æ¡¼¥¶¡¼");
define("A_MODER", "¥â¥Ç¥ì¡¼¥¿¡¼");
define("A_PAGE_CNT", "%s ¥Ú¡¼¥¸ÌÜ (Á´ %s ¥Ú¡¼¥¸)");
// Frame for banished users
define("A_SHEET2_1", "ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤È¿´ÇÛ¤ÊÉô²°¤Î¥ê¥¹¥È");
define("A_SHEET2_2", "IP¥¢¥É¥ì¥¹");
define("A_SHEET2_3", "¿´ÇÛ¤ÊÉô²°");
define("A_SHEET2_4", "¤Þ¤Ç");
define("A_SHEET2_5", "±Ê±ó");
define("A_SHEET2_6", "Éô²°¤Ï¥¹¥Ú¡¼¥¹¤Ê¤·¤Ç¥³¥ó¥Þ(,)¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤Þ¤¹¡££´¤Ä°Ê¾å¤¢¤ë¾ì¹ç¤Ï¡¢¾Êά¤µ¤ì¤Þ¤¹¡£");
define("A_SHEET2_7", "¥Á¥§¥Ã¥¯¤ÎÉÕ¤¤¤¿¥æ¡¼¥¶¡¼¤ÎÄÉÊü¤ò²ò½ü¤¹¤ë");
define("A_SHEET2_8", "ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¤¤¤Þ¤»¤ó");
// Frame for cleaning rooms
define("A_SHEET3_1", "¸½ºß¤¢¤ëÉô²°¤Î¥ê¥¹¥È");
define("A_SHEET3_2", "Éô²°¤ò½é´ü²½¤¹¤ë¤È¤½¤ÎÉô²°¤ÎÁ´¤Æ¤Î¥â¥Ç¥ì¡¼¥¿¡¼¤Ïºï½ü¤µ¤ì¤Þ¤¹");
define("A_SHEET3_3", "ÁªÂò¤µ¤ì¤¿Éô²°¤ò½é´ü²½¤¹¤ë");
define("A_SHEET3_4", "½é´ü²½¤¹¤ëÉô²°¤Ï¤¢¤ê¤Þ¤»¤ó");
// Frame for sending mails
define("A_SHEET4_0", "'chat/admin/mail4admin.php3'¤ÎÃæ¤Ë¤¢¤ëÀßÄ꤬½ª¤ï¤Ã¤Æ¤¤¤Þ¤»¤ó¡ª");
define("A_SHEET4_1", "¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë");
define("A_SHEET4_2", "°¸Àè:");
define("A_SHEET4_3", "Á´¤ÆÁªÂò");
define("A_SHEET4_4", "·ï̾:");
define("A_SHEET4_5", "¥á¥Ã¥»¡¼¥¸:");
define("A_SHEET4_6", "Á÷¿®¤ò»Ï¤á¤ë");
define("A_SHEET4_7", "Á´¤Æ¤Î¥á¡¼¥ë¤ÏÁ÷¿®¤µ¤ì¤Þ¤·¤¿");
define("A_SHEET4_8", "¥á¡¼¥ë¤òÁ÷¿®¤·¤Æ¤¤¤ëºÇÃæ¤Ë¡¢Internal error¤¬È¯À¸¤·¤Þ¤·¤¿");
define("A_SHEET4_9", "¥¢¥É¥ì¥¹¡¢·ï̾¡¢¤Þ¤¿¤Ï¥á¥Ã¥»¡¼¥¸¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Þ¤»¤ó");
?>
Index: localized.chat.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/localization/japanese/localized.chat.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** localized.chat.php3 2001/04/11 21:05:30 1.3
--- localized.chat.php3 2001/04/15 18:57:21 1.4
***************
*** 44,48 ****
// registration stuff:
define("L_REG_1", "¥Ñ¥¹¥ï¡¼¥É");
! define("L_REG_1r", "(ÅÐÏ¿¤òºÑ¤Þ¤»¤¿¿Í¤À¤±¤Ç¤¹)");
define("L_REG_2", "¥¢¥«¥¦¥ó¥ÈÊÔ½¸");
define("L_REG_3", "ÅÐÏ¿¤¹¤ë");
--- 44,48 ----
// registration stuff:
define("L_REG_1", "¥Ñ¥¹¥ï¡¼¥É");
! define("L_REG_1r", "(ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¿Í¤ÏÉÔÍ×)");
define("L_REG_2", "¥¢¥«¥¦¥ó¥ÈÊÔ½¸");
define("L_REG_3", "ÅÐÏ¿¤¹¤ë");
***************
*** 61,65 ****
define("L_REG_16", "Êѹ¹");
define("L_REG_17", "¥æ¡¼¥¶¡¼¾ðÊó¤ÎÊѹ¹¤¬¹¹¿·¤µ¤ì¤Þ¤·¤¿");
! define("L_REG_18", "¤¢¤Ê¤¿¤Ï¡¢¥â¥Ç¥ì¡¼¥¿¤«¤éÄɤ¤½Ð¤µ¤ì¤Þ¤·¤¿");
define("L_REG_19", "ËÜÅö¤Ëºï½ü¤·¤Æ¤â¤¤¤¤¤Ç¤¹¤«¡©");
define("L_REG_20", "¤Ï¤¤");
--- 61,65 ----
define("L_REG_16", "Êѹ¹");
define("L_REG_17", "¥æ¡¼¥¶¡¼¾ðÊó¤ÎÊѹ¹¤¬¹¹¿·¤µ¤ì¤Þ¤·¤¿");
! define("L_REG_18", "¤¢¤Ê¤¿¤Ï¡¢¥â¥Ç¥ì¡¼¥¿¡¼¤«¤éÄɤ¤½Ð¤µ¤ì¤Þ¤·¤¿");
define("L_REG_19", "ËÜÅö¤Ëºï½ü¤·¤Æ¤â¤¤¤¤¤Ç¤¹¤«¡©");
define("L_REG_20", "¤Ï¤¤");
***************
*** 87,91 ****
// admin stuff
! define("L_ADM_1", "%s ¤Ï¡¢¤â¤¦¥â¥Ç¥ì¡¼¥¿¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó");
define("L_ADM_2", "µ®Êý¤Ï¡¢¤â¤¦¥Á¥ã¥Ã¥ÈÅÐÏ¿¼Ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó");
--- 87,91 ----
// admin stuff
! define("L_ADM_1", "%s ¤Ï¡¢¤â¤¦¥â¥Ç¥ì¡¼¥¿¡¼¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó");
define("L_ADM_2", "µ®Êý¤Ï¡¢¤â¤¦¥Á¥ã¥Ã¥ÈÅÐÏ¿¼Ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó");
***************
*** 175,179 ****
define("L_HELP_CMD_7", "Á°²óÂǤä¿¥á¥Ã¥»¡¼¥¸¤«¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£");
define("L_HELP_CMD_8", "¥á¥Ã¥»¡¼¥¸¤ÎÁ°¤Ë»þ´Ö¤òɽ¼¨/±£¤·¤Þ¤¹¡£");
! define("L_HELP_CMD_9", "»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤òÄÉÊü¤·¤Þ¤¹¡£¥â¥Ç¥ì¡¼¥¿¡¼¤Î¤ß¤¬¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤǤ¤Þ¤¹¡£");
define("L_HELP_CMD_10", "¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤·¤Þ¤¹¡£(¾¤Î¿Í¤Ï¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò¸«¤é¤ì¤Þ¤»¤ó)");
define("L_HELP_CMD_11", "»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£");
--- 175,179 ----
define("L_HELP_CMD_7", "Á°²óÂǤä¿¥á¥Ã¥»¡¼¥¸¤«¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£");
define("L_HELP_CMD_8", "¥á¥Ã¥»¡¼¥¸¤ÎÁ°¤Ë»þ´Ö¤òɽ¼¨/±£¤·¤Þ¤¹¡£");
! define("L_HELP_CMD_9", "»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤òÄɤ¤½Ð¤·¤Þ¤¹¡£¥â¥Ç¥ì¡¼¥¿¡¼¤Î¤ß¤¬¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤǤ¤Þ¤¹¡£");
define("L_HELP_CMD_10", "¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤·¤Þ¤¹¡£(¾¤Î¿Í¤Ï¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò¸«¤é¤ì¤Þ¤»¤ó)");
define("L_HELP_CMD_11", "»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£");
***************
*** 186,190 ****
define("L_HELP_CMD_18", "¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤¬¤¤¤ë¥Á¥ã¥Ã¥È¤Ë¾·ÂÔ¤·¤Þ¤¹¡£");
define("L_HELP_CMD_19", "´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¡¼¤Ë»ØÄꤵ¤ì¤¿»þ´Ö¤À¤±¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë¤³¤È¤òµö¤·¤Þ¤¹¡£");
! define("L_HELP_CMD_20", "µ®Êý¼«¿®¤ò»²¾È¤»¤º¤Ë¡¢²¿¤ò¤·¤Æ¤¤¤¿¤«ÀâÌÀ¤·¤Þ¤¹¡£");
// messages frame
--- 186,190 ----
define("L_HELP_CMD_18", "¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤¬¤¤¤ë¥Á¥ã¥Ã¥È¤Ë¾·ÂÔ¤·¤Þ¤¹¡£");
define("L_HELP_CMD_19", "´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¡¼¤Ë»ØÄꤵ¤ì¤¿»þ´Ö¤À¤±¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë¤³¤È¤òµö¤·¤Þ¤¹¡£");
! define("L_HELP_CMD_20", "µ®Êý¤¬²¿¤ò¤·¤Æ¤¤¤¿¤«¤òɽ¤·¤Þ¤¹¡£");
// messages frame
|
|
From: Lo?c C. <lo...@us...> - 2001-04-15 18:56:33
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/english In directory usw-pr-cvs1:/tmp/cvs-serv13471/chat/localization/english Modified Files: chat.loc Log Message: Remove some trailing whitespaces Index: chat.loc =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/english/chat.loc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 |
|
From: Lo?c C. <lo...@us...> - 2001-04-15 18:55:58
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/japanese In directory usw-pr-cvs1:/tmp/cvs-serv13199/chat/localization/japanese Modified Files: chat.loc Added Files: tutorial.loc admin.loc Log Message: Near validated new translation --- NEW FILE --- <?php // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team & the authors | // +--------------------------------------------------------------------------+ // | Japanese translation of the tutorial for phpMyChat. | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: Yosuke Hamamoto <yo...@ke...> | // +--------------------------------------------------------------------------+ // // $Id: tutorial.loc,v 1.1 2001/04/15 18:55:56 loic1 Exp $ // /** * Gets the names and values for the variables sent to this script */ if (isset($HTTP_GET_VARS)) { while(list($name, $value) = each($HTTP_GET_VARS)) { $$name = $value; } } /** * Displays the tutorial */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html dir="ltr"> <head> <title>English Tutorial for <?php echo(APP_NAME . ' - ' . APP_VERSION); ?></title> <meta http-equiv="content-type" content="text/html; charset=x-euc-jp" /> <style type="text/css"> a.topLink { text-decoration: underline; color: #0000C0; } a.topLink:hover, a.topLink:active { color: #FF9900; text-decoration: none; font-weight: 800; } .redText { font-weight: 800; color: #FF0000; } </style> <script type="text/javascript" language="javascript1.1"> <!-- function pmcKillPointer() { if (typeof(window.opener) != 'undefined' && !window.opener.closed) { with (window.opener) { if (typeof(jsTutorialWin) != 'undefined') jsTutorialWin = null; focus(); } } } // --> </script> </head> <body bgcolor="#CCCCFF" onunload="pmcKillPointer()"> <p><a name="top"></a></p> <table border="5" cellpadding="5"> <tr> <td><font size="+2">¥Á¥å¡¼¥È¥ê¥¢¥ë¤ÎÆâÍÆ</font></td> </tr> </table><br /> <p class="redText"> ·Ù¹ð: Netscape¤Î¥æ¡¼¥¶¡¼¤Ï¡¢¸À¸ì¤ò½é´ü¤ÎÀßÄê¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£ÀßÄê¤ò¤·¤Ê¤¤¤È¡¢? ¤ËÃÖ¤´¹¤¨¤é¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£<br /> ɽ¼¨->ʸ»ú¥³¡¼¥ÉÀßÄê->ÆüËÜ¸ì ¼«Æ°ÁªÂò¡¢¤½¤·¤Æ¡¢É½¼¨->ʸ»ú¥³¡¼¥ÉÀßÄê->ɸ½à¤Îʸ»ú¥³¡¼¥É¥»¥Ã¥È¤ËÀßÄê¤òÁªÂò¤¹¤ë¤È¤Ç¤¤Þ¤¹¡£ </p> <p> <?php if (C_MULTI_LANG == 1) { ?> <a href="#language" class="topLink">¸À¸ì¤òÁªÂò¤¹¤ë</a><br /> <?php } echo("\n"); ?> <a href="#login" class="topLink">¥Á¥ã¥Ã¥È¤Ë¥í¥°¥¤¥ó¤¹¤ë</a><br /> <a href="#register" class="topLink">ÅÐÏ¿¤¹¤ë</a><br /> <a href="#modProfile" class="topLink">¥×¥í¥Õ¥£¡¼¥ë¤òÊѹ¹<?php if (C_SHOW_DEL_PROF == 1) echo('/ºï½ü'); ?>¤¹¤ë</a><br /> <?php if (C_VERSION == 2) { ?> <a href="#create_room" class="topLink">Éô²°¤òºîÀ®¤¹¤ë</a><br /> <?php echo("\n"); } if ($jsVersion == 'high') { ?> <a href="#connection_state" class="topLink">Àܳ¾õ¶·¤È¤Ï¡©</a><br /> <?php echo("\n"); } ?> <a href="#sending" class="topLink">¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ë</a><br /> <a href="#users_list" class="topLink">¥æ¡¼¥¶¤Î¥ê¥¹¥È¤ÎÀâÌÀ</a><br /> <a href="#exit" class="topLink">¥Á¥ã¥Ã¥È¥ë¡¼¥à¤ò½Ð¤ë/µî¤ë</a><br /> <a href="#users_popup" class="topLink">郎¥í¥°¥¤¥ó¤ò¤»¤º¤Ë¥Á¥ã¥Ã¥È¤·¤Æ¤¤¤ë¤Î¤«ÃΤë</a><br /> </p> <p> <a href="#customize" class="topLink">¥Á¥ã¥Ã¥È¤Îɽ¼¨¤òÊѹ¹¤¹¤ë</a><br /> </p> <p> <a href="#commands" class="topLink">ÆÃħ¤È¥³¥Þ¥ó¥É</a><br /> <a href="#help" class="topLink">¥Ø¥ë¥×¥³¥Þ¥ó¥É</a><br /> <?php if (C_USE_SMILIES == 1) { ?> <a href="#smilies" class="topLink">´é¤Î²èÁü</a><br /> <?php echo("\n"); } if (C_HTML_TAGS_KEEP != 'none') { ?> <a href="#text" class="topLink">¥Æ¥¥¹¥È¤Î¥Õ¥©¡¼¥Þ¥Ã¥È</a><br /> <?php echo("\n"); } ?> <a href="#invite" class="topLink">¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤Î¥Á¥ã¥Ã¥È¤Ë¾·ÂÔ¤¹¤ë</a><br /> <a href="#changeroom" class="topLink">¾¤Î¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë°Üư¤¹¤ë</a><br /> <a href="#private" class="topLink">¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸</a><br /> <a href="#actions" class="topLink">¹Ôư</a><br /> <a href="#ignore" class="topLink">¾¤Î¥æ¡¼¥¶¡¼¤ò̵»ë¤¹¤ë</a><br /> <a href="#whois" class="topLink">¾¤Î¥æ¡¼¥¶¤Î¾ðÊó¤òÆÀ¤ë</a><br /> <?php if (C_SAVE != 0) { ?> <a href="#save" class="topLink">¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë</a><br /> <?php } echo("\n"); ?> </p> <p> <a href="#moderator" class="topLink">¥â¥Ç¥ì¡¼¥¿¤È´ÉÍý¼Ô¤ÎÆÃÊ̤ʥ³¥Þ¥ó¥É</a><br /> <a href="#announce" class="topLink">¥¢¥Ê¥¦¥ó¥¹¥á¥ó¥È¤òÁ÷¤ë</a><br /> <a href="#kick" class="topLink">¥æ¡¼¥¶¡¼¤òÄɤ¤½Ð¤¹</a><br /> <?php if (C_BANISH != 0) { ?> <a href="#banish" class="topLink">¥æ¡¼¥¶¤ÎÄÉÊü</a><br /> <?php } echo("\n"); ?> <a href="#promote" class="topLink">¥æ¡¼¥¶¡¼¤ò¥â¥Ç¥ì¡¼¥¿¡¼¤ËÀßÄꤹ¤ë</a><br /> </p> <p></p> <hr /> <hr /> <?php if (C_MULTI_LANG == 1) { ?> <p> <font size="+1"><a name="language"><b>¸À¸ì¤òÁªÂò¤¹¤ë:</b></a></font> </p> <p> ¤³¤Î¥Á¥ã¥Ã¥È¥·¥¹¥Æ¥à¤Ï¿¤¯¤Î¸À¸ì¤ËÌõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¤³¤Î¥Á¥ã¥Ã¥È¤ò¾¤Î¸À¸ì¤ËÌõ¤¹¾ì¹ç¤Ï¡¢¥Á¥ã¥Ã¥È¤Î¥È¥Ã¥×¥Ú¡¼¥¸¤Ë¤¢¤ë¹ñ´ú¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£Î㤨¤Ð¡¢²¼µ¤ÎÎã¤Ç¤Ï¡¢¥æ¡¼¥¶¡¼¤Ï¥Õ¥é¥ó¥¹¸ì¤òÁª¤ó¤Ç¤¤¤Þ¤¹¡£ </p> <p align="center"> <img src="images/tutorials_imgs/flags.gif" height="44" width="424" alt="¸À¸ì¤ÎÀßÄê" /> </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); ?> <p> <font size="+1"><a name="login"><b>¥í¥°¥¤¥ó:</b></a></font> </p> <p> µ®Êý¤¬ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ê¤é¤Ð¡¢¥æ¡¼¥¶¡¼Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ¹¤ë»ö¤È¡¢µ®Êý¤¬Æþ¤ê¤¿¤¤¥Á¥ã¥Ã¥È¥ë¡¼¥à¤òÁªÂò¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢¥í¥°¥¤¥ó¤¬¤Ç¤¤Þ¤¹¡£ </p> <?php if (C_REQUIRE_REGISTER == 1) { ?> <p> ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¤Ê¤é¤Ð¡¢<a href="#register">ÅÐÏ¿</a>¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£ <?php } else { ?> <p> ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¤Ê¤é¤Ð¡¢<a href="#register">ÅÐÏ¿</a>¤òºÑ¤Þ¤»¤ë¤«¡¢¥²¥¹¥È¤È¤·¤ÆÆþ¤Ã¤Æ¤¯¤À¤µ¤¤¡£¥²¥¹¥È¤Î¾ì¹ç¤Ï¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤¬¤¢¤Ê¤¿¤Î´õ˾¤·¤Æ¤¤¤ë¥æ¡¼¥¶¡¼Ì¾¤ò»È¤Ã¤Æ¤¤¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£ <?php } echo("\n"); ?> </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="register"><b>ÅÐÏ¿¤¹¤ë¤¿¤á¤Ë:</b></a></font> </p> <p> ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¤Ê¤é¤Ð¡¢<?php if (C_REQUIRE_REGISTER == 0) echo('¤½¤·¤ÆÅÐÏ¿¤·¤¿¤¤¾ì¹ç¤Ï¡¢'); ?>ÅÐÏ¿¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£¾®¤µ¤Ê¥¦¥£¥ó¥É¥¦¤¬¥Ý¥Ã¥×¥¢¥Ã¥×¤µ¤ì(¿·¤·¤¯½Ð¤Æ¤)¤Þ¤¹¡£ </p> <ul> <li>¤Þ¤º»Ï¤á¤Ë¡¢¥æ¡¼¥¶¡¼Ì¾<?php if (!C_EMAIL_PASWD) echo('¤È¥Ñ¥¹¥ï¡¼¥É'); ?> ¤ò·è¤á¤Æ¡¢ÅÐÏ¿¤¹¤ë¿Í¤ÏÅÐÏ¿¥Õ¥©¡¼¥à¤Ë¡¢¥²¥¹¥È¤ÇÆþ¼¼¤·¤¿¤¤¿Í¤Ï¡¢¤¢¤Ê¤¿¤Î̾Á°¤Î¥Ü¥Ã¥¯¥¹¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£¥æ¡¼¥¶¡¼Ì¾¤Ï¡¢¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ç¤¢¤Ê¤¿¤Î¥Ï¥ó¥É¥ë̾¤È¤Ê¤ê¤½¤Î̾Á°¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¥æ¡¼¥¶¡¼Ì¾¤Ë¤Ï¥³¥ó¥Þ¤ä¥¹¥Ú¡¼¥¹¡¢¤Þ¤¿¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å(\)¤Ï´Þ¤á¤Þ¤»¤ó¡£ <?php if (C_NO_SWEAR == 1) echo('°¤¤¸ÀÍÕ¤âÉÔ²Äǽ¤Ç¤¹¡£'); ?></li> <li>¼¡¤Ë¡¢À«Ì¾¡¢¥á¡¼¥ë¥¢¥É¥ì¥¹¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤(ÅÐÏ¿¤¹¤ë¿Í¤Ï)¡£ ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ë¤Ê¤ë¤¿¤á¤Ë¤Ï¡¢¤³¤ì¤ÏÉԲķç¤Ç¤¹¡£ÀÊ̤ϡ¢¤É¤Á¤é¤Ç¤â¤¤¤¤¤Ç¤¹¡£</li> <li>¥Û¡¼¥à¤Ú¡¼¥¸¤¬¤¢¤ì¤Ð¡¢ÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£(¥ª¥×¥·¥ç¥ó)</li> <li>¸À¸ì¤ÎÁªÂò¤Ï¡¢¸å¤Ç¾¤Î¥æ¡¼¥¶¡¼¤È¤Î¥Á¥ã¥Ã¥È¤ÇɬÍפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£</li> <li>ºÇ¸å¤Ë¡¢Ã¯¤â¤¬¤¢¤Ê¤¿¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤ò¸«¤ë¤³¤È¤¬½ÐÍè¤ë¤è¤¦¤ËÀßÄꤹ¤ë¾ì¹ç¤Ï¡¢¥Á¥§¥Ã¥¯¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£</li> <li>¤½¤·¤ÆÅÐÏ¿¥Ü¥¿¥ó¤ò²¡¤¹¤³¤È¤Ë¤è¤Ã¤Æ¡¢¤¢¤Ê¤¿¤Î¥¢¥«¥¦¥ó¥È¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£¤¤¤Ä¤Ç¤â¼¤á¤¿¤¤¤È¤¤Ï¡¢ÊĤ¸¤ë¥Ü¥¿¥ó¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£</li> </ul> <p> <a name="modProfile"></a>¤â¤Á¤í¤óÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¡¢¼«Ê¬¤Î¾ðÊó¤òÊѹ¹<?php if (C_SHOW_DEL_PROF == 1) echo('/ºï½ü'); ?> ¤¹¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£<br /> </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php if (C_VERSION == 2) { ?> <p> <font size="+1"><a name="create_room"><b>¥Á¥ã¥Ã¥È¥ë¡¼¥à(Éô²°)¤òºî¤ë¤¿¤á:</b></a></font> </p> <p> ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¡¢¿·¤·¤¯¥Á¥ã¥Ã¥È¥ë¡¼¥à¤òºî¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£¥×¥é¥¤¥Ù¡¼¥È¥Á¥ã¥Ã¥È¤Ï¡¢¤½¤ÎÉô²°¤Î̾Á°¤òÃΤäƤ¤¤ë¥æ¡¼¥¶¡¼¤À¤±¤¬Æþ¤ë¤³¤È¤¬¤Ç¤¡¢¤½¤ÎÉô²°¤Î̾Á°¤Ï¸ø¶¦¤Î¾ì½ê¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£ </p> <p> Éô²°¤Î̾Á°¤Ë¤Ï¥³¥ó¥Þ¤ä¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å(\)¤Ï´Þ¤á¤Þ¤»¤ó¡£<?php if (C_NO_SWEAR == 1) echo('°¤¤¸ÀÍÕ¤â´Þ¤á¤Þ¤»¤ó¡£' . "\n"); ?> </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); if ($jsVersion == 'high') { ?> <p> <font size="+1"><a name="connection_state"><b>Àܳ¾õ¶·¤È¤Ï¡©:</b></a></font> </p> <p> µ®Êý¤ÎÀܳ¾õ¶·¤ò¼¨¤¹¥µ¥¤¥ó¤Ï¡¢¥Á¥ã¥Ã¥È¤Î±¦¾å¤Ë¤¢¤ê¤Þ¤¹¡£¥µ¥¤¥ó¤Ë¤Ï¡¢£³¤Ä¤Î¼ïÎब¤¢¤ê¤Þ¤¹¡£ </p> <ul> <li><img src="images/connect_off.gif" width="13" height="13" border="0" alt="¤Ê¤·" /> Àܳ¾õ¶·¤Ê¤· ;</li> <li><img src="images/connect_on.gif" width="13" height="13" border="0" alt="ÀÜÂ³Ãæ" /> Àܳ¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹ ;</li> <li><img src="images/connect_error.gif" width="13" height="13" border="0" alt="Àܳ¼ºÇÔ" /> Àܳ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿</li> </ul> <p> Àܳ¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¡¢À֤Υé¥ó¥×¤ò¥¯¥ê¥Ã¥×¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¤â¤¦°ìÅÙÀܳ¤ò»î¤ß¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); ?> <p> <font size="+1"><a name="sending"><b>¥á¥Ã¥»¡¼¥¸¤ÎÁ÷¿®:</b></a></font> </p> <p> ¥Á¥ã¥Ã¥È¤Ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ë¤Ë¤Ï¡¢º¸²¼¤Ë¤¢¤ë²£Ä¹¤Î¥Ü¥Ã¥¯¥¹¤Ë¥á¥Ã¥»¡¼¥¸¤òÆþÎϤ·¤Æ¡¢¥¨¥ó¥¿¡¼¥¡¼(²þ¹Ô)¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£¥á¥Ã¥»¡¼¥¸¤Ï¡¢¤½¤Î¾å¤Ë¤¢¤ë¥Á¥ã¥Ã¥È¥Ü¥Ã¥¯¥¹¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£<br /> <?php if (C_NO_SWEAR == 1) echo('°¤¤¸ÀÍÕ¤¬Æþ¤Ã¤Æ¤¤¤¿¾ì¹ç¤¬¡¢Ìµ»ë¤µ¤ì¤Þ¤¹¡£' . "\n"); ?> </p> <p> ¤Þ¤¿¡¢¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤è¤ê¿§¤òÁªÂò¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢Ê¸»ú¤Î¿§¤òÊѹ¹¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="users_list"><b>¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤òÃΤë:</b></a></font> </p> <p> ¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¡¢£²¤Ä¤Î¥ë¡¼¥ë¤¬¤¢¤ê¤Þ¤¹¡£: </p> <ol> <!-- To update <li>¥æ¡¼¥¶¡¼¤ÎÁ°¤Ë¤¢¤ë¾®¤µ¤Ê¥¢¥¤¥³¥ó (<img src="images/whoisOff.gif" width="5" height="9" border="0" alt="¥×¥í¥Õ¥£¡¼¥ë¥¢¥¤¥³¥ó" />)¤Ï¡¢¤½¤Î¥æ¡¼¥¶¡¼¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¤È¤¤¤¦»ö¤òɽ¤·¡¢¤½¤Î¥¢¥¤¥³¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢<a href="#whois">¥×¥í¥Õ¥£¡¼¥ë¥¦¥£¥ó¥É¥¦</a> ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¡¼¤ÎÁ°¤Ë¤Ï¥Þ¥¤¥Ê¥¹¥µ¥¤¥ó¤·¤«ÉÕ¤¤Þ¤»¤ó¡£;</li> --> <li>a little icon that shows gender is displayed before the nick of a registered user (clicking on it will launch the <a href="#whois">whois popup</a> for this user), while unregistered users have nothing but blank spaces displayed before their nick;</li> <li>¥â¥Ç¥ì¡¼¥¿¡¼¤È´ÉÍý¿Í¤Î̾Á°¤Ï¡¢¼ÐÂΤȤʤê¤Þ¤¹¡£</li> </ol> <p> <i>Î㤨¤Ð¡¢</i>²¼¤Î²èÁü¤ò¸«¤Æ·ëÏÀ¤ò½Ð¤·¤Æ¤ß¤ë¤È¡¦¡¦¡¦ </p> <table border="0" cellspacing="10"> <tr> <td> <img src="images/tutorials_imgs/users_list.gif" width="128" height="145" border="0" alt="¥æ¡¼¥¶¡¼¥ê¥¹¥È" /> </td> <td> <ul> <li>Nicolas ¤Ï¡¢´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¤Ç¤¢¤ë;<br /><br /></li> <!-- To update <li>lolo ¤È Jezek2 ¤ÏÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ç¤¢¤ë;<br /><br /></li> <li>Mary ¤ÏÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤¤¥²¥¹¥È¤Ç¤¢¤ë¡£</li> --> <li>alien (whose gender is unknown), Jezek2 and Caridad are registered users with no extra "power" for the phpMyChat room;<br /><br /></li> <li>lolo is a simple unregistered user.</li> </ul> </td> </tr> </table> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="exit"><b>¥Á¥ã¥Ã¥È¥ë¡¼¥à¤ò½Ð¤ë/µî¤ë:</b></a></font> </p> <p> ¥Á¥ã¥Ã¥È¥ë¡¼¥à¤ò½Ð¤ë¤Ë¤Ï¡¢Âà½Ð¤¹¤ë¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£¤â¤·¤¯¤Ï¡¢²¼¤Î¤¦¤Á¤Î¤É¤ì¤«£±¤Ä¤Î¥³¥Þ¥ó¥É¤òÂǤÁ¤Þ¤¹¡£:<br /> /exit<br /> /bye<br /> /quit </p> <p> ¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¡¢ºÇ¸å¤Ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¤Ã¤Æ¥Á¥ã¥Ã¥È¤ò½Ð¤¿¤¤¤È¤¤Ë»ÈÍѤ·¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð :</i> /quit CU soon! </p> <p> ¤È¤¤¤¦¤Î¤Ï¡¢"CU soon!" ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤òÁ÷¤Ã¤Æ¡¢¤½¤Î¸å¤Ë¼«Æ°¤Ç¥Á¥ã¥Ã¥È¤òÂà½Ð¤·¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="users_popup"><b>郎¥í¥°¥¤¥ó¤ò¤»¤º¤Ë¥Á¥ã¥Ã¥È¤·¤Æ¤¤¤ë¤Î¤«ÃΤë:</b></a></font> </p> <p> ¥Á¥ã¥Ã¥È¤Î¥È¥Ã¥×¥Ú¡¼¥¸¤Ë¤¢¤ë¥ê¥ó¥¯¤ò»ÈÍѤ·¤Æ¤É¤ì¤¯¤é¤¤¤Î¿Í¿ô¤¬¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ë¤Î¤«¡¢¤Þ¤¿¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ëºÇÃæ¤Ë¤Ï¡¢±¦¾å¤Ë¤¢¤ë²èÁü <img src="images/popup.gif" width="13" height="13" border="0" alt="Users popup" /> ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë»ö¤Ë¤è¤ê¡¢¿·¤·¤¤¥¦¥£¥ó¥É¥¦¤¬É½¼¨¤µ¤ì¡¢²¿¿Í¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ë¤Î¤«¡¢¥ê¥¢¥ë¥¿¥¤¥à¤Ë¤ï¤«¤ê¤Þ¤¹¡£<br /> ¥¦¥£¥ó¥É¥¦¤Î̾Á°¤Ï¥æ¡¼¥¶¡¼Ì¾¤ò´Þ¤ß¡¢£³¤Ä¤è¤ê¤â¾¯¤Ê¤¤¾ì¹ç¤Ï¡¢Éô²°¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£ </p> <p> ¥Ó¡¼¥×¥¢¥¤¥³¥ó<img src="images/sound.gif" width="13" height="13" border="0" alt="¥Ó¡¼¥×" />¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¿·¤·¤¤¥æ¡¼¥¶¡¼¤¬Æþ¤Ã¤Æ¤¤¿¤È¤¤Î¥Ó¡¼¥×²»¤ò¾Ã¤·¤¿¤êÉÕ¤±¤¿¤ê¤Ç¤¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <hr /> <p> <font size="+1"><a name="customize"><b>¥Á¥ã¥Ã¥È¤Îɽ¼¨¤ò¥«¥¹¥¿¥Þ¥¤¥º¤¹¤ë:</b></a></font> </p> <p> ¥Á¥ã¥Ã¥È¤Î¸«Êý(ɽ¼¨)¤òÊѤ¨¤ëÊýË¡¤Ï¡¢¤¿¤¯¤µ¤ó¤¢¤ê¤Þ¤¹¡£ÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢ÀµÅö¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£ </p> <ul> <?php if ($jsVersion == 'high') { ?> <li> <b>¥¯¥ê¥¢ ¥³¥Þ¥ó¥É</b> ¤ò»ÈÍѤ¹¤ë¤È¡¢ºÇ¸å¤ËÂǤ¿¤ì¤¿£µ¤Ä¤Î¥á¥Ã¥»¡¼¥¸¤ò»Ä¤·¤Æ¤½¤Î¾¤Î¥á¥Ã¥»¡¼¥¸¤ò¾Ãµî¤·¤Þ¤¹¡£<br /><br />"/clear"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) <br /><br /> </li> <?php } else { ?> <li> <b>¥ª¡¼¥À¡¼ ¥³¥Þ¥ó¥É</b>¤Ï¡¢¿·¤·¤¤¥á¥Ã¥»¡¼¥¸¤ò¾å¤Ëɽ¼¨¤¹¤ë¤«²¼¤Ëɽ¼¨¤¹¤ë¤«¤òÊѹ¹¤·¤Þ¤¹¡£<br /><br />"/order"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) <br /><br /> </li> <?php } echo("\n"); ?> <li> <b>¤ªÃΤ餻 ¥³¥Þ¥ó¥É</b>¤Ï¡¢¿·¤·¤¤¥æ¡¼¥¶¡¼¤¬Æþ¤Ã¤Æ¤¤¿¡¢¤Þ¤¿¤Ï½Ð¤Æ¤¤¤Ã¤¿»þ¤Ë¤½¤Î¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¤«¤òÀßÄê¤Ç¤¤Þ¤¹¡£½é´üÀßÄê¤Ç¤Ï¡¢<?php echo((C_NOTIFY) ? 'ɽ¼¨¤¹¤ë' : 'ɽ¼¨¤·¤Ê¤¤'); ?>¤ÈÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£<br /><br />"/notify"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) <br /><br /> </li> <li> <b>¥¿¥¤¥à ¥³¥Þ¥ó¥É</b>¤Ï¡¢¥¹¥Æ¡¼¥¿¥¹¥Ð¡¼¤Ë¤¢¤ë»þ´Ö¤ä¥Á¥ã¥Ã¥ÈÆâ¤Ë¤¢¤ë»þ´Ö¤òɽ¼¨¤¹¤ë¤«¤·¤Ê¤¤¤«¤òÀßÄꤷ¤Þ¤¹¡£½é´üÀßÄê¤Ç¤Ï¡¢<?php echo((C_SHOW_TIMESTAMP) ? 'ɽ¼¨¤¹¤ë' : 'ɽ¼¨¤·¤Ê¤¤'); ?>¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£<br /><br />"/timestamp"¤ÈÂǤäƤ¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) <br /><br /> </li> <li> <b>¥ê¥Õ¥ì¥Ã¥·¥å ¥³¥Þ¥ó¥É</b> ¤Ï¡¢¥Á¥ã¥Ã¥È¤Î¹¹¿·»þ´Ö¤òÀßÄê¤Ç¤¤Þ¤¹¡£¸½ºß¤ÎÀßÄê¤Ç¤Ï¡¢<?php echo(C_MSG_REFRESH); ?> ÉäÈÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£Êѹ¹¤¹¤ë¤¿¤á¤Ë¤Ï¡¢"/refresh n" ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) ¤Þ¤¿¡¢n ¤Ë¤Ï»þ´Ö(ÉÃ)¤¬Æþ¤ê¤Þ¤¹¡£ <br /><br /> <i>Î㤨¤Ð: /refresh 5</i> <br /><br /> ¤À¤È£µÉäǹ¹¿·¤µ¤ì¤Þ¤¹¡££³ÉÃ°ÊÆâ¤ËÀßÄꤷ¤Æ¤·¤Þ¤¦¤È¡¢¹¹¿·¤ò¤·¤Ê¤¤ÀßÄê¤ËÊѤï¤ë»ö¤ËÃí°Õ¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ <br /><br /> </li> <?php if ($jsVersion == 'low') { ?> <li> The <b>ɽ¼¨ ¥³¥Þ¥ó¥É</b>¤Ï¡¢µ®Êý¤Î¥¹¥¯¥ê¡¼¥ó¤ÎÃæ¤Ç¸«¤é¤ì¤ë¥á¥Ã¥»¡¼¥¸¤Î¹Ô¿ô¤ÎÀßÄê¤òÊѹ¹¤·¤Þ¤¹¡£Êѹ¹¤¹¤ë¤Ë¤Ï¡¢"/show n" ¤ÈÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£( "" ¤ÏÍפê¤Þ¤»¤ó) <br /><br /> <i>Î㤨¤Ð: /show 50</i> <br /><br /> ¤ÈÀßÄꤹ¤ë¤È¡¢£µ£°·ï¤Þ¤Ç¤¢¤Ê¤¿¤Î¥Á¥ã¥Ã¥È¥¹¥¯¥ê¡¼¥ó¤Ç¸«¤é¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£°ìÅÙ¤ËÁ´¤ÆÉ½¼¨¤Ç¤¤Ê¤¤¾ì¹ç¤Ï¡¢¥¹¥¯¥í¡¼¥ë¥Ð¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ <br /><br /> </li> <?php } else { ?> <li> <b>ɽ¼¨ ¤È ¥é¥¹¥È ¥³¥Þ¥ó¥É</b>¤Ï¡¢¥Á¥ã¥Ã¥È¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤ë¸Å¤¤¥á¥Ã¥»¡¼¥¸¤òºï½ü¤·¤Æ¡¢ºÇ¸å¤ËÆþÎϤµ¤ì¤¿<i>n</i>¸Ä¤À¤±¤òɽ¼¨¤¹¤ë»ö¤¬²Äǽ¤Ç¤¹¡£"/show n" ¤ä "/last n" ¤È¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤¡£¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó("")¤Ï̵¤·¤Ç¤¹¡£¤Þ¤¿¡¢n ¤Ï¡¢É¬¤º¿ô»ú¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ <br /><br /> <i>Î㤨¤Ð: /show 50</i> ¤« <i>/last 50</i> <br /><br /> ¤Ï¡¢ºÇ¸å¤ËÂǤ¿¤ì¤¿£µ£°¸Ä¤Î¥á¥Ã¥»¡¼¥¸¤ò»Ä¤·¤Æ¡¢É½¼¨¤·¤Þ¤¹¡£Á´¤Æ¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢¥¹¥¯¥í¡¼¥ë¥Ð¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ <br /><br /> </li> <?php } echo("\n"); ?> </ul> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <hr /> <p> <font size="+2"><a name="commands"><b><u>ÆÃħ¤È¥³¥Þ¥ó¥É</u></b></a></font> </p> <p> <font size="+1"><a name="help"><b>¥Ø¥ë¥×¥³¥Þ¥ó¥É:</b></a></font> </p> <p> ¥Á¥ã¥Ã¥È¤ò¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤Î²£¤Ë¤¢¤ë²èÁü<img src="images/help_off.gif" width="15" height="15" border="0" alt="?" /> ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë»ö¤Ë¤è¤ê¡¢¥Ø¥ë¥×¥¦¥£¥ó¥É¥¦¤ò½Ð¤»¤Þ¤¹¡£¤Þ¤¿¡¢<b>"/help" ¤« "/?" </b>¤ÈÂǤĤ³¤È¤Ç¤â¡¢Æ±¤¸·ë²Ì¤¬ÆÀ¤é¤ì¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php if (C_USE_SMILIES == 1) { include('./lib/smilies.lib.' . C_EXTENSION); $smiliesCodes = pmcDisplaySmilies('tutorial'); unset($smilies); ?> <p> <font size="+1"><a name="smilies"><b>´é²èÁü:</b></a></font> </p> <p> ¤¢¤ë·è¤á¤é¤ì¤¿Ê¸»ú¤òÂǤĤ³¤È¤Ë¤è¤Ã¤Æ¡¢²¼¤Ëɽ¼¨¤µ¤ì¤Æ¤¤¤ë´é¤Î²èÁü¤ò½Ð¤¹¤³¤È¤¬½ÐÍè¤Þ¤¹¡£ </p> <table align="center" border="0" cellpadding="3" cellspacing="5"> <?php $i = 0; $smiliesCnt = count($smiliesCodes); while ($i < $smiliesCnt) { if ($i > 0) echo("\t"); echo('<tr valign="bottom">' . "\n"); echo($smiliesCodes[$i]); echo("\t" . '</tr>' . "\n"); echo("\t" . '<tr>' . "\n"); $i++; echo($smiliesCodes[$i]); echo("\t" . '</tr>' . "\n"); $i++; } unset($smiliesCodes); ?> </table> <p> <i>Î㤨¤Ð</i>¡¢"Jack ¤µ¤ó¡¢¤è¤í¤·¤¯¡ª :)" ¤ÈÂǤĤȡ¢<br />Jack ¤µ¤ó¡¢¤è¤í¤·¤¯¡ª <img src="images/smilies/smile1.gif" width="15" height="15" alt=":)" /><br />¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); if (C_HTML_TAGS_KEEP != 'none') { ?> <p> <font size="+1"><a name="text"><b>¥Æ¥¥¹¥È¥Õ¥©¡¼¥Þ¥Ã¥È:</b></a></font> </p> <p> <b> </b>, <i> </i> ¤ä <u> </u> ¤ò»È¤¦¤³¤È¤Ë¤è¤ê¡¢Ê¸»ú¤òÂÀ»ú¤Ë¤·¤¿¤ê¥¤¥¿¥ê¥Ã¥¯¤Ë¤·¤¿¤ê¥¢¥ó¥À¡¼¥é¥¤¥ó¤òÉÕ¤±¤¿¤ê½ÐÍè¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð</i>¡¢<b>¥Æ¥¹¥È</b> ¤ÈÂǤĤȡ¢ <b>¥Æ¥¹¥È</b>¤È¤Ê¤ê¤Þ¤¹¡£ </p> <p> ¥Û¡¼¥à¥Ú¡¼¥¸¤Î¥¢¥É¥ì¥¹¤Ê¤É¤Ë¥ê¥ó¥¯¤òÉÕ¤±¤¿¤¤¾ì¹ç¤Ï¡¢¤½¤Î¤Þ¤Þ¥¢¥É¥ì¥¹¤òÂǤĤȡ¢¼«Æ°¤Ç¥ê¥ó¥¯¤¬ÉÕ¤¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); ?> <p> <font size="+1"><a name="invite"><b>¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤Î¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë¾·ÂÔ¤¹¤ë:</b></a></font> </p> <p> <b>¾·ÂÔ¥³¥Þ¥ó¥É</b>¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤¬¸½ºß¤¤¤ë¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë¾·ÂÔ¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð: /invite Jack</i> </p> <p> ¤ÈÆþÎϤ¹¤ë¤È¡¢Jack ¤Ë¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤¬Á÷¤é¤ì¡¢¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Î¾·ÂÔ¤ò¤·¤Þ¤¹¡£ </p> <p> ¾·ÂÔ¥³¥Þ¥ó¥É¤Ï¡¢£²¿Í°Ê¾å¤Î¥æ¡¼¥¶¡¼¤Ë¤âÁ÷¤ì¤Þ¤¹¡£ (Îã "/invite Jack,Helen,Alf") ̾Á°¤Ï¡¢¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¡¢¾°¤«¤Ä¡¢¥¹¥Ú¡¼¥¹¤ò´Þ¤ó¤Ç¤Ï¤¤¤±¤Þ¤»¤ó¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="changeroom"><b>Éô²°¤òÊѹ¹¤¹¤ë:</b></a></font> </p> <p> ±¦Â¦¤Ë¤¢¤ë¤Î¤ÏÉô²°¤Î¥ê¥¹¥È¤Ç¡¢¤½¤ÎÉô²°¤ËÆþ¤Ã¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤òɽ¼¨¤·¤Æ¤¤¤Þ¤¹¡£Éô²°¤ò°Üư¤·¤¿¤¤¾ì¹ç¤Ï¡¢°Üư¤·¤¿¤¤Éô²°¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢¸½ºß¤¤¤ëÉô²°¤ò¼«Æ°¤ÇÂ༼¤·¡¢µ®Êý¤¬Áª¤ó¤ÀÉô²°¤ËÆþ¤ì¤Þ¤¹¡£Ã¯¤â¤¤¤Ê¤¤Éô²°¤Ï¡¢¥ê¥¹¥È¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£ <b>"/join #roomname"</b>¤ÈÂǤĤ³¤È¤Ç¡¢Ã¯¤â¤¤¤Ê¤¤Éô²°¤ËÆþ¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð: /join #ÀÖ¤ÎÉô²°</i> </p> <p> ¤ÈÂǤĤȡ¢ÀÖ¤ÎÉô²°¤Ë°Üư¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£ </p> <?php if (C_VERSION == 2) { echo((C_REQUIRE_REGISTER == 0) ? '<p>µ®Êý¤¬ÅÐÏ¿¤µ¤ì¤¤¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¤Ê¤é¤Ð¡¢' : '<p>µ®Êý¤Ï¡¢'); ?> ¤³¤ÎƱ¤¸¥³¥Þ¥ó¥É¤ò»È¤¦¤³¤È¤Ë¤è¤ê¡¢¿·¤·¤¤Éô²°¤òºî¤ì¤Þ¤¹¡£¤¿¤À¡¢¤½¤Î¾ì¹ç¤Ï¡¢¤É¤Î¥¿¥¤¥×¤ÎÉô²°¤òºî¤ê¤¿¤¤¤Î¤«¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£: 0 ¤Ï¥×¥é¥¤¥Ù¡¼¥È¥Á¥ã¥Ã¥È, 1 ¤Ï¸ø¶¦¤Ê¥Á¥ã¥Ã¥È¤Ç¤¹¡£ </p> <p> <i>Î㤨¤Ð: /join 0 #»ä¤ÎÉô²°</i> </p> <p> ¤ÈÂǤĤȡ¢»ä¤ÎÉô²°¤È¤¤¤¦Éô²°¤ò¿·¤·¤¯¥×¥é¥¤¥Ù¡¼¥È¥Á¥ã¥Ã¥È¤È¤·¤ÆºîÀ®¤·¤Þ¤¹¡£¤¿¤À¡¢»ä¤ÎÉô²°¤È¤¤¤¦Ì¾Á°¤ÎÉô²°¤¬´û¤Ë¤¢¤Ã¤¿¾ì¹ç¤Ï¡¢ºî¤ë¤³¤È¤¬½ÐÍè¤Þ¤»¤ó¡£ </p> <p> Éô²°¤Î̾Á°¤Ë¤Ï¡¢¥³¥ó¥Þ¤ä¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å(\)¤ò´Þ¤á¤Þ¤»¤ó¡£<?php if (C_NO_SWEAR == 1) echo('¤Þ¤¿¡¢°¤¤¸ÀÍÕ¤â´Þ¤á¤Þ¤»¤ó¡£' . "\n"); ?> </p> <?php } echo("\n"); ?> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><b>¥Á¥ã¥Ã¥È¤ÎºÇÃæ¤Ë¥×¥í¥Õ¥£¡¼¥ë¤òÊѹ¹¤¹¤ë:</b></font> </p> <p> <b>¥×¥í¥Õ¥£¡¼¥ë¥³¥Þ¥ó¥É</b> ¤Ï¡¢µ®Êý¼«¿È¤Î¥×¥í¥Õ¥£¡¼¥ë¤òÊѹ¹¤¹¤ë¤³¤È¤Î½ÐÍè¤ë¥³¥Þ¥ó¥É¤Ç¤¹¡£¤¿¤À¡¢¥Ë¥Ã¥¯¥Í¡¼¥à(¥æ¡¼¥¶¡¼Ì¾)¤È¥Ñ¥¹¥ï¡¼¥É¤ÏÊѹ¹¤Ç¤¤Þ¤»¤ó¡£<br /> /profile ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><b>°ìÅÙÁ÷¿®¤·¤¿¥á¥Ã¥»¡¼¥¸¤ä¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤¹:</b></font> </p> <p> <b>! ¥³¥Þ¥ó¥É</b>¤Ï¡¢µ®Êý¤¬Ä¾Á°¤ËÂǤä¿¥á¥Ã¥»¡¼¥¸¤ä¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£<br /> /! ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><b>¾¤Î¥æ¡¼¥¶¡¼¤ØÅú¤¨¤ë:</b></font> </p> <p> ¥Á¥ã¥Ã¥È¤ÎºÇÃæ¤Ë¥æ¡¼¥¶¡¼Ì¾(±¦Â¦¤Î¥ê¥¹¥È¤è¤ê)¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢"username>"¤È¡¢¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤ËÂǤ¿¤ì¤Þ¤¹¡£¤³¤Îµ¡Ç½¤òÍøÍѤ¹¤ë»ö¤Ç¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤Ë´Êñ¤Ë±þÅú¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="private"><b>¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸:</b></a></font> </p> <p> µ®Êý¤Î¥Á¥ã¥Ã¥È¥ë¡¼¥à¤Ë¤¤¤ë¥æ¡¼¥¶¡¼¤Ë¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ë¤Ë¤Ï¡¢<b>"/msg username messagetext" ¤« "/to username messagetext"</b>¤ÈÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> <i>Î㤨¤Ð¡¢Jack ¤Ë¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ê¤¿¤¤¤È¤¹¤ë¤È¡¢: /msg Jack ½é¤á¤Þ¤·¤Æ¡Á¡£</i> </p> <p> ¥á¥Ã¥»¡¼¥¸¤Ï¤¢¤Ê¤¿¤È Jack °Ê³°¤Ë¤Ïɽ¼¨¤µ¤ì¤Þ¤»¤ó¡£ </p> <p> ¤Þ¤¿¡¢º¸Â¦¤Î¥á¥Ã¥»¡¼¥¸¥Õ¥ì¡¼¥à¤Î¥æ¡¼¥¶¡¼Ì¾¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢´Êñ¤ËÁ÷¤ì¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="actions"><b>¹Ôư:</b></a></font> </p> <p> ¤¢¤Ê¤¿¤¬¸½ºß²¿¤ò¤·¤Æ¤¤¤ë¤Î¤«¤òɽ¤¹¤Ë¤Ï¡¢<b>"/me action"</b>¤ÈÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> <i>Î㤨¤Ð:</i> ¤â¤· Jack ¤¬¡¢"/me ¤Ï¤¢¤¯¤Ó¤ò¤·¤¿" ¤ÈÂǤĤȡ¢"<b>* Jack</b>" ¤Ï¤¢¤¯¤Ó¤ò¤·¤¿" ¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="ignore"><b>¥æ¡¼¥¶¡¼¤ò̵»ë¤¹¤ë:</b></a></font> </p> <p> ¤¢¤ë°ìÄê¤Î¥æ¡¼¥¶¡¼¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤ò̵»ë¤¹¤ë¾ì¹ç¤Ï¡¢<b>"/ignore username"</b>¤È¥¹¥Ú¡¼¥¹Ìµ¤·¤ÇÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> <i>Î㤨¤Ð: /ignore Jack</i> </p> <p> ¤³¤Î¥³¥Þ¥ó¥É¤òÂǤ俽ִ֤«¤é¡¢Jack ¤«¤é¤Î¥á¥Ã¥»¡¼¥¸¤Ï°ìÀÚ̵»ë¤µ¤ì¤Þ¤¹¡£ </p> <p> ̵»ë¤·¤Æ¤¤¤ë¥æ¡¼¥¶¡¼¤Î¥ê¥¹¥È¤ò¸«¤¿¤¤¾ì¹ç¤Ï¡¢<b>"/ignore"</b>¤È¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó("")̵¤·¤ÇÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> ¥æ¡¼¥¶¡¼¤Î̵»ëµ¡Ç½¤ò²ò½ü¤·¤¿¤¤¤È¤¤Ï¡¢<b>/ignore - username</b> ¤ÈÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> <i>Î㤨¤Ð: /ignore - Jack</i> </p> <p> ¤³¤¦ÂǤĤȡ¢Jack ¤¬¤³¤ì¤Þ¤Ç¤ËÂǤäƤ¤¤¿¥á¥Ã¥»¡¼¥¸¤È¤³¤ì¤«¤éÂǤĥá¥Ã¥»¡¼¥¸¤¬¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥æ¡¼¥¶¡¼Ì¾¤òÂǤ¿¤Ê¤¤¤È¡¢Ìµ»ë¥ê¥¹¥È¤«¤éÁ´¤Æ¤Î¥æ¡¼¥¶¡¼¤¬ºï½ü¤µ¤ì¤Þ¤¹¡£ </p> <p> £²¿Í°Ê¾å¤Î̾Á°¤ò̵»ë¥³¥Þ¥ó¥É¤ËÂǤĤ³¤È¤Ï²Äǽ¤Ç¤¹¡£(Îã "/ignore Jack,Helen,Alf" ¤ä "/ignore - Jack,Alf") ̾Á°¤Ï¡¢¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¡¢¾°¤«¤Ä¡¢¥¹¥Ú¡¼¥¹¤ò´Þ¤ó¤Ç¤Ï¤¤¤±¤Þ¤»¤ó¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="whois"><b>¾¤Î¥æ¡¼¥¶¡¼¤Î¾ðÊó¤òÆÀ¤ë:</b></a></font> </p> <p> ¾¤Î¥æ¡¼¥¶¡¼¤Î¾ðÊó(¸ø³«¤µ¤ì¤¿Êª)¤ò¸«¤ë¤¿¤á¤Ë¤Ï¡¢<b>"/whois username"</b> ¤È¥¹¥Ú¡¼¥¹Ìµ¤·¤ÇÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> <i>Î㤨¤Ð: /whois Jack</i> </p> <p> Jack ¤È¤¤¤¦¤Î¤Ï¡¢µ®Êý¤¬ÃΤꤿ¤¤¥æ¡¼¥¶¡¼¤Î̾Á°¤Ç¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¿·¤¿¤Ë¥¦¥£¥ó¥É¥¦¤¬ºî¤é¤ì¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php if (C_SAVE != 0) { ?> <p> <font size="+1"><a name="save"><b>¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë:</b></a></font> </p> <p> ¼«Ê¬¤Î¥³¥ó¥Ô¥å¡¼¥¿¡¼¤Ë¥Á¥ã¥Ã¥È¤Î¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë¤Ë¤Ï¡¢¥¹¥Ú¡¼¥¹Ìµ¤·¤Ç <b>command "/save n"</b>¤ÈÂǤäƤ¯¤À¤µ¤¤¡£ </p> <p> <i>Î㤨¤Ð:</i> /save 5 </p> <p> £µ¤È¤¤¤¦¤Î¤Ï¡¢¥á¥Ã¥»¡¼¥¸¤òÊݸ¤¹¤ë¿ô¤òɽ¤·¤Þ¤¹¡£n ¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢Á´¤Æ¤Î¥Ç¡¼¥¿¤òÊݸ¤·¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); ?> <hr /> <p> <font size="+2"><a name="moderator"><b><u>´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼ÀìÍѤΥ³¥Þ¥ó¥É</u></b></a></font> </p> <p> <font size="+1"><a name="announce"><b>¥¢¥Ê¥¦¥ó¥¹¥á¥ó¥È¤òÁ÷¤ë:</b></a></font> </p> <p> ´ÉÍý¼Ô¤Ï¡¢Á´¤Æ¤ÎÉô²°¤Ë¥¢¥Ê¥¦¥ó¥¹¤òÁ÷¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£²¿¤«¤ò¥æ¡¼¥¶¡¼¤Ë¹ðÃΤ·¤¿¤¤¤È¤¤Ë¤Ï¡¢¤È¤Æ¤âÌò¤ËΩ¤Á¤Þ¤¹¡£<b>¥¢¥Ê¥¦¥ó¥¹¥³¥Þ¥ó¥É</b>¤ò»È¤¤¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð: /announce º£Æü¤ÎÌ룸»þ¤«¤é£±»þ´Ö¤Û¤É¥á¥¤¥ó¥Æ¥Ê¥ó¥¹¤ò¤·¤Þ¤¹¡£</i> </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <p> <font size="+1"><a name="kick"><b>¥æ¡¼¥¶¡¼¤òÄɤ¤½Ð¤¹:</b></a></font> </p> <p> ´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼¤Ï¡¢<b>Äɤ¤½Ð¤·¥³¥Þ¥ó¥É</b>¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢¥æ¡¼¥¶¡¼¤ò¤½¤Î¥Á¥ã¥Ã¥È¤«¤éÄɤ¤½Ð¤¹¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤Î¾ì¹ç¡¢¥æ¡¼¥¶¡¼¤Ï´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¡¼¤¬¤¤¤ë¥Á¥ã¥Ã¥È¤Ë¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ </p> <p> <i>Î㤨¤Ð</i>¡¢Jack ¤òÄɤ¤½Ð¤·¤¿¤¤¾ì¹ç¤Ï: <i>/kick Jack</i> </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php if (C_BANISH != 0) { ?> <p> <font size="+1"><a name="banish"><b>¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë:</b></a></font> </p> <p> ´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼¤Ï¡¢¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£ÄÉÊü¤¹¤ë¤Ë¤Ï¡¢<b>ÄÉÊü¥³¥Þ¥ó¥É</b>¤ò»ÈÍѤ·¤Þ¤¹¡£´ÉÍý¼Ô¤Ï´ÉÍý¥Ú¡¼¥¸¤«¤é¤Ç¤â½ÐÍè¤Þ¤¹¡£<br /> ´ÉÍý¼Ô¤Ï¡¢´ÉÍý¼Ô¼«¿È¤¬ÄÉÊü¤·¤¿¤¤¥æ¡¼¥¶¡¼¤ÎÉô²°¤Ë¤¤¤Ê¤¯¤Æ¤âÄÉÊü¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£´ÉÍý¼Ô¤Ï¡¢¤½¤Î¥æ¡¼¥¶¡¼¤ò±Ê±ó¤ËÄÉÊü¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¤·¡¢'<b> * </b>'¤ò»È¤¦¤³¤È¤Ç¡¢Á´¤Æ¤ÎÉô²°¤«¤é¤âÄÉÊü½ÐÍè¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð</i>¡¢Jack ¤¬ÄÉÊü¤·¤¿¤¤¥æ¡¼¥¶¡¼Ì¾¤À¤Ã¤¿¤È¤¹¤ë¤È¡¦¡¦¡¦ : <i>/ban Jack</i> ¤« <i>/ban * Jack</i>¤È¤Ê¤ê¤Þ¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> <hr /> <?php } echo("\n"); ?> <p> <font size="+1"><a name="promote"><b>¥æ¡¼¥¶¡¼¤ò¥â¥Ç¥ì¡¼¥¿¡¼¤ËǤ̿¤¹¤ë:</b></a></font> </p> <p> ´ÉÍý¼Ô¤È¥â¥Ç¥ì¡¼¥¿¡¼¤Ï¡¢ <b>Ǥ̿¥³¥Þ¥ó¥É</b>¤ò»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤ò¥â¥Ç¥ì¡¼¥¿¡¼¤ËǤ̿¤¹¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£ </p> <p> <i>Î㤨¤Ð</i>¡¢Ç¤Ì¿¤·¤¿¤¤¥æ¡¼¥¶¡¼¤ò Jack ¤À¤È¤¹¤ë¤È: <i>/promote Jack</i> </p> <p> ´ÉÍý¼Ô¤À¤±¤¬¥â¥Ç¥ì¡¼¥¿¡¼¤òÉáÄ̤Υ桼¥¶¡¼¤ËÌ᤹µ¡Ç½¤ò»È¤¨¤Þ¤¹¡£¤³¤Îµ¡Ç½¤Ë¤Ï¥³¥Þ¥ó¥É¤Ï¤Ê¤¯¡¢´ÉÍý¥Ú¡¼¥¸¤Î¤ß¤Ç¼Â¹Ô²Äǽ¤Ç¤¹¡£ </p> <p align="right"><a href="#top">¥È¥Ã¥×¤ËÌá¤ë</a></p> </body> </html> --- NEW FILE --- <?php // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team & the authors | // +--------------------------------------------------------------------------+ // | Japanese translation of the administration sheets for phpMyChat. | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: Yosuke Hamamoto <yo...@ke...> | // +--------------------------------------------------------------------------+ // // $Id: admin.loc,v 1.1 2001/04/15 18:55:56 loic1 Exp $ // // extra header for charset define('L_CHARSET', 'x-euc-jp'); // medium font size in pt. define('L_FONT_SIZE', 10); // Top frame define("A_MENU_0', '%s ¤Î´ÉÍý¥â¡¼¥É'); define('A_MENU_1', 'ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼'); define('A_MENU_2', 'ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼'); define('A_MENU_3', 'Éô²°¤ò½é´ü²½¤¹¤ë'); define('A_MENU_4', '¥á¡¼¥ë¤òÁ÷¤ë'); // Frame for registered users define('A_SHEET1_1', 'ÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤È¸¢¸Â¤òɽ¼¨¤¹¤ë'); define('A_SHEET1_2', '¥æ¡¼¥¶¡¼Ì¾'); define('A_SHEET1_3', '¸¢¸Â'); define('A_SHEET1_4', '¥â¥Ç¥ì¡¼¥¿¡¼¤Ç¤¢¤ëÉô²°'); define('A_SHEET1_5', '¥â¥Ç¥ì¡¼¥¿¡¼¤Ç¤¢¤ëÉô²°¤Ï¥¹¥Ú¡¼¥¹Ìµ¤·¤Î¥³¥ó¥Þ(,)¤Çʬ¤±¤é¤ì¤Æ¤¤¤Þ¤¹'); define('A_SHEET1_6', '¥Á¥§¥Ã¥¯¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤òºï½ü¤¹¤ë'); define('A_SHEET1_7', 'Êѹ¹'); define('A_SHEET1_8', 'µ®Êý°Ê³°¤ËÅÐÏ¿¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¤¤¤Þ¤»¤ó'); define('A_SHEET1_9', '¥Á¥§¥Ã¥¯¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë'); define('A_SHEET1_10', '·èÄê¤òÊѹ¹¤¹¤ë¾ì¹ç¤Ï¡¢ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Î¥Ú¡¼¥¸¤ò¸«¤Æ¤¯¤À¤µ¤¤'); define('A_SHEET1_11', 'ºÇ¸å¤ÎÀܳ»þ´Ö'); define('A_USER', '¥æ¡¼¥¶¡¼'); define('A_MODER', '¥â¥Ç¥ì¡¼¥¿¡¼'); define('A_PAGE_CNT', '%s ¥Ú¡¼¥¸ÌÜ (Á´ %s ¥Ú¡¼¥¸)'); // Frame for banished users define('A_SHEET2_1', 'ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤È¿´ÇÛ¤ÊÉô²°¤Î¥ê¥¹¥È'); define('A_SHEET2_2', 'IP¥¢¥É¥ì¥¹'); define('A_SHEET2_3', '¿´ÇÛ¤ÊÉô²°'); define('A_SHEET2_4', '¤Þ¤Ç'); define('A_SHEET2_5', '±Ê±ó'); define('A_SHEET2_6', 'Éô²°¤Ï¥¹¥Ú¡¼¥¹¤Ê¤·¤Ç¥³¥ó¥Þ(,)¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤Þ¤¹¡££´¤Ä°Ê¾å¤¢¤ë¾ì¹ç¤Ï¡¢¾Êά¤µ¤ì¤Þ¤¹¡£'); define('A_SHEET2_7', '¥Á¥§¥Ã¥¯¤ÎÉÕ¤¤¤¿¥æ¡¼¥¶¡¼¤ÎÄÉÊü¤ò²ò½ü¤¹¤ë'); define('A_SHEET2_8', 'ÄÉÊü¤µ¤ì¤¿¥æ¡¼¥¶¡¼¤Ï¤¤¤Þ¤»¤ó'); // Frame for cleaning rooms define('A_SHEET3_1', '¸½ºß¤¢¤ëÉô²°¤Î¥ê¥¹¥È'); define('A_SHEET3_2', 'Éô²°¤ò½é´ü²½¤¹¤ë¤È¤½¤ÎÉô²°¤ÎÁ´¤Æ¤Î¥â¥Ç¥ì¡¼¥¿¡¼¤Ïºï½ü¤µ¤ì¤Þ¤¹'); define('A_SHEET3_3', 'ÁªÂò¤µ¤ì¤¿Éô²°¤ò½é´ü²½¤¹¤ë'); define('A_SHEET3_4', '½é´ü²½¤¹¤ëÉô²°¤Ï¤¢¤ê¤Þ¤»¤ó'); // Frame for sending mails //define('A_SHEET4_0', ''chat/admin/mail4admin.php3'¤ÎÃæ¤Ë¤¢¤ëÀßÄ꤬½ª¤ï¤Ã¤Æ¤¤¤Þ¤»¤ó¡ª'); define('A_SHEET4_0', 'The \'C_ADM_SENDER\' and \'C_ADM_EMAIL\' constants<br />aren\'t defined inside the configuration file!'); define('A_SHEET4_1', '¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë'); define('A_SHEET4_2', '°¸Àè:'); define('A_SHEET4_3', 'Á´¤ÆÁªÂò'); define('A_SHEET4_4', '·ï̾:'); define('A_SHEET4_5', '¥á¥Ã¥»¡¼¥¸:'); define('A_SHEET4_6', 'Á÷¿®¤ò»Ï¤á¤ë'); define('A_SHEET4_7', 'Á´¤Æ¤Î¥á¡¼¥ë¤ÏÁ÷¿®¤µ¤ì¤Þ¤·¤¿'); //define('A_SHEET4_8', '¥á¡¼¥ë¤òÁ÷¿®¤·¤Æ¤¤¤ëºÇÃæ¤Ë¡¢Internal error¤¬È¯À¸¤·¤Þ¤·¤¿'); define('A_SHEET4_8', 'Some e-mails failed (see the list <a href="#mailErrors" class="errorLink">below</a>).'); define('A_SHEET4_9', '¥¢¥É¥ì¥¹¡¢·ï̾¡¢¤Þ¤¿¤Ï¥á¥Ã¥»¡¼¥¸¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Þ¤»¤ó'); define('A_SHEET4_10', 'Priority :'); define('A_SHEET4_11', 'Low'); define('A_SHEET4_12', 'Normal'); define('A_SHEET4_13', 'Urgent'); define('A_SHEET4_14', 'List of the sendings that failed'); define('A_SHEET4_15', 'E-mail address'); ?> Index: chat.loc =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/japanese/chat.loc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** chat.loc 2001/04/11 23:06:15 1.2 --- chat.loc 2001/04/15 18:55:56 1.3 *************** *** 60,64 **** // registration stuff: define('L_REG_1', '¥Ñ¥¹¥ï¡¼¥É'); ! define('L_REG_1r', '(ÅÐÏ¿¤òºÑ¤Þ¤»¤¿¿Í¤À¤±¤Ç¤¹)'); define('L_REG_2', '¥¢¥«¥¦¥ó¥ÈÊÔ½¸'); define('L_REG_3', 'ÅÐÏ¿¤¹¤ë'); --- 60,64 ---- // registration stuff: define('L_REG_1', '¥Ñ¥¹¥ï¡¼¥É'); ! define('L_REG_1r', '(ÅÐÏ¿¤·¤Æ¤¤¤Ê¤¤¿Í¤ÏÉÔÍ×)'); define('L_REG_2', '¥¢¥«¥¦¥ó¥ÈÊÔ½¸'); define('L_REG_3', 'ÅÐÏ¿¤¹¤ë'); *************** *** 77,81 **** define('L_REG_16', 'Êѹ¹'); define('L_REG_17', '¥æ¡¼¥¶¡¼¾ðÊó¤ÎÊѹ¹¤¬¹¹¿·¤µ¤ì¤Þ¤·¤¿'); ! define('L_REG_18', '¤¢¤Ê¤¿¤Ï¡¢¥â¥Ç¥ì¡¼¥¿¤«¤éÄɤ¤½Ð¤µ¤ì¤Þ¤·¤¿'); define('L_REG_19', 'ËÜÅö¤Ëºï½ü¤·¤Æ¤â¤¤¤¤¤Ç¤¹¤«¡©'); define('L_REG_20', '¤Ï¤¤'); --- 77,81 ---- define('L_REG_16', 'Êѹ¹'); define('L_REG_17', '¥æ¡¼¥¶¡¼¾ðÊó¤ÎÊѹ¹¤¬¹¹¿·¤µ¤ì¤Þ¤·¤¿'); ! define('L_REG_18', '¤¢¤Ê¤¿¤Ï¡¢¥â¥Ç¥ì¡¼¥¿¡¼¤«¤éÄɤ¤½Ð¤µ¤ì¤Þ¤·¤¿'); define('L_REG_19', 'ËÜÅö¤Ëºï½ü¤·¤Æ¤â¤¤¤¤¤Ç¤¹¤«¡©'); define('L_REG_20', '¤Ï¤¤'); *************** *** 103,107 **** // admin stuff ! define('L_ADM_1', '%s ¤Ï¡¢¤â¤¦¥â¥Ç¥ì¡¼¥¿¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó'); define('L_ADM_2', 'µ®Êý¤Ï¡¢¤â¤¦¥Á¥ã¥Ã¥ÈÅÐÏ¿¼Ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó'); --- 103,107 ---- // admin stuff ! define('L_ADM_1', '%s ¤Ï¡¢¤â¤¦¥â¥Ç¥ì¡¼¥¿¡¼¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó'); define('L_ADM_2', 'µ®Êý¤Ï¡¢¤â¤¦¥Á¥ã¥Ã¥ÈÅÐÏ¿¼Ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó'); *************** *** 191,195 **** define('L_HELP_CMD_7', 'Á°²óÂǤä¿¥á¥Ã¥»¡¼¥¸¤«¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£'); define('L_HELP_CMD_8', '¥á¥Ã¥»¡¼¥¸¤ÎÁ°¤Ë»þ´Ö¤òɽ¼¨/±£¤·¤Þ¤¹¡£'); ! define('L_HELP_CMD_9', '»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤òÄÉÊü¤·¤Þ¤¹¡£¥â¥Ç¥ì¡¼¥¿¡¼¤Î¤ß¤¬¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤǤ¤Þ¤¹¡£'); define('L_HELP_CMD_10', '¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤·¤Þ¤¹¡£(¾¤Î¿Í¤Ï¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò¸«¤é¤ì¤Þ¤»¤ó)'); define('L_HELP_CMD_11', '»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£'); --- 191,195 ---- define('L_HELP_CMD_7', 'Á°²óÂǤä¿¥á¥Ã¥»¡¼¥¸¤«¥³¥Þ¥ó¥É¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£'); define('L_HELP_CMD_8', '¥á¥Ã¥»¡¼¥¸¤ÎÁ°¤Ë»þ´Ö¤òɽ¼¨/±£¤·¤Þ¤¹¡£'); ! define('L_HELP_CMD_9', '»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¡¼¤òÄɤ¤½Ð¤·¤Þ¤¹¡£¥â¥Ç¥ì¡¼¥¿¡¼¤Î¤ß¤¬¤³¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤǤ¤Þ¤¹¡£'); define('L_HELP_CMD_10', '¥×¥é¥¤¥Ù¡¼¥È¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤·¤Þ¤¹¡£(¾¤Î¿Í¤Ï¤³¤Î¥á¥Ã¥»¡¼¥¸¤ò¸«¤é¤ì¤Þ¤»¤ó)'); define('L_HELP_CMD_11', '»ØÄꤵ¤ì¤¿¥æ¡¼¥¶¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£'); *************** *** 202,206 **** define('L_HELP_CMD_18', '¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤¬¤¤¤ë¥Á¥ã¥Ã¥È¤Ë¾·ÂÔ¤·¤Þ¤¹¡£'); define('L_HELP_CMD_19', '´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¡¼¤Ë»ØÄꤵ¤ì¤¿»þ´Ö¤À¤±¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë¤³¤È¤òµö¤·¤Þ¤¹¡£'); ! define('L_HELP_CMD_20', 'µ®Êý¼«¿®¤ò»²¾È¤»¤º¤Ë¡¢²¿¤ò¤·¤Æ¤¤¤¿¤«ÀâÌÀ¤·¤Þ¤¹¡£'); // messages frame --- 202,206 ---- define('L_HELP_CMD_18', '¾¤Î¥æ¡¼¥¶¡¼¤òµ®Êý¤¬¤¤¤ë¥Á¥ã¥Ã¥È¤Ë¾·ÂÔ¤·¤Þ¤¹¡£'); define('L_HELP_CMD_19', '´ÉÍý¼Ô¤«¥â¥Ç¥ì¡¼¥¿¡¼¤Ë»ØÄꤵ¤ì¤¿»þ´Ö¤À¤±¥æ¡¼¥¶¡¼¤òÄÉÊü¤¹¤ë¤³¤È¤òµö¤·¤Þ¤¹¡£'); ! define('L_HELP_CMD_20', 'µ®Êý¤¬²¿¤ò¤·¤Æ¤¤¤¿¤«¤òɽ¤·¤Þ¤¹¡£'); // messages frame |
|
From: Lo?c C. <lo...@us...> - 2001-04-15 18:54:56
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database
In directory usw-pr-cvs1:/tmp/cvs-serv12726/chat/lib/database
Modified Files:
odbc.lib.php3
Log Message:
odbc_num_rows seems to be usable to obtain the number of affected rows by a non 'SELECT' statement
Index: odbc.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database/odbc.lib.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** odbc.lib.php3 2001/04/10 15:00:06 1.2
--- odbc.lib.php3 2001/04/15 18:54:53 1.3
***************
*** 436,440 ****
function affectedRows()
{
! return numRows();
} // end of the 'affectedRows()' method
--- 436,440 ----
function affectedRows()
{
! return @odbc_num_rows($this->queryId);
} // end of the 'affectedRows()' method
|
|
From: Lo?c C. <lo...@us...> - 2001-04-15 18:52:59
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands
In directory usw-pr-cvs1:/tmp/cvs-serv12255/chat/lib/commands
Modified Files:
whois.cmd.php3
Log Message:
Hostname is now displayed after IP
Index: whois.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/whois.cmd.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** whois.cmd.php3 2001/04/13 11:42:08 1.3
--- whois.cmd.php3 2001/04/15 18:52:55 1.4
***************
*** 57,62 ****
{
if (substr($ip, 0, 1) == 'p')
! $ip = substr($ip, 1) . ' (proxy)';
! $error .= '\n' . sprintf(L_NONREG_USER_IP, $ip);
}
$dbLink->cleanResults();
--- 57,69 ----
{
if (substr($ip, 0, 1) == 'p')
! {
! $ip = substr($ip, 1);
! $ipProxyStr = ' (proxy)';
! }
! $hostname = @gethostbyaddr($ip);
! $ipString = $ip
! . ((isset($ipProxyStr)) ? $ipProxyStr : '')
! . (($hostname) ? ' - ' . $hostname : '');
! $error .= '\n' . sprintf(L_NONREG_USER_IP, $ipString);
}
$dbLink->cleanResults();
***************
*** 70,73 ****
--- 77,81 ----
$nickForUrl = urlencode($cmd[1]);
$winName = 'whois_popup_' . md5($cmd[1]);
+ $winHeight = (@gethostbyaddr('127.0.0.1')) ? 260 : 240;
$whoisUrl = 'whois_popup.' . C_EXTENSION
. '?' . dbSessionSID('GET')
***************
*** 78,82 ****
'<!--',
'// Lauch the whois popup',
! 'window.open(\'' . $whoisUrl . '\', \'' . $winName . '\', \'width=420,height=240,resizable=yes,scrollbars=yes\');',
'// -->',
'</script>'
--- 86,90 ----
'<!--',
'// Lauch the whois popup',
! 'window.open(\'' . $whoisUrl . '\', \'' . $winName . '\', \'width=420,height=' . $winHeight . ',resizable=yes,scrollbars=yes\');',
'// -->',
'</script>'
|
|
From: Lo?c C. <lo...@us...> - 2001-04-15 18:52:59
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv12255/chat
Modified Files:
whois_popup.php3
Log Message:
Hostname is now displayed after IP
Index: whois_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/whois_popup.php3,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** whois_popup.php3 2001/04/14 17:51:47 1.9
--- whois_popup.php3 2001/04/15 18:52:55 1.10
***************
*** 253,264 ****
if ($power != 'weak')
{
if (substr($ip, 0, 1) == 'p')
! $ip = substr($ip, 1) . ' (proxy)';
?>
<tr>
<td class="whois" nowrap="nowrap">IP: </td>
! <td class="whois" nowrap="nowrap"><?php echo($ip); ?></td>
</tr>
<?php
}
echo("\n");
--- 253,279 ----
if ($power != 'weak')
{
+ $ipProxyStr = '';
if (substr($ip, 0, 1) == 'p')
! {
! $ip = substr($ip, 1);
! $ipProxyStr = ' (proxy)';
! }
! $hostname = @gethostbyaddr($ip);
?>
<tr>
<td class="whois" nowrap="nowrap">IP: </td>
! <td class="whois" nowrap="nowrap"><?php echo($ip . $ipProxyStr); ?></td>
</tr>
<?php
+ if ($hostname)
+ {
+ echo("\n");
+ ?>
+ <tr>
+ <td class="whois" nowrap="nowrap">Host: </td>
+ <td class="whois" nowrap="nowrap"><?php echo($hostname); ?></td>
+ </tr>
+ <?php
+ }
}
echo("\n");
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 17:51:50
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv8837/chat/lib
Modified Files:
db_sessions.lib.php3
Log Message:
Optimzed some db links
Index: db_sessions.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/db_sessions.lib.php3,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** db_sessions.lib.php3 2001/04/14 16:05:06 1.6
--- db_sessions.lib.php3 2001/04/14 17:51:47 1.7
***************
*** 426,429 ****
--- 426,430 ----
else
{
+ // $dbSessionDbLink->close();
header('Location: ' . $dbSessionInitUrl);
return false;
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 17:51:50
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv8837/chat
Modified Files:
whois_popup.php3 users_popup_low.php3 users_popup.php3
users_low.php3 users.php3 save.php3 messages_low.php3
loader.php3 input.php3 ignore_popup.php3 handle_input.php3
exit.php3
Log Message:
Optimzed some db links
Index: whois_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/whois_popup.php3,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** whois_popup.php3 2001/04/13 11:42:08 1.8
--- whois_popup.php3 2001/04/14 17:51:47 1.9
***************
*** 60,63 ****
--- 60,66 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
Index: users_popup_low.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_popup_low.php3,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** users_popup_low.php3 2001/04/14 16:05:06 1.7
--- users_popup_low.php3 2001/04/14 17:51:47 1.8
***************
*** 57,60 ****
--- 57,63 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 87,96 ****
/**
! * Defines the room to be checked from the database including the private room
! * the user may be chatting into.
*
* The 'pmcSlashSingleQuotes()' function is defined in the
* 'chat/lib/common.lib.php3' script.
*/
$roomQueryPart = (dbSessionIsRegistered('currentRoom') && $dbSessionVars['roomType'] == 0)
? '(m.type = 1 OR (m.type = 0 AND m.room =\'' . pmcSlashSingleQuotes($dbSessionVars['currentRoom']) . '\'))'
--- 90,100 ----
/**
! * Initialize a db link and defines the rooms to be checked from the database
! * including the private room the user may be chatting into.
*
* The 'pmcSlashSingleQuotes()' function is defined in the
* 'chat/lib/common.lib.php3' script.
*/
+ $dbLink = new pmcDB;
$roomQueryPart = (dbSessionIsRegistered('currentRoom') && $dbSessionVars['roomType'] == 0)
? '(m.type = 1 OR (m.type = 0 AND m.room =\'' . pmcSlashSingleQuotes($dbSessionVars['currentRoom']) . '\'))'
***************
*** 119,129 ****
. 'ORDER BY m.m_time DESC '
. 'LIMIT 1';
! $beepDbLink = new pmcDB;
! $beepDbLink->query($beepQuery);
! $doBeep = (list($newLastCheck) = $beepDbLink->nextRecord());
if ($doBeep)
$lastCheck = $newLastCheck;
! $beepDbLink->cleanResults();
! $beepDbLink->close();
}
--- 123,131 ----
. 'ORDER BY m.m_time DESC '
. 'LIMIT 1';
! $dbLink->query($beepQuery);
! $doBeep = (list($newLastCheck) = $dbLink->nextRecord());
if ($doBeep)
$lastCheck = $newLastCheck;
! $dbLink->cleanResults();
}
***************
*** 177,185 ****
$allRooms = array();
! $getRoomsDb = new pmcDB;
! $getRoomsDb->query("SELECT DISTINCT u.room FROM " . C_USR_TBL . " u, " . C_MSG_TBL . " m WHERE u.room = m.room AND " . $roomQueryPart);
! while (list($aRoom) = $getRoomsDb->nextRecord())
$allRooms[pmcHandleMagicQuotes($aRoom, '', 1, 'del')] = '';
! $getRoomsDb->cleanResults();
$filteredAllRooms = array();
--- 179,186 ----
$allRooms = array();
! $dbLink->query("SELECT DISTINCT u.room FROM " . C_USR_TBL . " u, " . C_MSG_TBL . " m WHERE u.room = m.room AND " . $roomQueryPart);
! while (list($aRoom) = $dbLink->nextRecord())
$allRooms[pmcHandleMagicQuotes($aRoom, '', 1, 'del')] = '';
! $dbLink->cleanResults();
$filteredAllRooms = array();
***************
*** 189,194 ****
$usersDetails = array();
$slashedRoom = pmcSlashSingleQuotes($roomName);
! $getRoomsDb->query("SELECT username, latin1, status FROM " . C_USR_TBL . " WHERE room = '" . $slashedRoom ."' ORDER BY username");
! while (list($anUser, $latin1, $status) = $getRoomsDb->nextRecord())
{
$usersDetails[] = array( pmcHandleMagicQuotes($anUser, '', 1, 'del'),
--- 190,195 ----
$usersDetails = array();
$slashedRoom = pmcSlashSingleQuotes($roomName);
! $dbLink->query("SELECT username, latin1, status FROM " . C_USR_TBL . " WHERE room = '" . $slashedRoom ."' ORDER BY username");
! while (list($anUser, $latin1, $status) = $dbLink->nextRecord())
{
$usersDetails[] = array( pmcHandleMagicQuotes($anUser, '', 1, 'del'),
***************
*** 197,206 ****
);
}
! $getRoomsDb->cleanResults();
if (count($usersDetails) > 0)
$filteredAllRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
- $getRoomsDb->close();
$allRooms = $filteredAllRooms;
unset($roomName);
--- 198,206 ----
);
}
! $dbLink->cleanResults();
if (count($usersDetails) > 0)
$filteredAllRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
$allRooms = $filteredAllRooms;
unset($roomName);
***************
*** 246,249 ****
--- 246,256 ----
$usersList[] = '<center>' . L_NO_USER . '</center>';
} // end of the case when no user is chatting
+
+
+ /**
+ * Kill the opened database link
+ */
+ $dbLink->close();
+ unset($dbLink);
Index: users_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_popup.php3,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** users_popup.php3 2001/04/14 16:05:06 1.7
--- users_popup.php3 2001/04/14 17:51:47 1.8
***************
*** 56,59 ****
--- 56,62 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 86,95 ****
/**
! * Defines the room to be checked from the database including the private room
! * the user may be chatting into.
*
* The 'pmcSlashSingleQuotes()' function is defined in the
* 'chat/lib/common.lib.php3' script.
*/
$roomQueryPart = (dbSessionIsRegistered('currentRoom') && $dbSessionVars['roomType'] == 0)
? '(m.type = 1 OR (m.type = 0 AND m.room =\'' . pmcSlashSingleQuotes($dbSessionVars['currentRoom']) . '\'))'
--- 89,99 ----
/**
! * Initialize a db link and defines the rooms to be checked from the database
! * including the private room the user may be chatting into.
*
* The 'pmcSlashSingleQuotes()' function is defined in the
* 'chat/lib/common.lib.php3' script.
*/
+ $dbLink = new pmcDB;
$roomQueryPart = (dbSessionIsRegistered('currentRoom') && $dbSessionVars['roomType'] == 0)
? '(m.type = 1 OR (m.type = 0 AND m.room =\'' . pmcSlashSingleQuotes($dbSessionVars['currentRoom']) . '\'))'
***************
*** 118,128 ****
. 'ORDER BY m.m_time DESC '
. 'LIMIT 1';
! $beepDbLink = new pmcDB;
! $beepDbLink->query($beepQuery);
! $doBeep = (list($newLastCheck) = $beepDbLink->nextRecord());
if ($doBeep)
$lastCheck = $newLastCheck;
! $beepDbLink->cleanResults();
! $beepDbLink->close();
}
--- 122,130 ----
. 'ORDER BY m.m_time DESC '
. 'LIMIT 1';
! $dbLink->query($beepQuery);
! $doBeep = (list($newLastCheck) = $dbLink->nextRecord());
if ($doBeep)
$lastCheck = $newLastCheck;
! $dbLink->cleanResults();
}
***************
*** 176,184 ****
$allRooms = array();
! $getRoomsDb = new pmcDB;
! $getRoomsDb->query("SELECT DISTINCT u.room FROM " . C_USR_TBL . " u, " . C_MSG_TBL . " m WHERE u.room = m.room AND " . $roomQueryPart);
! while (list($aRoom) = $getRoomsDb->nextRecord())
$allRooms[pmcHandleMagicQuotes($aRoom, '', 1, 'del')] = '';
! $getRoomsDb->cleanResults();
$filteredAllRooms = array();
--- 178,185 ----
$allRooms = array();
! $dbLink->query("SELECT DISTINCT u.room FROM " . C_USR_TBL . " u, " . C_MSG_TBL . " m WHERE u.room = m.room AND " . $roomQueryPart);
! while (list($aRoom) = $dbLink->nextRecord())
$allRooms[pmcHandleMagicQuotes($aRoom, '', 1, 'del')] = '';
! $dbLink->cleanResults();
$filteredAllRooms = array();
***************
*** 188,193 ****
$usersDetails = array();
$slashedRoom = pmcSlashSingleQuotes($roomName);
! $getRoomsDb->query("SELECT username, latin1, status FROM " . C_USR_TBL . " WHERE room = '" . $slashedRoom ."' ORDER BY username");
! while (list($anUser, $latin1, $status) = $getRoomsDb->nextRecord())
{
$usersDetails[] = array( pmcHandleMagicQuotes($anUser, '', 1, 'del'),
--- 189,194 ----
$usersDetails = array();
$slashedRoom = pmcSlashSingleQuotes($roomName);
! $dbLink->query("SELECT username, latin1, status FROM " . C_USR_TBL . " WHERE room = '" . $slashedRoom ."' ORDER BY username");
! while (list($anUser, $latin1, $status) = $dbLink->nextRecord())
{
$usersDetails[] = array( pmcHandleMagicQuotes($anUser, '', 1, 'del'),
***************
*** 196,205 ****
);
}
! $getRoomsDb->cleanResults();
if (count($usersDetails) > 0)
$filteredAllRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
- $getRoomsDb->close();
$allRooms = $filteredAllRooms;
unset($roomName);
--- 197,205 ----
);
}
! $dbLink->cleanResults();
if (count($usersDetails) > 0)
$filteredAllRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
$allRooms = $filteredAllRooms;
unset($roomName);
***************
*** 254,257 ****
--- 254,264 ----
$usersList[] = '<center>' . L_NO_USER . '</center>';
} // end of the case when no user is chatting
+
+
+ /**
+ * Kill the opened database link
+ */
+ $dbLink->close();
+ unset($dbLink);
Index: users_low.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_low.php3,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** users_low.php3 2001/04/14 16:05:06 1.8
--- users_low.php3 2001/04/14 17:51:47 1.9
***************
*** 54,57 ****
--- 54,60 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 103,106 ****
--- 106,110 ----
$slashedCurrentRoomName = pmcSlashSingleQuotes($dbSessionVars['currentRoom']);
$usersList = array();
+ $dbLink = new pmcDB;
***************
*** 147,153 ****
. '</span><br />';
! $currentRoomDb = new pmcDB;
! $currentRoomDb->query($currentRoomQuery);
! while (list($username, $latin1, $status, $gender) = $currentRoomDb->nextRecord())
{
$usersCnt++;
--- 151,156 ----
. '</span><br />';
! $dbLink->query($currentRoomQuery);
! while (list($username, $latin1, $status, $gender) = $dbLink->nextRecord())
{
$usersCnt++;
***************
*** 192,197 ****
$usersList[] = "\t" . $tmpStr;
}
! $currentRoomDb->cleanResults();
! $currentRoomDb->close();
$usersList[] = '</p>';
--- 195,200 ----
$usersList[] = "\t" . $tmpStr;
}
! $dbLink->cleanResults();
! unset($tmpStr);
$usersList[] = '</p>';
***************
*** 237,245 ****
$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);
--- 240,247 ----
$othersRooms = array();
! $dbLink->query("SELECT DISTINCT room FROM " . C_MSG_TBL . " WHERE room != '$slashedCurrentRoomName' AND type = 1 ORDER BY room");
! while (list($otherRoom) = $dbLink->nextRecord())
$othersRooms[pmcHandleMagicQuotes($otherRoom, '', 1, 'del')] = '';
! $dbLink->cleanResults();
$filteredOtherRooms = array();
reset($othersRooms);
***************
*** 248,253 ****
$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'),
--- 250,255 ----
$usersDetails = array();
$slashedOther = pmcSlashSingleQuotes($roomName);
! $dbLink->query(str_replace('%OTHER%', $slashedOther, $otherRoomsQuery));
! while (list($otherUser, $latin1, $status, $gender) = $dbLink->nextRecord())
{
$usersDetails[] = array( pmcHandleMagicQuotes($otherUser, '', 1, 'del'),
***************
*** 257,266 ****
);
}
! $otherRoomDb->cleanResults();
if (count($usersDetails) > 0)
$filteredOtherRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
- $otherRoomDb->close();
$othersRooms = $filteredOtherRooms;
unset($roomName);
--- 259,267 ----
);
}
! $dbLink->cleanResults();
if (count($usersDetails) > 0)
$filteredOtherRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
$othersRooms = $filteredOtherRooms;
unset($roomName);
***************
*** 329,332 ****
--- 330,340 ----
unset($othersRooms);
+
+
+ /**
+ * Kill the opened database link
+ */
+ $dbLink->close();
+ unset($dbLink);
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** users.php3 2001/04/14 16:05:06 1.12
--- users.php3 2001/04/14 17:51:47 1.13
***************
*** 53,56 ****
--- 53,59 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 102,105 ****
--- 105,109 ----
$slashedCurrentRoomName = pmcSlashSingleQuotes($dbSessionVars['currentRoom']);
$usersList = array();
+ $dbLink = new pmcDB;
***************
*** 146,152 ****
$usersList[] = '<div style="margin-bottom: 10px">';
! $currentRoomDb = new pmcDB;
! $currentRoomDb->query($currentRoomQuery);
! while (list($username, $latin1, $status, $gender) = $currentRoomDb->nextRecord())
{
$usersCnt++;
--- 150,155 ----
$usersList[] = '<div style="margin-bottom: 10px">';
! $dbLink->query($currentRoomQuery);
! while (list($username, $latin1, $status, $gender) = $dbLink->nextRecord())
{
$usersCnt++;
***************
*** 191,196 ****
$usersList[] = "\t" . $tmpStr;
}
! $currentRoomDb->cleanResults();
! $currentRoomDb->close();
$usersList[] = '</div>';
--- 194,199 ----
$usersList[] = "\t" . $tmpStr;
}
! $dbLink->cleanResults();
! unset($tmpStr);
$usersList[] = '</div>';
***************
*** 236,244 ****
$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);
--- 239,246 ----
$othersRooms = array();
! $dbLink->query("SELECT DISTINCT room FROM " . C_MSG_TBL . " WHERE room != '$slashedCurrentRoomName' AND type = 1 ORDER BY room");
! while (list($otherRoom) = $dbLink->nextRecord())
$othersRooms[pmcHandleMagicQuotes($otherRoom, '', 1, 'del')] = '';
! $dbLink->cleanResults();
$filteredOtherRooms = array();
reset($othersRooms);
***************
*** 247,252 ****
$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'),
--- 249,254 ----
$usersDetails = array();
$slashedOther = pmcSlashSingleQuotes($roomName);
! $dbLink->query(str_replace('%OTHER%', $slashedOther, $otherRoomsQuery));
! while (list($otherUser, $latin1, $status, $gender) = $dbLink->nextRecord())
{
$usersDetails[] = array( pmcHandleMagicQuotes($otherUser, '', 1, 'del'),
***************
*** 256,265 ****
);
}
! $otherRoomDb->cleanResults();
if (count($usersDetails) > 0)
$filteredOtherRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
- $otherRoomDb->close();
$othersRooms = $filteredOtherRooms;
unset($roomName);
--- 258,266 ----
);
}
! $dbLink->cleanResults();
if (count($usersDetails) > 0)
$filteredOtherRooms[$roomName] = $usersDetails;
unset($usersDetails);
}
$othersRooms = $filteredOtherRooms;
unset($roomName);
***************
*** 337,340 ****
--- 338,348 ----
unset($othersRooms);
+
+
+ /**
+ * Kill the opened database link
+ */
+ $dbLink->close();
+ unset($dbLink);
Index: save.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/save.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** save.php3 2001/04/14 16:05:06 1.2
--- save.php3 2001/04/14 17:51:47 1.3
***************
*** 58,61 ****
--- 58,63 ----
);
dbSessionStart();
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 118,121 ****
--- 120,124 ----
$dbLink->cleanResults();
$dbLink->close();
+ unset($dbLink);
Index: messages_low.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/messages_low.php3,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** messages_low.php3 2001/04/14 16:05:06 1.8
--- messages_low.php3 2001/04/14 17:51:47 1.9
***************
*** 58,61 ****
--- 58,63 ----
dbSessionStart();
dbSessionUpdateLogTime();
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 131,134 ****
--- 133,137 ----
$dbLink->cleanResults();
$dbLink->close();
+ unset($dbLink);
Index: loader.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/loader.php3,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** loader.php3 2001/04/14 16:05:06 1.9
--- loader.php3 2001/04/14 17:51:47 1.10
***************
*** 70,73 ****
--- 70,75 ----
dbSessionUpdateLogTime();
}
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
***************
*** 184,187 ****
--- 186,190 ----
$dbLink->cleanResults();
$dbLink->close();
+ unset($dbLink);
Index: input.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/input.php3,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** input.php3 2001/04/14 16:05:06 1.17
--- input.php3 2001/04/14 17:51:47 1.18
***************
*** 68,72 ****
);
dbSessionStart();
- dbSessionUpdateLogTime();
/**
--- 68,71 ----
***************
*** 164,168 ****
// The db link should be closed but this can't be done under Apache because
// links id aren't updated :(
! $dbLink->close();
} // end of handle submitted message
--- 163,168 ----
// The db link should be closed but this can't be done under Apache because
// links id aren't updated :(
! // $dbLink->close();
! // unset($dbLink);
} // end of handle submitted message
***************
*** 173,177 ****
dbSessionSave();
$dbSessionDbLink->close();
!
--- 173,177 ----
dbSessionSave();
$dbSessionDbLink->close();
! unset($dbSessionDbLink);
Index: ignore_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/ignore_popup.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ignore_popup.php3 2001/04/14 16:05:06 1.3
--- ignore_popup.php3 2001/04/14 17:51:47 1.4
***************
*** 56,59 ****
--- 56,62 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
Index: handle_input.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/handle_input.php3,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** handle_input.php3 2001/04/14 16:05:06 1.15
--- handle_input.php3 2001/04/14 17:51:47 1.16
***************
*** 73,80 ****
exit();
}
- else
- {
- dbSessionUpdateLogTime();
- }
/**
--- 73,76 ----
***************
*** 173,177 ****
// The db link should be closed but this can't be done under Apache because
// links id aren't updated :(
! // $dbLink->close();
} // end of handle submitted message
--- 169,174 ----
// The db link should be closed but this can't be done under Apache because
// links id aren't updated :(
! // $dbLink->close();
! // unset($dbLink);
} // end of handle submitted message
***************
*** 182,186 ****
dbSessionSave();
$dbSessionDbLink->close();
!
--- 179,183 ----
dbSessionSave();
$dbSessionDbLink->close();
! unset($dbSessionDbLink);
Index: exit.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/exit.php3,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** exit.php3 2001/04/12 23:45:34 1.8
--- exit.php3 2001/04/14 17:51:47 1.9
***************
*** 34,38 ****
require('./lib/common.lib.' . C_EXTENSION);
require('./lib/database/' . C_DB_TYPE . '.lib.' . C_EXTENSION);
- require('./lib/clean.lib.' . C_EXTENSION);
/**
--- 34,37 ----
***************
*** 56,59 ****
--- 55,61 ----
);
dbSessionStart();
+ // Session musn't be saved by this script -> close the db link
+ $dbSessionDbLink->close();
+ unset($dbSessionDbLink);
/**
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 16:05:09
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv28962/chat/lib
Modified Files:
swearing.lib.php3 smilies.lib.php3 db_sessions.lib.php3
common.lib.php3
Log Message:
Optimization of control structures
Index: swearing.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/swearing.lib.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** swearing.lib.php3 2001/04/10 17:51:00 1.4
--- swearing.lib.php3 2001/04/14 16:05:06 1.5
***************
*** 30,35 ****
/**
! * Check for swearings and optionnaly replace them by another string of
! * characters.
*
* You can add all the swearings you want in the '$swearings' array below. As
--- 30,34 ----
/**
! * Define the list of swear words that should be avoided
*
* You can add all the swearings you want in the '$swearings' array below. As
***************
*** 40,43 ****
--- 39,66 ----
* as accentued ones.
*
+ * This variable is declared inside the '$GLOBALS' array to ensure its scope is
+ * global (this library can be called from inside a function)
+ */
+ $GLOBALS['swearings'] = array (
+ 'shit',
+ 'fuck([[:alpha:]]*)'
+ );
+
+ /**
+ * Define the string that will be used to replace swear words
+ *
+ * This variable is declared inside the '$GLOBALS' array to ensure its scope is
+ * global (this library can be called from inside a function)
+ */
+ $GLOBALS['replaceBy'] = '@#$*!';
+
+
+ //--- Don't modify lines below ---
+
+
+ /**
+ * Check for swearings and optionnaly replace them by another string of
+ * characters.
+ *
* @param string the string to search into
* @param boolean whether to check only (1) or to check and replace swearings
***************
*** 47,67 ****
* value is 1, the cleaned string else
*
* @access public
*/
! function checkWords($str = '', $testOnly = 0)
{
! $swearings = array ( 'shit',
! 'fuck([[:alpha:]]*)'
! );
!
! $replaceBy = '@#$*!'; // String that will replace swearings
!
!
! //--- Don't modify lines below ---
! $found = false;
! for (reset($swearings); $toFind = current($swearings); next($swearings))
{
! $found = eregi($toFind, $str);
if ($found)
{
--- 70,89 ----
* value is 1, the cleaned string else
*
+ * @global array the list of swear words that should be avoided
+ * @global string the string that will be used to replace swear words
+ *
* @access public
*/
! function checkWords($str = '', $testOnly = false)
{
! global $swearings;
! global $replaceBy;
! $found = false;
! $swearingsCnt = count($swearings);
! reset($swearings);
! for ($i = 0; $i < $swearingsCnt; $i++)
{
! $found = eregi($swearings[$i], $str);
if ($found)
{
***************
*** 69,77 ****
break;
else
! $str = eregi_replace($toFind, $replaceBy, $str);
}
}
- unset($swearings);
return ($testOnly) ? $found : $str;
} // end of the 'checkWords()' function
--- 91,98 ----
break;
else
! $str = eregi_replace($swearings[$i], $replaceBy, $str);
}
}
return ($testOnly) ? $found : $str;
} // end of the 'checkWords()' function
Index: smilies.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/smilies.lib.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** smilies.lib.php3 2001/04/11 23:06:14 1.3
--- smilies.lib.php3 2001/04/14 16:05:06 1.4
***************
*** 86,95 ****
$tmp = split('<a href|</a>', ' ' . $string . ' ');
! $i = 0;
!
! for (reset($tmp); $substring = current($tmp); next($tmp))
{
// $substring is one of the trailing spaces added above -> do nothing
! if($substring == ' ')
{
// void
--- 86,97 ----
$tmp = split('<a href|</a>', ' ' . $string . ' ');
! $arrayCnt = count($tmp);
! reset($tmp);
! for ($i = 0; $i < $arrayCnt; $i++)
{
+ $substring = $tmp[$i];
+
// $substring is one of the trailing spaces added above -> do nothing
! if ($substring == ' ')
{
// void
***************
*** 109,113 ****
$tmp[$i] = '<a href' . $substring . '</a>';
}
- $i++;
}
$string = trim(join('', $tmp));
--- 111,114 ----
Index: db_sessions.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/db_sessions.lib.php3,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** db_sessions.lib.php3 2001/04/13 10:29:19 1.5
--- db_sessions.lib.php3 2001/04/14 16:05:06 1.6
***************
*** 164,180 ****
$i = 0;
! for (reset($tmp); $currenElt = current($tmp); next($tmp))
{
if ($i % 2 == 0) // The name of a variable
{
! $varName = substr($currenElt, strpos($currenElt, "\"") + 1, - 1);
}
else // the value of a variable
{
! if (strpos($currenElt, "\"")) // Value is a string
! $varValue = substr($currenElt, strpos($currenElt, "\"") + 1, - 1);
else // Value is an integer
! $varValue = $currenElt;
! if ($i == count($tmp) - 1) // Removes ending characters
$varValue = ereg_replace('("|;)$', '', $varValue);
--- 164,182 ----
$i = 0;
! $tmpCnt = count($tmp);
! reset($tmp);
! for ($k = 0; $k < $tmpCnt; $k++)
{
if ($i % 2 == 0) // The name of a variable
{
! $varName = substr($tmp[$k], strpos($tmp[$k], "\"") + 1, - 1);
}
else // the value of a variable
{
! if (strpos($tmp[$k], "\"")) // Value is a string
! $varValue = substr($tmp[$k], strpos($tmp[$k], "\"") + 1, - 1);
else // Value is an integer
! $varValue = $tmp[$k];
! if ($i == $tmpCnt - 1) // Removes ending characters
$varValue = ereg_replace('("|;)$', '', $varValue);
***************
*** 185,188 ****
--- 187,191 ----
}
unset($tmp);
+ unset($tmpCnt);
return $ret;
***************
*** 204,211 ****
*/
function in_array($needle, &$haystack)
! {
! for ($i = 0; $i < count($haystack) && $haystack[$i] != $needle; $i++);
! return ($i != count($haystack));
} // end of the 'in_array()' function
} // end of the PHP < 4.0 case
--- 207,215 ----
*/
function in_array($needle, &$haystack)
! {
! $haystackCnt = count($haystack);
! for ($i = 0; $i < $haystackCnt && $haystack[$i] != $needle; $i++);
! return ($i != $haystackCnt);
} // end of the 'in_array()' function
} // end of the PHP < 4.0 case
Index: common.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/common.lib.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** common.lib.php3 2001/04/13 08:59:26 1.4
--- common.lib.php3 2001/04/14 16:05:06 1.5
***************
*** 146,153 ****
{
$ret = 0;
reset($which);
! while (list($key, $value) = each($which))
{
! $ret += pmcGrabGlobals($value);
}
return $ret;
--- 146,154 ----
{
$ret = 0;
+ $max = count($which);
reset($which);
! for ($i = 0; $i < $max; $i++)
{
! $ret += pmcGrabGlobals($which[$i]);
}
return $ret;
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 16:05:09
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv28962/chat/lib/index_libs
Modified Files:
main_index.lib.php3 index_validation.lib.php3
Log Message:
Optimization of control structures
Index: main_index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** main_index.lib.php3 2001/04/13 19:30:55 1.13
--- main_index.lib.php3 2001/04/14 16:05:06 1.14
***************
*** 717,721 ****
echo("\n");
! for ($i = 0; $i < count($defaultChatRooms); $i++)
{
$tmpRoom = stripslashes($defaultChatRooms[$i]);
--- 717,723 ----
echo("\n");
! $arrayCnt = count($defaultChatRooms);
! reset($defaultChatRooms);
! for ($i = 0; $i < $arrayCnt; $i++)
{
$tmpRoom = stripslashes($defaultChatRooms[$i]);
Index: index_validation.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/index_validation.lib.php3,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** index_validation.lib.php3 2001/04/13 19:30:55 1.6
--- index_validation.lib.php3 2001/04/14 16:05:06 1.7
***************
*** 294,298 ****
$otherModeratedRooms = pmcHandleMagicQuotes($otherModeratedRooms, '', 1, 'del');
$rooms = explode(',', $otherModeratedRooms);
! for ($i = 0; $i < count($rooms); $i++)
{
if (strcasecmp($createRoomName, $rooms[$i]) == 0)
--- 294,300 ----
$otherModeratedRooms = pmcHandleMagicQuotes($otherModeratedRooms, '', 1, 'del');
$rooms = explode(',', $otherModeratedRooms);
! $arrayCnt = count($rooms);
! reset($rooms);
! for ($i = 0; $i < $arrayCnt; $i++)
{
if (strcasecmp($createRoomName, $rooms[$i]) == 0)
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 16:05:09
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands
In directory usw-pr-cvs1:/tmp/cvs-serv28962/chat/lib/commands
Modified Files:
invite.cmd.php3 ignore.cmd.php3
Log Message:
Optimization of control structures
Index: invite.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/invite.cmd.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** invite.cmd.php3 2001/04/13 08:59:26 1.3
--- invite.cmd.php3 2001/04/14 16:05:06 1.4
***************
*** 82,86 ****
// Get all addressee and insert a message for each one of them
$invitedUsers = explode(',', $cmd[2]);
! for ($i = 0; $i < count($invitedUsers); $i++)
{
$invitedUsers[$i] = trim($invitedUsers[$i]);
--- 82,88 ----
// Get all addressee and insert a message for each one of them
$invitedUsers = explode(',', $cmd[2]);
! $invitedUsersCnt = count($invitedUsers);
! reset($invitedUsers);
! for ($i = 0; $i < $invitedUsersCnt; $i++)
{
$invitedUsers[$i] = trim($invitedUsers[$i]);
Index: ignore.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/ignore.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ignore.cmd.php3 2001/04/12 09:37:44 1.2
--- ignore.cmd.php3 2001/04/14 16:05:06 1.3
***************
*** 68,73 ****
if (!dbSessionIsRegistered('ignoredSenders'))
$dbSessionVars['ignoredSenders'] = '';
! $toAdd = explode(',', $cmd[3]);
! for ($i = 0; $i < count($toAdd); $i++)
{
$toAdd[$i] = trim($toAdd[$i]);
--- 68,75 ----
if (!dbSessionIsRegistered('ignoredSenders'))
$dbSessionVars['ignoredSenders'] = '';
! $toAdd = explode(',', $cmd[3]);
! $toAddCnt = count($toAdd);
! reset($toAdd);
! for ($i = 0; $i < $toAddCnt; $i++)
{
$toAdd[$i] = trim($toAdd[$i]);
***************
*** 110,115 ****
$toRemove = explode(',', $cmd[3]);
$ignoredUsers = explode(',', $dbSessionVars['ignoredSenders']);
reset($toRemove);
! for ($i = 0; $i < count($toRemove); $i++)
{
$toRemove[$i] = trim($toRemove[$i]);
--- 112,118 ----
$toRemove = explode(',', $cmd[3]);
$ignoredUsers = explode(',', $dbSessionVars['ignoredSenders']);
+ $toRemoveCnt = count($toRemove);
reset($toRemove);
! for ($i = 0; $i < $toRemoveCnt; $i++)
{
$toRemove[$i] = trim($toRemove[$i]);
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 15:13:43
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv22658/chat/lib/index_libs
Modified Files:
misc.lib.js
Log Message:
Fix a little bug about latin1 entities transformation
Index: misc.lib.js
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/misc.lib.js,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** misc.lib.js 2001/04/13 12:52:29 1.5
--- misc.lib.js 2001/04/14 15:13:40 1.6
***************
*** 111,115 ****
if (sendTo)
{
- sendTo.value = nick;
var msgBox = jsInputForm.elements['message'];
--- 111,114 ----
***************
*** 123,129 ****
else
{
! msgBox.value += nick;
if (msgBox.value == nick)
! msgBox.value += '> ';
}
--- 122,129 ----
else
{
! sendTo.value = nick;
! msgBox.value += nick;
if (msgBox.value == nick)
! msgBox.value += '> ';
}
|
|
From: Lo?c C. <lo...@us...> - 2001-04-14 15:13:43
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv22658/chat/lib
Modified Files:
format_messages.lib.php3
Log Message:
Fix a little bug about latin1 entities transformation
Index: format_messages.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/format_messages.lib.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** format_messages.lib.php3 2001/04/11 23:06:14 1.3
--- format_messages.lib.php3 2001/04/14 15:13:40 1.4
***************
*** 118,133 ****
if ($latin1)
{
! $pattern = '(.*)(' . $GLOBALS['msgTo']. '(>)?)(.*)';
! ereg($pattern, $theMessage, $regs);
! if ($GLOBALS['msgTo'] != ''
! && ($regs[1] == '' && $regs[4] == ''))
! $regs[4] = $theMessage;
if (!ereg('&[[:alnum:]]{1,10}', $regs[1])
! && !ereg('&[[:alnum:]]{1,10}',$regs[4]))
{
! for ($i = 1; $i <= 4; $i++)
{
! if (($i != 1 && $i != 4) || $regs[$i] == '')
continue;
$part = $regs[$i];
--- 118,140 ----
if ($latin1)
{
! // Avoid nick transformation
! if ($GLOBALS['msgTo'] != '')
! {
! $pattern = '(.*)(' . $GLOBALS['msgTo']. '(>)?)(.*)';
! ereg($pattern, $theMessage, $regs);
! }
! $regs[1] = (isset($regs[1])) ? $regs[1] : '';
! $regs[2] = (isset($regs[2])) ? $regs[2] : '';
! $regs[4] = (isset($regs[4])) ? $regs[4] : '';
! if ($regs[1] == '' && $regs[4] == '')
! $regs[4] = $theMessage;
+ // Do the work
if (!ereg('&[[:alnum:]]{1,10}', $regs[1])
! && !ereg('&[[:alnum:]]{1,10}', $regs[4]))
{
! for ($i = 1; $i < 5; $i += 3)
{
! if ($regs[$i] == '')
continue;
$part = $regs[$i];
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 21:10:38
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv8411/chat/lib
Modified Files:
connectStateH.js
Log Message:
Clicking on the red button frees the submit button at the input frame
***** Bogus filespec: -
***** Bogus filespec: 0.14/chat/lib
Index: connectStateH.js
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/lib/connectStateH.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** connectStateH.js 2001/02/25 19:10:08 1.2
--- connectStateH.js 2001/04/13 21:10:35 1.3
***************
*** 74,77 ****
--- 74,83 ----
Connecting(1);
force_refresh();
+ with (window.parent.frames['input'].window.document.forms['MsgForm'])
+ {
+ elements['sent'].value = '0';
+ if (document.all)
+ elements['sendForm'].disabled = false;
+ }
};
};
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 21:10:19
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv8320/chat/lib/index_libs
Modified Files:
connect_state.lib.js
Log Message:
Clicking on the red button frees the submit button at the input frame
Index: connect_state.lib.js
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/connect_state.lib.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** connect_state.lib.js 2001/04/03 20:10:15 1.1
--- connect_state.lib.js 2001/04/13 21:10:15 1.2
***************
*** 68,72 ****
exitFrm.document.images['imgConState'].src = jsImgConnect.src;
}
- else return;
if (numTry < 3)
--- 68,71 ----
***************
*** 80,83 ****
--- 79,84 ----
jsConnect = 0;
}
+
+ return true;
} // end of the 'pmcConnecting()' function
***************
*** 122,125 ****
--- 123,132 ----
// 'chat/lib/index_libs/main_index.lib.php3' script
pmcDoRefreshLoader();
+ with (window.parent.frames['input'].window.document.forms['inputForm'])
+ {
+ elements['sent'].value = '0';
+ if (document.all)
+ elements['submitType'].disabled = false;
+ }
}
} // end of the 'pmcReConnect()' function
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 19:30:59
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv9614/chat/lib/index_libs
Modified Files:
start_page.lib.js main_index.lib.php3
index_validation.lib.php3 do_enter_db_work.lib.php3
Log Message:
Fix some important bugs about logging... first alpha release is not so far now ;)
Index: start_page.lib.js
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/start_page.lib.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** start_page.lib.js 2001/04/10 15:00:06 1.3
--- start_page.lib.js 2001/04/13 19:30:55 1.4
***************
*** 177,181 ****
return false;
}
! else if (reNick.test(nickField.value)) // invalid characters in
{ // the nick
nickField.focus();
--- 177,181 ----
return false;
}
! else if (reNick.test(nickField.value)) // invalid characters in
{ // the nick
nickField.focus();
***************
*** 219,222 ****
--- 219,223 ----
// All the tests have been succesfully passed -> submit the from
+ document.forms['startingForm'].elements['isJsValidated'].value = 1;
return true;
} // end of the function 'pmcIndexValidate()'
Index: main_index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** main_index.lib.php3 2001/04/13 08:59:26 1.12
--- main_index.lib.php3 2001/04/13 19:30:55 1.13
***************
*** 79,85 ****
$createRoomName = pmcHandleMagicQuotes($createRoomName, '1', '', 'del');
if (!empty($cookieUsername))
! $cookieUsername = pmcHandleMagicQuotes($cookieUsername, '1', '', 'del');
if (!empty($cookieRoom))
! $cookieRoom = pmcHandleMagicQuotes($cookieRoom, '1', '', 'del');
--- 79,85 ----
$createRoomName = pmcHandleMagicQuotes($createRoomName, '1', '', 'del');
if (!empty($cookieUsername))
! $cookieUsername = urldecode(pmcHandleMagicQuotes($cookieUsername, '1', '', 'del'));
if (!empty($cookieRoom))
! $cookieRoom = urldecode(pmcHandleMagicQuotes($cookieRoom, '1', '', 'del'));
***************
*** 126,130 ****
* 'chat/lib/common.lib.php3' library
*/
! $error = '';
// Get the relative path to the script that called this one
--- 126,132 ----
* 'chat/lib/common.lib.php3' library
*/
! $error = '';
! if (empty($isJsValidated))
! $isJsValidated = 0;
// Get the relative path to the script that called this one
***************
*** 233,248 ****
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['currentRoom'];
! $jsVersion = $dbSessionVars['jsVersion'];
}
--- 235,251 ----
if (isset($newTargetRoom))
{
! $roomType = substr($newTargetRoom, 0, 1);
! $targetRoom = substr($newTargetRoom, 1);
unset($newTargetRoom);
! if (empty($reloading))
! $reloading = 'joinLink';
! $jsVersion = $dbSessionVars['jsVersion'];
}
// fix for the NS resize bug case
else if (isset($reloading) && $reloading == 'nsResize')
{
! $roomType = $dbSessionVars['roomType'];
! $targetRoom = $dbSessionVars['currentRoom'];
! $jsVersion = $dbSessionVars['jsVersion'];
}
***************
*** 307,311 ****
{
$error = pmcValidateNickAndPaswd( $isRegUser, $regUserPerms, $regUserModeratedRooms,
! $wasInRoom);
if ($error == '')
{
--- 310,314 ----
{
$error = pmcValidateNickAndPaswd( $isRegUser, $regUserPerms, $regUserModeratedRooms,
! $previousId, $wasInRoom);
if ($error == '')
{
***************
*** 343,347 ****
* In these cases, banishement of the user has already been checked.
*/
! if ($error == '' && empty($reloading))
{
if (C_BANISH && $regUserPerms != 'admin')
--- 346,351 ----
* In these cases, banishement of the user has already been checked.
*/
! if ($error == ''
! && (empty($reloading) || $reloading == 'joinLink'))
{
if (C_BANISH && $regUserPerms != 'admin')
***************
*** 501,505 ****
$layoutNick = $dbSessionVars['nick'];
else if (isset($GLOBALS['cookieUsername']))
! $layoutNick = $GLOBALS['cookieUsername'];
else
$layoutNick = '';
--- 505,509 ----
$layoutNick = $dbSessionVars['nick'];
else if (isset($GLOBALS['cookieUsername']))
! $layoutNick = urldecode($GLOBALS['cookieUsername']);
else
$layoutNick = '';
***************
*** 508,512 ****
$layoutRoom = $dbSessionVars['currentRoom'];
else if (isset($GLOBALS['cookieRoom']))
! $layoutRoom = $GLOBALS['cookieRoom'];
else
$layoutRoom = '';
--- 512,516 ----
$layoutRoom = $dbSessionVars['currentRoom'];
else if (isset($GLOBALS['cookieRoom']))
! $layoutRoom = urldecode($GLOBALS['cookieRoom']);
else
$layoutRoom = '';
***************
*** 585,588 ****
--- 589,593 ----
?>
<input type="hidden" name="jsVersion" value="low" />
+ <input type="hidden" name="isJsValidated" value="0" />
<table border="0" cellpadding="3" class="chatTable">
Index: index_validation.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/index_validation.lib.php3,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** index_validation.lib.php3 2001/04/11 23:06:14 1.5
--- index_validation.lib.php3 2001/04/13 19:30:55 1.6
***************
*** 35,58 ****
* phpMyChat
*
! * @param $isRegNick true if the nick is a registered one
! * @param $regNickPerms permission level associated to the nick
! * @param $regNickModeratedRooms list of the room moderated by the user
! * @param $loggedInRoom name of the room the user was chatting into
*
! * @return string error number (empty if no error)
*
! * @global object the instance of the pmcDB object
! * @global string the nick of the user who wants to enter the
! * chat
! * @global string the slashed nick of the user who wants to
! * enter the chat
! * @global string the password entered by this user
! * @global string the md5 hash of this password
*
* @access public
*/
function pmcValidateNickAndPaswd( &$isRegNick, &$regNickPerms, &$regNickModeratedRooms,
! &$loggedInRoom)
{
global $dbLink;
global $nick, $slashedNick;
--- 35,60 ----
* phpMyChat
*
! * @param string true if the nick is a registered one
! * @param string permission level associated to the nick
! * @param string list of the room moderated by the user
! * @param string previous id of the user whith the same nick
! * @param string name of the room the user was chatting into
*
! * @return string error number (empty if no error)
*
! * @global integer whether a quick javascript validation ran or not
! * @global object the instance of the pmcDB object
! * @global string the nick of the user who wants to enter the chat
! * @global string the slashed nick of the user who wants to enter
! * the chat
! * @global string the password entered by this user
! * @global string the md5 hash of this password
*
* @access public
*/
function pmcValidateNickAndPaswd( &$isRegNick, &$regNickPerms, &$regNickModeratedRooms,
! &$loggedInId, &$loggedInRoom)
{
+ global $isJsValidated;
global $dbLink;
global $nick, $slashedNick;
***************
*** 65,74 ****
// 1. Ensures invalid characters/words aren't in use for the nick
// Ensures a nick has been submitted
! if ($nick == '')
{
$error1 = L_ERR_USR_2;
}
// Checks for invalid characters or empty nick
! else if (trim($nick) == '' || ereg('[\, ]', $nick))
{
$error1 = L_ERR_USR_16;
--- 67,77 ----
// 1. Ensures invalid characters/words aren't in use for the nick
// Ensures a nick has been submitted
! if (!$isJsValidated && $nick == '')
{
$error1 = L_ERR_USR_2;
}
// Checks for invalid characters or empty nick
! else if (!$isJsValidated &&
! (trim($nick) == '' || ereg('[\, ]', $nick)))
{
$error1 = L_ERR_USR_16;
***************
*** 86,91 ****
if ($error1 == '')
{
! $dbLink->query("SELECT room FROM " . C_USR_TBL . " WHERE username = '$slashedNick' LIMIT 1");
! $isLoggedIn = (list($loggedInRoom) = $dbLink->nextRecord());
if ($isLoggedIn)
{
--- 89,94 ----
if ($error1 == '')
{
! $dbLink->query("SELECT session_id, room FROM " . C_USR_TBL . " WHERE username = '$slashedNick' LIMIT 1");
! $isLoggedIn = (list($loggedInId, $loggedInRoom) = $dbLink->nextRecord());
if ($isLoggedIn)
{
***************
*** 152,170 ****
* the user will be granted inside this room
*
! * @param $userPerms permission level associated to the nick
! * @param $userModeratedRooms list of the room moderated by the user
*
! * @return string error number
*
! * @global object the instance of the pmcDB object
! * @global string the slashed nick of the user who wants to
! * enter the chat
! * @global boolean whether this nick is a registered one or
! * not
! * @global string the name of the room to create
! * @global string the slashed name of the room to create
! * @global integer the type of the room to create
! * @global string the list of default public rooms
! * @global string the list of default private rooms
*
* @access public
--- 155,171 ----
* the user will be granted inside this room
*
! * @param string permission level associated to the nick
! * @param string list of the room moderated by the user
*
! * @return string error number
*
! * @global integer whether a quick javascript validation ran or not
! * @global object the instance of the pmcDB object
! * @global string the slashed nick of the user who wants to enter the chat
! * @global boolean whether this nick is a registered one or not
! * @global string the name of the room to create
! * @global integer the type of the room to create
! * @global string the list of default public rooms
! * @global string the list of default private rooms
*
* @access public
***************
*** 172,182 ****
function pmcValidateRoomCreation(&$userPerms, &$userModeratedRooms)
{
global $dbLink;
global $slashedNick;
global $isRegUser;
! global $createRoomName, $slashedRoomName, $roomType;
global $defaultChatRooms, $defaultPrivateRooms;
$error2 = '';
// 1. Validates the room name
--- 173,185 ----
function pmcValidateRoomCreation(&$userPerms, &$userModeratedRooms)
{
+ global $isJsValidated;
global $dbLink;
global $slashedNick;
global $isRegUser;
! global $createRoomName, $roomType;
global $defaultChatRooms, $defaultPrivateRooms;
$error2 = '';
+ $isNewRoom = true;
// 1. Validates the room name
***************
*** 192,196 ****
}
// Checks for invalid characters or empty room name
! else if (trim($createRoomName) == '' || ereg('[\,]', $createRoomName))
{
$error2 = L_ERR_ROM_1;
--- 195,200 ----
}
// Checks for invalid characters or empty room name
! else if (!$isJsValidated &&
! (trim($createRoomName) == '' || ereg('[\,]', $createRoomName)))
{
$error2 = L_ERR_ROM_1;
***************
*** 202,223 ****
}
// Ensures there is no existing room with the same name but a different
! // type...
else
{
// ...among reserved name for private/public (default) rooms
$searchIn = ($roomType == 1) ? $defaultPrivateRooms : $defaultChatRooms;
! if (pmcIsInto($slashedRoomName, $searchIn) >= 0)
$error2 = ($roomType == 0) ? L_ERR_ROM_3 : L_ERR_ROM_4;
unset($searchIn);
// ...among other rooms created by users
! if ($error2 == '')
{
! $oppositeType = 1 - $roomType;
! $dbLink->query("SELECT COUNT(*) FROM " . C_MSG_TBL . " WHERE room = '$slashedRoomName' AND type = '$oppositeType' LIMIT 1");
! list($isOpposite) = $dbLink->nextRecord();
$dbLink->cleanResults();
! if ($isOpposite != 0)
! $error2 = ($T == 0) ? L_ERR_ROM_3 : L_ERR_ROM_4;
}
}
--- 206,253 ----
}
// Ensures there is no existing room with the same name but a different
! // type and if this condition is true get case sensitive name of room...
else
{
+ $theSlashedRoomName = pmcSlashSingleQuotes($createRoomName);
+
// ...among reserved name for private/public (default) rooms
$searchIn = ($roomType == 1) ? $defaultPrivateRooms : $defaultChatRooms;
! if (pmcIsInto($createRoomName, $searchIn) >= 0)
! {
$error2 = ($roomType == 0) ? L_ERR_ROM_3 : L_ERR_ROM_4;
+ }
+ else
+ {
+ $searchIn = ($roomType == 1) ? $defaultChatRooms : $defaultPrivateRooms;
+ $roomExist = pmcIsInto($createRoomName, $searchIn);
+ if ($roomExist >= 0)
+ {
+ $isNewRoom = false;
+ if ($roomType == 1)
+ {
+ $GLOBALS['enterDefaultRoomName'] = $searchIn[$roomExist];
+ $createRoomName = '';
+ }
+ else
+ {
+ $createRoomName = $searchIn[$roomExist];
+ }
+ }
+ }
unset($searchIn);
// ...among other rooms created by users
! if ($error2 == '' && $isNewRoom)
{
! $dbLink->query("SELECT type, room FROM " . C_MSG_TBL . " WHERE room = '$theSlashedRoomName' LIMIT 1");
! $roomExist = (list($trueType, $trueCaseName) = $dbLink->nextRecord());
$dbLink->cleanResults();
! if ($roomExist)
! {
! if ($roomType != $trueType)
! $error2 = ($roomType == 0) ? L_ERR_ROM_3 : L_ERR_ROM_4;
! else
! $createRoomName = pmcHandleMagicQuotes($trueCaseName, '', 1, 'del');
! }
}
}
***************
*** 225,260 ****
// end of the 1st stage (validation of the name of the room to create)
! // 2. Defines the permission level of the user for the room to create
! if ($error2 == '')
{
- $isNewRoom = true;
-
- // If the name of the room to be created is a reserved one for
- // private/public (default) rooms, status will be 'user'.
- // Skipped if the frameset is reloaded because of the NS4+ resize bug,
- // because the user has run a '/join' command or because he has clicked
- // on a room name at the users frame.
- if (!isset($GLOBALS['reloading']))
- {
- $searchIn = ($roomType == 1) ? $defaultChatRooms : $defaultPrivateRooms;
- $isNewRoom = (pmcIsInto($slashedRoomName, $searchIn) >= 0);
- unset($searchIn);
- }
-
// If the name of the room to be created is the same than one of an
// existing room containing 'true' messages (not only notifications of
// users entrance/exit) or containing only 'system' message but an user
// is currently logged in, status will be 'user'
! if ($isNewRoom)
! {
! $dbLink->query("SELECT COUNT(*) FROM " . C_MSG_TBL . " WHERE room = '$slashedRoomName' AND username NOT LIKE 'SYS %' LIMIT 1");
! list($isTrueMsg) = $dbLink->nextRecord();
! $isNewRoom = ($isTrueMsg == 0);
! $dbLink->cleanResults();
! }
if ($isNewRoom)
{
! $dbLink->query("SELECT COUNT(*) FROM " . C_USR_TBL . " WHERE room = '$slashedRoomName' AND username != '$slashedNick' LIMIT 1");
list($isAnybody) = $dbLink->nextRecord();
$isNewRoom = ($isAnybody == 0);
--- 255,275 ----
// end of the 1st stage (validation of the name of the room to create)
! // 2. Defines the permission level of the user for the room to create.
! // Skipped for administrator and if the room to "create" is among
! // default public ones.
! if ($error2 == '' && $isNewRoom && $userPerms != 'admin')
{
// If the name of the room to be created is the same than one of an
// existing room containing 'true' messages (not only notifications of
// users entrance/exit) or containing only 'system' message but an user
// is currently logged in, status will be 'user'
! $dbLink->query("SELECT COUNT(*) FROM " . C_MSG_TBL . " WHERE room = '$theSlashedRoomName' AND username NOT LIKE 'SYS %' LIMIT 1");
! list($isTrueMsg) = $dbLink->nextRecord();
! $isNewRoom = ($isTrueMsg == 0);
! $dbLink->cleanResults();
if ($isNewRoom)
{
! $dbLink->query("SELECT COUNT(*) FROM " . C_USR_TBL . " WHERE room = '$theSlashedRoomName' AND username != '$slashedNick' LIMIT 1");
list($isAnybody) = $dbLink->nextRecord();
$isNewRoom = ($isAnybody == 0);
***************
*** 265,269 ****
// 3. Updating permission levels inside the registered users table
! if ($error2 == '' && $isNewRoom)
{
// If an other registered user is already moderator for the room to
--- 280,286 ----
// 3. Updating permission levels inside the registered users table
! // (skipped for administrator and if the room to create is not a true new
! // one)
! if ($error2 == '' && $isNewRoom && $userPerms != 'admin')
{
// If an other registered user is already moderator for the room to
***************
*** 292,296 ****
$otherModeratedRooms = str_replace(',,', ',', $otherModeratedRooms);
$dbLink->query("UPDATE " . C_REG_TBL . " SET rooms = '" . pmcSlashSingleQuotes($otherModeratedRooms) . "' WHERE username = '" . pmcSlashSingleQuotes($otherModerator) . "'");
! $dbLink->query("UPDATE " . C_USR_TBL . " SET status = 'r' WHERE room = '$slashedRoomName' AND username = '" . pmcSlashSingleQuotes($otherModerator) . "'");
}
unset($rooms);
--- 309,313 ----
$otherModeratedRooms = str_replace(',,', ',', $otherModeratedRooms);
$dbLink->query("UPDATE " . C_REG_TBL . " SET rooms = '" . pmcSlashSingleQuotes($otherModeratedRooms) . "' WHERE username = '" . pmcSlashSingleQuotes($otherModerator) . "'");
! $dbLink->query("UPDATE " . C_USR_TBL . " SET status = 'r' WHERE room = '$theSlashedRoomName' AND username = '" . pmcSlashSingleQuotes($otherModerator) . "'");
}
unset($rooms);
***************
*** 311,315 ****
$changed = true;
}
! if ($changed && $userPerms != 'admin')
{
$dbLink->query("UPDATE " . C_REG_TBL . " SET perms = '$userPerms', rooms = '" . pmcSlashSingleQuotes($userModeratedRooms) ."' WHERE username = '$slashedNick'");
--- 328,332 ----
$changed = true;
}
! if ($changed)
{
$dbLink->query("UPDATE " . C_REG_TBL . " SET perms = '$userPerms', rooms = '" . pmcSlashSingleQuotes($userModeratedRooms) ."' WHERE username = '$slashedNick'");
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.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** do_enter_db_work.lib.php3 2001/04/13 08:59:26 1.8
--- do_enter_db_work.lib.php3 2001/04/13 19:30:55 1.9
***************
*** 28,32 ****
! // Harmonizes type and name of the room to enter in
if (!empty($createRoomName))
{
--- 28,34 ----
! /**
! * Harmonizes type and name of the room to enter in
! */
if (!empty($createRoomName))
{
***************
*** 41,52 ****
}
! // Sets cookies that will expire in one year
$cookieRoom = urlencode($targetRoom);
setcookie('cookieRoom', $cookieRoom, time() + 60*60*24*365);
setcookie('cookieRoomType', $roomType, time() + 60*60*24*365);
-
- // Gets some variables values from session data or cookies
- pmcGrabGlobals('%COOKIE');
if (dbSessionIsRegistered('msgKind'))
$msgKind = $dbSessionVars['msgKind'];
--- 43,57 ----
}
!
! /**
! * Sets cookies that will expire in one year
! */
$cookieRoom = urlencode($targetRoom);
setcookie('cookieRoom', $cookieRoom, time() + 60*60*24*365);
setcookie('cookieRoomType', $roomType, time() + 60*60*24*365);
+ /**
+ * Gets some variables values from session data or cookies
+ */
if (dbSessionIsRegistered('msgKind'))
$msgKind = $dbSessionVars['msgKind'];
***************
*** 77,88 ****
$notify = C_NOTIFY;
! // Sets the encrypted password and gets the ip on the user
if (empty($pwdHash))
$pwdHash = ($isRegUser) ? md5($password) : '';
if (empty($ip))
include('./' . _CHAT_PATH .'lib/get_ip.lib.' . C_EXTENSION);
! // Defines the user status to be put in the users table if necessary.
! // Skipped when the frameset is reloaded because of the NS4+ resize bug.
if (!isset($reloading) || $reloading != 'nsResize')
{
--- 82,99 ----
$notify = C_NOTIFY;
!
! /**
! * Sets the encrypted password and gets the ip off the user
! */
if (empty($pwdHash))
$pwdHash = ($isRegUser) ? md5($password) : '';
if (empty($ip))
include('./' . _CHAT_PATH .'lib/get_ip.lib.' . C_EXTENSION);
+
! /**
! * Defines the user status to be put in the users table (skipped when the
! * frameset is reloaded because of the NS4+ resize bug).
! */
if (!isset($reloading) || $reloading != 'nsResize')
{
***************
*** 108,112 ****
}
! // Defines some variables
$currentTime = time();
$nickForNotifications = pmcSlashSingleQuotes(pmcSpecialChars($slashedNick, $latin1), 2);
--- 119,126 ----
}
!
! /**
! * Defines some more variables including the welcome message.
! */
$currentTime = time();
$nickForNotifications = pmcSlashSingleQuotes(pmcSpecialChars($slashedNick, $latin1), 2);
***************
*** 119,142 ****
$slashedWelcomeMsg = pmcSlashSingleQuotes(WELCOME_MSG);
}
! // Udpates the IP address and the last log. time of the user in the
! // regsistered users table if necessary
if ($isRegUser)
$dbLink->query("UPDATE " . C_REG_TBL . " SET reg_time = '$currentTime', ip = '$ip' WHERE username = '$slashedNick'");
// 1. In the case of a registered user that relogs...
- // 1.a ...in the same room -> updates his last loggin time and his IP address;
- // 1.b ...in an other room -> kicks him from the other room, puts a
- // notification message of exit for this room, updates the users table,
- // puts a notification message of entrance for the room he logs in and
- // send him a welcome message if required.
if ($wasInRoom != '')
{
! if ($targetRoom == $wasInRoom) // Case 1.a
{
$dbLink->query("UPDATE " . C_USR_TBL . " SET u_time = '$currentTime', ip = '$ip' WHERE session_id = '$dbSessionId'");
}
! else // Case 1.b
{
$slashedRoomName = pmcSlashSingleQuotes($wasInRoom);
--- 133,170 ----
$slashedWelcomeMsg = pmcSlashSingleQuotes(WELCOME_MSG);
}
+
! /**
! * Udpates the IP address and the last log. time of the user in the
! * registered users table if necessary
! */
if ($isRegUser)
$dbLink->query("UPDATE " . C_REG_TBL . " SET reg_time = '$currentTime', ip = '$ip' WHERE username = '$slashedNick'");
+ /**
+ * Do the required work in the 'messages' and the 'users' tables
+ */
+ // 0. If the validated registered nick was used with an other session id, kill
+ // this "other" session
+ if (!empty($previousId) && $dbSessionId != $previousId)
+ $dbLink->query("DELETE FROM " . C_SESS_TBL . " WHERE session_id = '$previousId'");
+
+
// 1. In the case of a registered user that relogs...
if ($wasInRoom != '')
{
! // 1.a ...in the same room -> updates his last loggin time and his IP
! // address;
! if ($targetRoom == $wasInRoom)
{
$dbLink->query("UPDATE " . C_USR_TBL . " SET u_time = '$currentTime', ip = '$ip' WHERE session_id = '$dbSessionId'");
}
!
! // 1.b ...in an other room -> kicks him from the other room, puts a
! // notification message of exit for this room, updates the users
! // table, puts a notification message of entrance for the room he logs
! // in and send him a welcome message if required.
! else
{
$slashedRoomName = pmcSlashSingleQuotes($wasInRoom);
***************
*** 148,152 ****
$slashedRoomName = pmcSlashSingleQuotes($targetRoom);
$dbLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($roomType, '$slashedRoomName', 'SYS enter', '', '$currentTime', NULL, '#666699', 'sprintf(L_ENTER_ROM, \'" . $nickForNotifications . "\')', 'sprintf(L_ENTER_ROM, \'" . $nickForNotifications . "\')')");
! $dbLink->query("UPDATE " . C_USR_TBL . " SET u_time = '$currentTime', room = '$slashedRoomName', status = '$status', ip = '$ip' WHERE session_id = '$dbSessionId'");
if (C_WELCOME)
--- 176,180 ----
$slashedRoomName = pmcSlashSingleQuotes($targetRoom);
$dbLink->query("INSERT INTO " . C_MSG_TBL . " VALUES ($roomType, '$slashedRoomName', 'SYS enter', '', '$currentTime', NULL, '#666699', 'sprintf(L_ENTER_ROM, \'" . $nickForNotifications . "\')', 'sprintf(L_ENTER_ROM, \'" . $nickForNotifications . "\')')");
! $dbLink->query("UPDATE " . C_USR_TBL . " SET session_id = '$dbSessionId', u_time = '$currentTime', room = '$slashedRoomName', status = '$status', ip = '$ip' WHERE session_id = '$previousId'");
if (C_WELCOME)
***************
*** 159,173 ****
} // end of case where a registered user relogs
// 2. In the case of an user that relogs because of the resize bug of NS4+
! // updates his logging time and his IP address
! elseif (isset($reloading) && $reloading == 'nsResize')
{
$slashedRoomName = pmcSlashSingleQuotes($targetRoom);
$dbLink->query("UPDATE " . C_USR_TBL . " SET u_time = '$currentTime', room = '$slashedRoomName', ip = '$ip' WHERE session_id = '$dbSessionId'");
} // end of case where an is relogged because of NS4+ resize bug
! // 3. In all other cases of users entering in, sets user infos. in 'users'
! // table and puts a notification message of entrance and a welcome message
! // if required into the 'messages' table
else
{
--- 187,203 ----
} // end of case where a registered user relogs
+
// 2. In the case of an user that relogs because of the resize bug of NS4+
! // -> updates his logging time and his IP address
! else if (isset($reloading) && $reloading == 'nsResize')
{
$slashedRoomName = pmcSlashSingleQuotes($targetRoom);
$dbLink->query("UPDATE " . C_USR_TBL . " SET u_time = '$currentTime', room = '$slashedRoomName', ip = '$ip' WHERE session_id = '$dbSessionId'");
} // end of case where an is relogged because of NS4+ resize bug
+
! // 3. In all other cases -> sets user infos. in 'users' table and puts a
! // notification message of entrance and, if required, a welcome message into
! // the 'messages' table
else
{
***************
*** 188,192 ****
! // Prepares (ie removes unnecessary data) and saves session data
$keptLang = $dbSessionVars['lang'];
$keptFrom = $dbSessionVars['from'];
--- 218,224 ----
! /**
! * Prepares (ie removes unnecessary data) and saves session data
! */
$keptLang = $dbSessionVars['lang'];
$keptFrom = $dbSessionVars['from'];
***************
*** 211,215 ****
! // Deletes invite messages sent to the user for the room he will enter in
$dbLink->query("SELECT m_time FROM " . C_MSG_TBL . " WHERE username = 'SYS inviteTo' AND address = '$slashedNick' AND room = '$slashedRoomName'");
while (list($sentTime) = $dbLink->nextRecord())
--- 243,251 ----
! /**
! * Deletes invite messages sent to the user for the room he will enter in
! */
! if (!isset($slashedRoomName))
! $slashedRoomName = pmcSlashSingleQuotes($targetRoom);
$dbLink->query("SELECT m_time FROM " . C_MSG_TBL . " WHERE username = 'SYS inviteTo' AND address = '$slashedNick' AND room = '$slashedRoomName'");
while (list($sentTime) = $dbLink->nextRecord())
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 12:52:34
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv15451/chat/lib/index_libs Modified Files: misc.lib.js Log Message: The new 'img' command and some modif. it requires Index: misc.lib.js =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/misc.lib.js,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** misc.lib.js 2001/04/11 23:06:14 1.4 --- misc.lib.js 2001/04/13 12:52:29 1.5 *************** *** 172,176 **** var isCmd = (msgBox.value.substring(0,1) == '/'); // RegExp used to validate commands ! var re = /^\/(!$|announce .+|ban .+|clear$|help$|\?$|ignore|invite .+|join .+|kick .+|me .+|msg .+|to .+|notify$|order$|profile$|promote .+|quit|exit|bye|refresh|save|show|last|timestamp$|whois .+)/i; // RegExp for the history command var reHist = /^\/!$/; --- 172,176 ---- var isCmd = (msgBox.value.substring(0,1) == '/'); // RegExp used to validate commands ! var re = /^\/(!$|announce .+|ban .+|clear$|help$|\?$|ignore|img$|invite .+|join .+|kick .+|me .+|msg .+|to .+|notify$|order$|profile$|promote .+|quit|exit|bye|refresh|save|show|last|timestamp$|whois .+)/i; // RegExp for the history command var reHist = /^\/!$/; |
|
From: Lo?c C. <lo...@us...> - 2001-04-13 12:52:34
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands In directory usw-pr-cvs1:/tmp/cvs-serv15451/chat/lib/commands Added Files: img.cmd.php3 Log Message: The new 'img' command and some modif. it requires --- NEW FILE --- <?php // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team | // +--------------------------------------------------------------------------+ // | This library does the work associated to the 'img' command. | // | | // | It is called by the 'commands.lib.php3' script. | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // // $Id: img.cmd.php3,v 1.1 2001/04/13 12:52:29 loic1 Exp $ // // The work for the 'img' command. // /** * Just modify some variables */ $dbSessionVars['msgKind'] = ($dbSessionVars['msgKind'] == 'original') ? 'enhanced' : 'original'; // cookie expires in one year setcookie('cookieMsgKind', $dbSessionVars['msgKind'], time() + 60*60*24*365); $isCommand = true; $enforceFirstLoad = 1; $doRefreshMessages = true; ?> |
|
From: Lo?c C. <lo...@us...> - 2001-04-13 12:52:33
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv15451/chat/lib
Modified Files:
commands.lib.php3
Log Message:
The new 'img' command and some modif. it requires
Index: commands.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands.lib.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** commands.lib.php3 2001/04/12 23:38:26 1.3
--- commands.lib.php3 2001/04/13 12:52:29 1.4
***************
*** 23,50 ****
! if (eregi('^\/(show|last)([[:space:]]([[:digit:]]+))?$', $message, $cmd))
{
! include('./lib/commands/show.cmd.' . C_EXTENSION);
! }
! else if (eregi('^\/refresh([[:space:]]([[:digit:]]*))?$', $message, $cmd))
! {
! include('./lib/commands/refresh.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/order$', $message))
{
! include('./lib/commands/order.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/timestamp$', $message))
{
! include('./lib/commands/timestamp.cmd.' . C_EXTENSION);
}
! else if (C_VERSION > 0
! && eregi('^\/join[[:space:]]((0|1)[[:space:]])?#(.{1,30})$', $message, $cmd))
{
! include('./lib/commands/join.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/(quit|exit|bye)([[:space:]](.+))?$', $message, $cmd))
{
! include('./lib/commands/quit.cmd.' . C_EXTENSION);
}
else if (eregi('^\/ignore([[:space:]]\\-)?([[:space:]](.+))?$', $message, $cmd))
--- 23,47 ----
! if (eregi('^\/!$', $message, $cmd)
! && (isset($prevMessage) && $prevMessage != ''))
{
! include('./lib/commands/history.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/announce[[:space:]](.*)?$', $message, $cmd))
{
! include('./lib/commands/announce.cmd.' . C_EXTENSION);
}
! else if (C_BANISH != 0
! && eregi('^\/ban[[:space:]](\*[[:space:]])?(.{1,30})$', $message, $cmd))
{
! include('./lib/commands/banish.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/clear$', $message))
{
! include('./lib/commands/clear.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/(help|\?)$', $message))
{
! include('./lib/commands/help.cmd.' . C_EXTENSION);
}
else if (eregi('^\/ignore([[:space:]]\\-)?([[:space:]](.+))?$', $message, $cmd))
***************
*** 52,79 ****
include('./lib/commands/ignore.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/!$', $message, $cmd)
! && (isset($prevMessage) && $prevMessage != ''))
{
! include('./lib/commands/history.cmd.' . C_EXTENSION);
}
else if (eregi('^\/kick[[:space:]](.{1,30})$', $message, $cmd))
{
include('./lib/commands/kick.cmd.' . C_EXTENSION);
}
else if (eregi('^\/(msg|to)[[:space:]]([^[:space:]]{1,30})[[:space:]](.+)$', $message, $cmd))
{
include('./lib/commands/priv_msg.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/whois[[:space:]](.{1,30})$', $message, $cmd))
{
! include('./lib/commands/whois.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/profile$', $message))
{
! include('./lib/commands/profile.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/notify$', $message))
{
! include('./lib/commands/notify.cmd.' . C_EXTENSION);
}
else if (eregi('^\/promote[[:space:]](.{1,30})$', $message, $cmd))
--- 49,88 ----
include('./lib/commands/ignore.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/img$', $message))
{
! include('./lib/commands/img.cmd.' . C_EXTENSION);
! }
! else if (eregi('^\/invite([[:space:]](.+))+$', $message, $cmd))
! {
! include('./lib/commands/invite.cmd.' . C_EXTENSION);
}
+ else if (C_VERSION > 0
+ && eregi('^\/join[[:space:]]((0|1)[[:space:]])?#(.{1,30})$', $message, $cmd))
+ {
+ include('./lib/commands/join.cmd.' . C_EXTENSION);
+ }
else if (eregi('^\/kick[[:space:]](.{1,30})$', $message, $cmd))
{
include('./lib/commands/kick.cmd.' . C_EXTENSION);
}
+ else if (eregi('^\/me[[:space:]](.*)?$', $message, $cmd))
+ {
+ include('./lib/commands/me.cmd.' . C_EXTENSION);
+ }
else if (eregi('^\/(msg|to)[[:space:]]([^[:space:]]{1,30})[[:space:]](.+)$', $message, $cmd))
{
include('./lib/commands/priv_msg.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/notify$', $message))
{
! include('./lib/commands/notify.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/order$', $message))
{
! include('./lib/commands/order.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/profile$', $message))
{
! include('./lib/commands/profile.cmd.' . C_EXTENSION);
}
else if (eregi('^\/promote[[:space:]](.{1,30})$', $message, $cmd))
***************
*** 81,91 ****
include('./lib/commands/promote.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/(help|\?)$', $message))
{
! include('./lib/commands/help.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/clear$', $message))
{
! include('./lib/commands/clear.cmd.' . C_EXTENSION);
}
else if (C_SAVE
--- 90,100 ----
include('./lib/commands/promote.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/(quit|exit|bye)([[:space:]](.+))?$', $message, $cmd))
{
! include('./lib/commands/quit.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/refresh([[:space:]]([[:digit:]]*))?$', $message, $cmd))
{
! include('./lib/commands/refresh.cmd.' . C_EXTENSION);
}
else if (C_SAVE
***************
*** 95,114 ****
include('./lib/commands/save.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/announce[[:space:]](.*)?$', $message, $cmd))
{
! include('./lib/commands/announce.cmd.' . C_EXTENSION);
! }
! else if (eregi('^\/invite([[:space:]](.+))+$', $message, $cmd))
! {
! include('./lib/commands/invite.cmd.' . C_EXTENSION);
}
! else if (C_BANISH != 0
! && eregi('^\/ban[[:space:]](\*[[:space:]])?(.{1,30})$', $message, $cmd))
{
! include('./lib/commands/banish.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/me[[:space:]](.*)?$', $message, $cmd))
{
! include('./lib/commands/me.cmd.' . C_EXTENSION);
}
?>
--- 104,119 ----
include('./lib/commands/save.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/(show|last)([[:space:]]([[:digit:]]+))?$', $message, $cmd))
{
! include('./lib/commands/show.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/timestamp$', $message))
{
! include('./lib/commands/timestamp.cmd.' . C_EXTENSION);
}
! else if (eregi('^\/whois[[:space:]](.{1,30})$', $message, $cmd))
{
! include('./lib/commands/whois.cmd.' . C_EXTENSION);
}
+
?>
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 11:42:11
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv4489/chat
Modified Files:
whois_popup.php3
Log Message:
Allow an user to see all informations about itself
Index: whois_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/whois_popup.php3,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** whois_popup.php3 2001/04/12 23:38:25 1.7
--- whois_popup.php3 2001/04/13 11:42:08 1.8
***************
*** 78,95 ****
* Define the level of information the current user is allowed to see
*/
! switch ($dbSessionVars['status'])
{
! case 'a': // administrator
! $power = 'high';
! break;
!
! case 'm': // moderator
! $power = 'medium';
! break;
! default:
! $power = 'weak';
! } // end switch
/**
--- 78,101 ----
* Define the level of information the current user is allowed to see
*/
! if ($dbSessionVars['nick'] == $whoisTarget)
{
! $power = 'high';
! }
! else
! {
! switch ($dbSessionVars['status'])
! {
! case 'a': // administrator
! $power = 'high';
! break;
! case 'm': // moderator
! $power = 'medium';
! break;
+ default:
+ $power = 'weak';
+ } // end switch
+ }
/**
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 11:42:11
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands
In directory usw-pr-cvs1:/tmp/cvs-serv4489/chat/lib/commands
Modified Files:
whois.cmd.php3
Log Message:
Allow an user to see all informations about itself
Index: whois.cmd.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/whois.cmd.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** whois.cmd.php3 2001/04/10 09:38:14 1.2
--- whois.cmd.php3 2001/04/13 11:42:08 1.3
***************
*** 45,53 ****
// Not a registered users -> show IP if the current user is administrator
! // or moderator of the current room
if (!$isProfile)
{
$error = sprintf(L_NONREG_USER, $cmd[1]);
! if ($dbSessionVars['status'] == 'a' || $dbSessionVars['status'] == 'm')
{
$dbLink->query("SELECT ip FROM " . C_USR_TBL . " WHERE username='" . $slashedTarget . "' LIMIT 1");
--- 45,54 ----
// Not a registered users -> show IP if the current user is administrator
! // or moderator of the current room, or if the target user is itself
if (!$isProfile)
{
$error = sprintf(L_NONREG_USER, $cmd[1]);
! if (($dbSessionVars['status'] == 'a' || $dbSessionVars['status'] == 'm')
! || $dbSessionVars['nick'] == $cmd[1])
{
$dbLink->query("SELECT ip FROM " . C_USR_TBL . " WHERE username='" . $slashedTarget . "' LIMIT 1");
***************
*** 67,74 ****
{
$isPopup = true;
! $winName = 'whois_popup_' . uniqid('');
$whoisUrl = 'whois_popup.' . C_EXTENSION
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'whoisTarget=' . $cmd[1];
$jsToRun = array(
--- 68,76 ----
{
$isPopup = true;
! $nickForUrl = urlencode($cmd[1]);
! $winName = 'whois_popup_' . md5($cmd[1]);
$whoisUrl = 'whois_popup.' . C_EXTENSION
. '?' . dbSessionSID('GET')
! . $pmcQueryArgSeparator . 'whoisTarget=' . urlencode($cmd[1]);
$jsToRun = array(
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 11:21:49
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands In directory usw-pr-cvs1:/tmp/cvs-serv1707/chat/lib/commands Added Files: profile.cmd.php3 Log Message: The latest command has been updated (profile) :)) --- NEW FILE --- <?php // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team | // +--------------------------------------------------------------------------+ // | This library does the work associated to the 'profile' command. | // | | // | It is called by the 'commands.lib.php3' script. | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // // $Id: profile.cmd.php3,v 1.1 2001/04/13 11:21:45 loic1 Exp $ // // The work for the 'profile' command. // /** * Just modidify some variables and define an array of JavaScript instructions * to be ran at the end of the calling script */ $isCommand = true; $isPopup = true; $dbSessionVars['conservative'] = 1; $profileUrl = 'profile_edit.' . C_EXTENSION . '?' . dbSessionSID('GET'); $jsToRun = array( '<script type="text/javascript" language="javascript">', '<!--', '// Lauch the profile popup', 'window.open(\'' . $profileUrl . '\', \'profile_popup\', \'width=350,height=470,resizable=yes,scrollbars=yes\');', '// -->', '</script>' ); ?> |
|
From: Lo?c C. <lo...@us...> - 2001-04-13 11:21:49
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv1707/chat
Modified Files:
profile_reg.php3 profile_edit.php3 profile_del.php3
Log Message:
The latest command has been updated (profile) :))
Index: profile_reg.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/profile_reg.php3,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** profile_reg.php3 2001/04/12 23:45:34 1.5
--- profile_reg.php3 2001/04/13 11:21:45 1.6
***************
*** 161,165 ****
else
{
! $latin1 = (L_CHARSET == 'iso-8859-1');
$showEmail = (isset($showEmail) && $showEmail) ? 1 : 0;
if (!isset($gender))
--- 161,165 ----
else
{
! $latin1 = (L_CHARSET == 'iso-8859-1') ? 1 : 0;
$showEmail = (isset($showEmail) && $showEmail) ? 1 : 0;
if (!isset($gender))
***************
*** 202,206 ****
if (empty($error))
{
! $dbLink->query("INSERT INTO " . C_REG_TBL . " VALUES ('$slashedNick', $latin1, '$pwdHash', '" . pmcSlashSingleQuotes($firstName) . "', '" . pmcSlashSingleQuotes($lastName) . "', '" . pmcSlashSingleQuotes($spokenLang) . "', '$webSite', '$email', $showEmail, 'user', '', " . time() . ", '$ip', '$gender')");
$message = L_REG_9;
$isRegDone = true;
--- 202,206 ----
if (empty($error))
{
! $dbLink->query("INSERT INTO " . C_REG_TBL . " VALUES ('$slashedNick', '$latin1', '$pwdHash', '" . pmcSlashSingleQuotes($firstName) . "', '" . pmcSlashSingleQuotes($lastName) . "', '" . pmcSlashSingleQuotes($spokenLang) . "', '$webSite', '$email', $showEmail, 'user', '', " . time() . ", '$ip', '$gender')");
$message = L_REG_9;
$isRegDone = true;
Index: profile_edit.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/profile_edit.php3,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** profile_edit.php3 2001/04/12 23:45:34 1.5
--- profile_edit.php3 2001/04/13 11:21:45 1.6
***************
*** 172,176 ****
if (!isset($error))
{
! $latin1 = (L_CHARSET == 'iso-8859-1');
$showEmail = (isset($showEmail) && $showEmail) ? 1 : 0;
if (!isset($gender))
--- 172,176 ----
if (!isset($error))
{
! $latin1 = (L_CHARSET == 'iso-8859-1') ? 1 : 0;
$showEmail = (isset($showEmail) && $showEmail) ? 1 : 0;
if (!isset($gender))
***************
*** 184,188 ****
// Updates the profile
! $dbLink->query("UPDATE " . C_REG_TBL . " SET username = '$slashedNick', latin1 = $latin1, password = '$pwdHash', firstname='" . pmcSlashSingleQuotes($firstName) . "', lastname = '" . pmcSlashSingleQuotes($lastName) . "', country = '" . pmcSlashSingleQuotes($spokenLang) . "', website = '$webSite', email = '$email', showemail = $showEmail, reg_time = " . time() . ", ip = '$ip', gender = '$gender' WHERE username = '" . pmcSlashSingleQuotes($dbSessionVars['authUsername']) . "'");
$message = L_REG_17;
$isRegDone = true;
--- 184,190 ----
// Updates the profile
! $dbLink->query("UPDATE " . C_REG_TBL . " SET username = '$slashedNick', latin1 = '$latin1', password = '$pwdHash', firstname='" . pmcSlashSingleQuotes($firstName) . "', lastname = '" . pmcSlashSingleQuotes($lastName) . "', country = '" . pmcSlashSingleQuotes($spokenLang) . "', website = '$webSite', email = '$email', showemail = $showEmail, reg_time = " . time() . ", ip = '$ip', gender = '$gender' WHERE username = '" . pmcSlashSingleQuotes($dbSessionVars['authUsername']) . "'");
! if ($dbSessionVars['authPassword'] != $password)
! $dbSessionVars['authPassword'] = $password;
$message = L_REG_17;
$isRegDone = true;
***************
*** 296,319 ****
<td align="right" valign="top" nowrap="nowrap"><?php echo(L_REG_7); ?> :</td>
<td valign="top">
! <?php
! // Do not allow modification of the password if this popup is launched by the
! // profile command
! if (dbSessionIsRegistered('conservative'))
! {
! echo("\t\t\t\t" . $password . "\n");
! ?>
! <input type="hidden" name="password" value="<?php echo(htmlspecialchars($dbSessionVars['authPassword'])); ?>" />
! <?php
! }
! else
! {
! ?>
! <input type="password" name="password" size="11" maxlength="16" value="<?php echo(htmlspecialchars($dbSessionVars['authPassword'])); ?>"<?php if ($isRegDone) echo(' readonly="readonly"'); ?> />
! <?php
! if (!$isRegDone)
! echo("\t\t\t" . '<span class="error">*</span>' . "\n");
! }
! echo("\n");
! ?>
</td>
</tr>
--- 298,303 ----
<td align="right" valign="top" nowrap="nowrap"><?php echo(L_REG_7); ?> :</td>
<td valign="top">
! <input type="text" name="password" size="11" maxlength="16" value="<?php echo(htmlspecialchars($dbSessionVars['authPassword'])); ?>" />
! <?php if (!$isRegDone) echo('<span class="error">*</span>'); ?>
</td>
</tr>
Index: profile_del.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/profile_del.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 11:21:49
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv1707/chat/lib
Modified Files:
login.lib.php3
Log Message:
The latest command has been updated (profile) :))
Index: login.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/login.lib.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** login.lib.php3 2001/04/10 15:00:05 1.2
--- login.lib.php3 2001/04/13 11:21:45 1.3
***************
*** 29,37 ****
* The user has typed in values to log in
*
! * The 'pmcSlashSingleQuotes()' function is defined inside the
! * 'chat/lib/common.lib.php3' library
*/
if ((!empty($authUsername)) && (!empty($authPassword)))
{
// Ensures the password is a correct one
$dbLoginLink = new pmcDB;
--- 29,42 ----
* The user has typed in values to log in
*
! * The 'pmcHandleMagicQuotes()' and the 'pmcSlashSingleQuotes()' functions are
! * defined inside the 'chat/lib/common.lib.php3' library
*/
if ((!empty($authUsername)) && (!empty($authPassword)))
{
+ if (!empty($authUsername))
+ $authUsername = pmcHandleMagicQuotes($authUsername, '1', '', 'del');
+ if (!empty($authPassword))
+ $submitType = pmcHandleMagicQuotes($authPassword, '1', '', 'del');
+
// Ensures the password is a correct one
$dbLoginLink = new pmcDB;
|
|
From: Lo?c C. <lo...@us...> - 2001-04-13 10:29:21
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv25488/chat/lib
Modified Files:
db_sessions.lib.php3
Log Message:
Fix two big problems: session last log time wasn't updated if no message is sent and starting chat page reloads in hidden frames when session was out
Index: db_sessions.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/db_sessions.lib.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** db_sessions.lib.php3 2001/04/11 23:06:14 1.4
--- db_sessions.lib.php3 2001/04/13 10:29:19 1.5
***************
*** 615,618 ****
--- 615,654 ----
/**
+ * Update the last log time without modifying session data
+ *
+ * @global object the database handler
+ * @global string the name or the table to use for sessions
+ * @global string the current session ID
+ *
+ * @return boolean true on success and false on failure
+ *
+ * @access public
+ */
+ function dbSessionUpdateLogTime()
+ {
+ global $dbSessionDbLink;
+ global $dbSessionDbTable;
+ global $dbSessionId;
+
+ // Ensure the database link for sessions is defined
+ if (empty($dbSessionDbLink))
+ {
+ dbSessionSetErrorMsg(3);
+ return false;
+ }
+
+ // Ensure the session ID has been defined
+ if (empty($dbSessionId))
+ {
+ dbSessionSetErrorMsg(4);
+ return false;
+ }
+
+ $dbSessionDbLink->query("UPDATE $dbSessionDbTable SET last = " . time() . " WHERE session_id = '$dbSessionId'");
+ return ($dbSessionDbLink->affectedRows() > 0) ? true : false;
+ }
+
+
+ /**
* Save all data registered to a session
*
|