/////////////////////////////////////////////////////////////////////////////////////////////////
// //
// GumChat //
// Current Version : 1.17 //
// Author : GUMSLONE //
// You are not allowed to redistribute or modify this script //
// Copyright (c) 2008 GumSlone. All rights reserved. //
// Additional scripts can be found at http://www.wapforum.org.uk //
// 01.07.2008 //
/////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// CONFIGURATION STARTS HERE
///////////////////////////////////////////////////////////////////////////
$TimeZone="0"; //0 means server time
$New_Time = time() + ($TimeZone * 60 * 60);// hours* 60 mins* 60secs DONT TOUCH!
$_time=date("H:i",$New_Time); //DONT TOUCH!
$_refresh=200; //chatroom refreshtime
$_room_size=20; //means chatroom size of 15 messages
$home_page_url="http://www.pettegolezzi.mobi";
$home_page_title="Pettegolezzi.mobi";
$smilies_decode=5; //up to which text message should be smilies visible, from this text messages the smilies will be shown as a text not as an image
$waittime_sec = 5; /* Set this to a minimum wait time between posts (in sec) */
$encoding="ISO-8859-1"; //DONT TOUCH!
/////////////[Change language or menu]////////////////////////////////
$lang_user_in_chat="users in chat";
$lang_enter="- Enter -";
$lang_nickname="Your Nickname:";
$lang_gender="Gender:";
$lang_male="Male";
$lang_female="Female";
$lang_age="Age: ";
$lang_show_smilies="Show smilies? ";
$lang_yes="YES";
$lang_no="NO";
$lang_nick_color="Nickname color:";
$lang_select_chatroom="Select Chatroom";
$lang_users="Users in";
$lang_chatrooms="Chatrooms";
$lang_smilies="Smilies";
$lang_next="Next »";
$lang_prev="« Prev";
$lang_chat="Back to Chatroom";
$lang_say="Say";
$lang_refresh="Refresh";
$lang_message="Message:";
$lang_ok="OK";
$lang_change_chatroom="Change Chatroom";
$lang_who_is_online="Who's Inside";
$lang_autorefresh="Autorefresh mode";
$lang_manual_autorefresh="Manual refresh mode";
$lang_loading="Loading...
please wait";
$lang_exit="Logout";
#$BestTopMobi_id="30357"; //your besttop.mobi id, register your site at http://besttop.mobi to get an id. or just leave 0
///////////////////////////////////////////////////////////////////////////
// CONFIGURATION ENDS HERE
///////////////////////////////////////////////////////////////////////////
/////////////[DO NOT EDIT AFTER THIS LINE]////////////////////////////////
$nick=nick_replace($nick);
$nick=substr(trim($nick),0,15);
global $nick;
///////////IF Nickname is shorter than 3 chars retur an error message and let the user relogin//////////
if($nick !='' && strlen($nick)<3){$gum=""; $login_error_message.='Nickname is too short, it has to be longer than 3 chars, also avoid special chars in nickname. Allowed chars: A-Z, a-z, 0-9, - _ @
'; }
$G=nick_replace(substr(trim($G),0,1));
$A=nick_replace(substr(trim($A),0,2));
$room=replace($room);
header('Content-Type: application/xhtml+xml; charset=iso-8859-1');
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo '

2 !
[wml] [xhtml]
Mobile Web Chat
GumChat