back to main
}
function show_general()
{
?>
General chatting:
Chatting is easy. Just type your sentence into the text box and press enter or click speak.
If you want to send a message to somebody special, select that person's name in the "to" list.
back_to_main();
}
function show_commands()
{
?>
Special commands:
Right now you can use:
-!brb to show an "away" message
-!back to show a "back" message
-!me to speak as "third person"
-!greet to greet the chat
back_to_main();
}
function show_loggingout()
{
?>
Logging out:
Logging out doesn't require you to do anything special. Just close the chatwindow and you're done.
back_to_main();
}
function using_icons()
{
?>
Using icons:
You can use icons (see Special commands) to show small icons.
But there are limits to the use of these icons: you can use a maximum of two icons (that are not
the same) per line you write. If you use more than one icon of the same kind, you will get an
error message. This was merely implemented to keep users from flooding.
back_to_main();
}
function credits()
{
?>
Credits:
Original work: M Papenhove
back_to_main();
}
function show_help($mysql_link, $item)
{
switch ($item)
{
case "0": show_main(); break;
case "1": show_general(); break;
case "2": show_commands(); break;
case "3": show_loggingout(); break;
case "4": credits(); break;
case "5": using_icons(); break;
case "6": list_icons(); break;
}
}
function list_icons() {
echo "Secventele de mai jos vor fi inlocuite cu imagini (max una pe linie)";
$mysql_link = mysql_connect(_hostname, _username, _userpassword);
mysql_select_db(_database, $mysql_link);
$q="select * from chat_images";
$fpq=mysql_query($q, $mysql_link);
while($rec=mysql_fetch_object($fpq)) {
echo "$rec->command filename> ";
}
back_to_main();
}
?>