diff --git a/gb/index.php b/gb/index.php deleted file mode 100644 index f9a4187..0000000 --- a/gb/index.php +++ /dev/null @@ -1,297 +0,0 @@ -WWW.ROCK.RU - Российский Рок-портал - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
На главную страницуО сайтеАвторыОбратная связьНаш ФорумРок-ЧатГостевая книга
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - -
-  
- -Раздел временно закрыт. - - -


- Если у Вас есть еще полезная информация, то пишите - и мы с радостью опубликуем ее. - -

Old Rocker

-
-
-
-
-
Copyright © 2001-2002.
-Веб-дизайн и основная идея - Rozanov Oleg(Old Rocker)
-
-

Реклама на сервере
- - -

- - - - \ No newline at end of file diff --git a/musicmp3144sxqvp30e3b86d.html b/musicmp3144sxqvp30e3b86d.html deleted file mode 100644 index 9daeafb..0000000 --- a/musicmp3144sxqvp30e3b86d.html +++ /dev/null @@ -1 +0,0 @@ -test diff --git a/newchat/admin.php b/newchat/admin.php deleted file mode 100644 index f756f49..0000000 --- a/newchat/admin.php +++ /dev/null @@ -1,26 +0,0 @@ -user_class<1) { - $error_text = "$w_no_admin_rights"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -include($file_path."designes/".$design."/admin.php"); -exit; -?> \ No newline at end of file diff --git a/newchat/admin_navi.php b/newchat/admin_navi.php deleted file mode 100644 index a946134..0000000 --- a/newchat/admin_navi.php +++ /dev/null @@ -1,29 +0,0 @@ -user_class<1) { - $error_text = "$w_no_admin_rights"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} - -$admin_navi = array(); -if ($current_user->user_class & ADM_MARRY) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_MARRY], "link"=>$chat_url."admin_work.php?op=marry&session=".$session); -if ($current_user->user_class & ADM_BAN) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_BAN], "link"=>$chat_url."admin_work.php?op=ban&session=".$session); -if ($current_user->user_class & ADM_UN_BAN) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_UN_BAN], "link"=>$chat_url."admin_work.php?op=unban&session=".$session); -if ($current_user->user_class & ADM_CHANGE_TOPIC) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_CHANGE_TOPIC], "link"=>$chat_url."admin_work.php?op=topic&session=".$session); -if ($current_user->user_class & ADM_CREATE_ROOMS) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_CREATE_ROOMS], "link"=>$chat_url."admin_work.php?op=rooms&session=".$session); -if ($current_user->user_class & ADM_EDIT_USERS) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_EDIT_USERS], "link"=>$chat_url."admin_work.php?op=user&session=".$session); -include($file_path."designes/".$design."/admin_navi.php"); -?> \ No newline at end of file diff --git a/newchat/admin_work.php b/newchat/admin_work.php deleted file mode 100644 index 72db722..0000000 --- a/newchat/admin_work.php +++ /dev/null @@ -1,839 +0,0 @@ -user_class<1) { - $error_text = "$w_no_admin_rights"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if (($current_user->user_class & ADM_BAN) && $op == "") $op = "ban"; - -switch ($op) { - case "ban": - if (!($current_user->user_class & ADM_BAN)) { - $error_text = "$w_no_admin_rights"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = $w_select_nick.":
". - "". - "". - ""; - $allowed_to_view_ip = $current_user->user_class & ADM_VIEW_IP; - if(count($room_ids)>1){ - for($kk=0;$kk$w_in_room ".$rooms[$room_ids[$kk]]["title"]."\n"; - for ($i=0; $i\n"; - } - } - } - }else{ - for ($i=0; $i\n"; - } - } - $html_to_out .= "
$name$ip
$name$ip

".$w_admin_action.":
".$w_kill_time.":
".$w_admin_reason.": ". - "
". - "
"; - break;//end of ban - case "do_ban": - set_variable("cause"); - set_variable("toBan"); - set_variable("kill_time"); - set_variable("action"); - if (!($current_user->user_class & ADM_BAN)) { - $error_text = "$w_no_admin_rights"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $flood_protection = 0; - $def_color = $registered_colors[$default_color][1]; - if($toBan !="") { - //for compatible with old engine - $nameToBan = $toBan; - #list($nameToBan, $ipToBan) = explode(":", $toBan); - for ($i=0;$iuser_class; - if ($banuser_array[USER_REGID]) { - //fake is_regist to load user-data - $is_regist = $banuser_array[USER_REGID]; - include($ld_engine_path."users_get_object.php"); - //current user now contains user to ban - if (($current_user->user_class > 0) && !($tmp_admin_rights & ADM_BAN_MODERATORS)){ - $error_text = "$w_adm_cannot_ban_mod"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - } - $cause = htmlspecialchars($cause); - if ($action == 1) { - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$banuser_array[USER_ROOM], - MESG_FROM=>"", - MESG_FROMWOTAGS=>"", - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("#",$cause,str_replace("*", $cu_array[USER_NICKNAME],str_replace("~", $toBan,$sw_alert_text))).""); - } - $to_ban = array(); - if ($action >1) { - $to_ban[0] = "un|".$banuser_array[USER_CANONNICK]; - $to_ban[1] = "ch|".$banuser_array[USER_COOKIE]; - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$banuser_array[USER_ROOM], - MESG_FROM=>"", - MESG_FROMWOTAGS=>"", - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("$",$sw_times[$kill_time]["name"],str_replace("#",$cause,str_replace("*", $cu_array[USER_NICKNAME],str_replace("~", $toBan,$sw_kill_text)))).""); - - if ($logging_ban) { - include_once($data_path."engine/files/log_message.php"); - log_ban($cu_array[USER_NICKNAME], - $banuser_array[USER_CANONNICK], - $banuser_array[USER_IP], - $banuser_array[USER_ROOM], $cause); - } - if ($action == 3 && ($tmp_admin_rights & ADM_IP_BAN)) - $to_ban[] = "ip|".$banuser_array[USER_IP]; - if ($action == 4 && ($tmp_admin_rights & ADM_BAN_BY_BROWSERHASH)) { - $to_ban[] = "bh|".$banuser_array[USER_BROWSERHASH]; - //not good, but I don't know a better way - $to_ban[] = "ip|".$banuser_array[USER_IP]; - } - if ($action == 5 && ($tmp_admin_rights & ADM_BAN_BY_SUBNET)) - $to_ban[] = "sn|".substr($banuser_array[USER_IP], 0 , strrpos($banuser_array[USER_IP],".")) ; - if (count($to_ban)>0) { - include($ld_engine_path."admin.php"); - } - } - break; - } - } - include($engine_path."messages_put.php"); - } - header("location: admin_work.php?session=$session&op=ban"); - exit; - break;//end of do ban - case "unban": - if (!($current_user->user_class & ADM_UN_BAN)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = $w_adm_banned_now.""; - include_once($ld_engine_path."ban_check.php"); - $banned_users = get_all_bans(); - for ($i=0;$i"; - } - $html_to_out .="
$w_adm_nick_or_ip$w_adm_ban_until
".date("d M y H:i:s",$banned_users[$i]["until"])."$w_adm_unban
"; - break; - case "do_unban": - if (!($current_user->user_class & ADM_UN_BAN)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - include_once($ld_engine_path."ban_check.php"); - set_variable("to_unban"); - unban(urldecode($to_unban)); - if ($logging_ban) {include_once($data_path."engine/files/log_message.php"); log_unban($user_name, $to_unban);} - header("location: admin_work.php?session=$session&op=unban"); - exit; - break; - case "topic": - if (!($current_user->user_class & ADM_CHANGE_TOPIC)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = "
". - "". - "". - "". - "$w_topic:
". - "
"; - break; - case "change_topic": - if (!($current_user->user_class & ADM_CHANGE_TOPIC)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("room_to_change"); - $room_to_change = intval($room_to_change); - set_variable("topic"); - $room_to_change = intval($room_to_change); - include_once($ld_engine_path."rooms_operations.php"); - $new_topic = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$topic)))); - change_topic($room_to_change, $new_topic); - $messages_to_show = array(); - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_to_change, - MESG_FROM=>"", - MESG_FROMWOTAGS=>"", - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("#",$new_topic,str_replace("*", $user_name,$sw_set_topic_text)).""); - - include($engine_path."messages_put.php"); - header("location: admin_work.php?session=$session&op=topic"); - exit; - break; - case "rooms": - if (!($current_user->user_class & ADM_CREATE_ROOMS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = $w_list_of_rooms.":". - ""; - - for ($i=0;$i". - ""; - } - $html_to_out .= "
$w_room_name$w_topic
".$rooms[$room_ids[$i]]["topic"]."$w_edit | ". - "$w_delete


$w_adm_add_room"; - break; - case "delete_room": - if (!($current_user->user_class & ADM_CREATE_ROOMS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("room_to_change"); - $room_to_change = intval($room_to_change); - include_once($ld_engine_path."rooms_operations.php"); - room_delete($room_to_change); - header("location: admin_work.php?session=$session&op=rooms"); - exit; - break; - - - case "add_room_form": - if (!($current_user->user_class & ADM_CREATE_ROOMS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = "
". - "". - "". - "". - "". - "". - "". - "". - "". - "
$w_room_name:
$w_topic:
$w_adm_room_design:
$w_bot_name:
"; - break; - case "edit_room": - set_variable("room_to_change"); - $room_to_change = intval($room_to_change); - if (!($current_user->user_class & ADM_CREATE_ROOMS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = ""; - for ($i=0;$i". - "". - "". - "". - "". - "". - "". - "". - "". - "". - "
$w_room_name:
$w_topic:
$w_adm_room_design:
$w_bot_name:
"; - break; - } - break; - case "update_room": - if (!($current_user->user_class & ADM_CREATE_ROOMS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("room_to_change"); - $room_to_change = intval($room_to_change); - set_variable("room_name"); - $room_name = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_name)))); - set_variable("room_topic"); - $room_topic = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_topic)))); - set_variable("room_design"); - $room_design = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_design)))); - set_variable("room_bot"); - $room_bot = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_bot)))); - include_once($ld_engine_path."rooms_operations.php"); - room_update($room_to_change,$room_name,$room_topic,$room_design,$room_bot); - header("location: admin_work.php?session=$session&op=edit_room&room_to_change=$room_to_change"); - exit; - break; - case "add_room": - if (!($current_user->user_class & ADM_CREATE_ROOMS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("room_name"); - $room_name = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_name)))); - set_variable("room_topic"); - $room_topic = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_topic)))); - set_variable("room_design"); - $room_design = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_design)))); - set_variable("room_bot"); - $room_bot = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_bot)))); - include_once($ld_engine_path."rooms_operations.php"); - room_add($room_name,$room_topic,$room_design,$room_bot); - header("location: admin_work.php?session=$session&op=rooms"); - exit; - break; - case "user": - if (!($current_user->user_class & ADM_EDIT_USERS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = "
". - "". - "". - "". - "
". - $w_enter_nick.": ". - "". - "
\n
"; - break; - case "user_search": - if (!($current_user->user_class & ADM_EDIT_USERS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("user_to_search"); - $u_ids = array(); - include($ld_engine_path."users_search.php"); - $html_to_out = ""; - if (count($u_ids)) { - $html_to_out .= "$w_search_results
"; - for ($i=0;$i".htmlspecialchars($u_names[$i])."". - " -- ".$w_delete."
\n"; - } else - $html_to_out .= str_replace("~",""".$user_to_search.""",$w_search_no_found); - break; - case "user_delete": - if (!($current_user->user_class & ADM_EDIT_USERS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("user_id"); - $user_ids = array(); - $user_ids[0] = $user_id; - include_once($ld_engine_path."admin_work.php"); - users_delete($user_ids); - for ($i=0;$iuser_class & ADM_EDIT_USERS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("user_id"); - $is_regist = $user_id; - include("inc_user_class.php"); - include($ld_engine_path."users_get_object.php"); - $html_to_out = "
". - "". - "". - "". - $current_user->nickname .":
". - "". - "". - "". - ""; - if($web_indicator){ - $html_to_out .= "". - ""; - } - $html_to_out .= "". - "". - "
show_group_1 == 1) ? " checked":""). - "> ".$w_show_data."". - "". - "". - "". - "". - "". - "
".$w_surname.": surname."\" class=\"input\">
".$w_name.": firstname."\" class=\"input\">
".$w_birthday.": / /
".$w_city.": city."\" class=\"input\">
".$w_gender.": $w_check_for_delete
"; - $html_to_out .= "
$w_big_photo: "; - if ($big_picture != "") { - $html_to_out .= "
"; - $html_to_out .= "$w_check_for_delete
"; - } - $html_to_out .= "
".$w_addit_info.": ". - "
 
". - "show_group_2 == 1) ? " checked":""). - "> ".$w_show_data."
". - "". - "". - "". - "". - "
".$w_email.": email."\" class=\"input\">
".$w_homepage.": url."\" class=\"input\">
".$w_icq.": icquin."\" class=\"input\">
 
". - "". - "". - "
". - "enable_web_indicator) ? " checked":""). - "> ".$w_web_indicator."
".str_replace("~","\"chat",$w_web_indicator_code)."
 
". - "". - "". - "". - "
".$w_if_wanna_change_password."
".$w_new_password.":
".$w_confirm_password.":
 

". - "". - "
"; - break; - case "user_update": - if (!($current_user->user_class & ADM_EDIT_USERS)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - set_variable("user_id"); - $is_regist = $user_id; - set_variable("surname"); - set_variable("firstname"); - set_variable("city"); - set_variable("comments"); - set_variable("email"); - set_variable("url"); - set_variable("icquin"); - set_variable("day"); - set_variable("month"); - set_variable("year"); - set_variable("sex"); - set_variable("passwd1"); - set_variable("passwd2"); - set_variable("showGroup1"); - set_variable("showGroup2"); - set_variable("sm_del"); - set_variable("big_del"); - set_variable("enable_web_indicator"); - include("inc_user_class.php"); - include($ld_engine_path."users_get_object.php"); - - $info_message = ""; - $html_to_out = ""; - $passwd1 = str_replace("\t","",$passwd1); - if ( (!$passwd1) or ($passwd1 != $passwd2) ) - $html_to_out .= "$w_pas_not_changed.
\n"; - else { - $html_to_out .= "$w_pas_changed.
\n"; - $current_user->password = md5($passwd1); - } - if ($showGroup1 == "on") $current_user->show_group_1=1; else $current_user->show_group_1 = 0; - if ($showGroup2 == "on") $current_user->show_group_2=1; else $current_user->show_group_2=0; - $current_user->enable_web_indicator = ($enable_web_indicator == "on") ? 1 : 0; - - $pic_name = "" . $is_regist . ".big.gif"; - if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name=""; - if ($pic_name == "") - { - $pic_name = "" . $is_regist . ".big.jpg"; - if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name=""; - } - $big_picture = $pic_name; - $pic_name = "" . $is_regist . ".gif"; - if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name=""; - if ($pic_name == "") - { - $pic_name = "". $is_regist . ".jpg"; - if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name=""; - } - $small_picture = $pic_name; - - - if ($big_del == "on") { - if ($big_picture != "") @unlink($file_path."photos/".floor($is_regist/2000)."/".$big_picture); - } - if ($sm_del == "on") { - if ($small_picture != "") @unlink($file_path."photos/".floor($is_regist/2000)."/".$small_picture); - } - - $current_user->surname = htmlspecialchars($surname); - $current_user->firstname = htmlspecialchars($firstname); - $current_user->city = htmlspecialchars($city); - $current_user->about = htmlspecialchars($comments); - $current_user->about = str_replace("\n","
", $current_user->about); - $current_user->email = htmlspecialchars($email); - $current_user->url = htmlspecialchars($url); - $current_user->icquin = htmlspecialchars($icquin); - $current_user->b_day = intval($day); - $current_user->b_month = intval($month); - $current_user->b_year = intval($year); - $current_user->sex = intval($sex); - include($ld_engine_path."user_info_update.php"); - $html_to_out .= $info_message; - - break; - - case "do_marriage": - if (!($current_user->user_class & ADM_MARRY)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $PriestName = $current_user->nickname; - set_variable("marrWho"); - set_variable("marrWith"); - - if($marrWho != "" and $marrWith != "" and $marrWho != $marrWith) { - $marrWho = intval(trim($marrWho)); - $marrWith = intval(trim($marrWith)); - - //previously married? - $is_regist = $marrWho; - include("inc_user_class.php"); - include($ld_engine_path."users_get_object.php"); - if($current_user->married_with != "") { - $error_text = "".$current_user->nickname." и ".$current_user->married_with." поженились!!!"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $JustMarried1 = $current_user->nickname; - $is_regist = $marrWith; - include($ld_engine_path."users_get_object.php"); - if($current_user->married_with != "") { - $error_text = "".$current_user->nickname." и ".$current_user->married_with." поженились!"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $JustMarried2 = $current_user->nickname; - - $is_regist = $marrWho; - include($ld_engine_path."users_get_object.php"); - $current_user->married_with = $JustMarried2; - include($ld_engine_path."user_info_update.php"); - - $is_regist = $marrWith; - include($ld_engine_path."users_get_object.php"); - $current_user->married_with = $JustMarried1; - include($ld_engine_path."user_info_update.php"); - - $html_to_out .= $info_message; - - $MsgToPass = $sw_just_married; - $MsgToPass = str_replace("~", $JustMarried1, $MsgToPass); - $MsgToPass = str_replace("#", $JustMarried2, $MsgToPass); - - $w_rob_name = $rooms[$room_id]["bot"]; - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".$MsgToPass.""); - - $MsgToPass = $sw_just_married_adm; - $MsgToPass = str_replace("~", $JustMarried1, $MsgToPass); - $MsgToPass = str_replace("#", $JustMarried2, $MsgToPass); - $MsgToPass = str_replace("*", $PriestName, $MsgToPass); - - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$banuser_array[USER_ROOM], - MESG_FROM=>$sw_usr_adm_link, - MESG_FROMWOTAGS=>$sw_usr_adm_link, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_TO=>$sw_usr_adm_link, - MESG_TOSESSION=>"", - MESG_TOID=>0, - MESG_BODY=>"$MsgToPass"); - - include($engine_path."messages_put.php"); - //to user's private log - fWrite($MsgToPass, $marrWho, ""); - fWrite($MsgToPass, $marrWith, ""); - // to moder's private log - fWrite($MsgToPass, $cu_array[USER_REGID], ""); - - } - else { - $error_text = "Пользователь не найден!"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - - break; - case "marry": - if (!($current_user->user_class & ADM_MARRY)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $html_to_out = "
". - "". - "\n". - "$w_marry_pan:
". - "$w_marry_who \n"; - $html_to_out .= "$w_marry_with \n"; - $html_to_out .= ""; - $html_to_out .= "
"; - $html_to_out .= "
". - "". - "\n". - "$w_unmarry_pan:
". - "$w_marry_who \n"; - $html_to_out .= ""; - $html_to_out .= "
"; - break; - - case "do_un_marriage": - set_variable("marrWho"); - if (!($current_user->user_class & ADM_MARRY)) { - $error_text = $w_adm_no_permission; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - - $html_to_out = ""; - - $PriestName = $current_user->nickname; - - $is_regist = $marrWho; - include("inc_user_class.php"); - include($ld_engine_path."users_get_object.php"); - if($current_user->married_with == "") { - $error_text = "".$current_user->nickname." теперь свободен!"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - - $user_to_search = $current_user->married_with; - $Nick1 = $current_user->nickname; - //unmarrying first one - $current_user->married_with = ""; - include($ld_engine_path."user_info_update.php"); - - // try to locate and unmarry the second user - $u_ids = array(); - include($ld_engine_path."users_search.php"); - $html_to_out = ""; - if (count($u_ids)) { - $IsFound = 0; - for($j = 0; $j < count($u_ids); $j++) { - if(strcasecmp(trim($u_names[$j]), $user_to_search) == 0){ - - $is_regist = $u_ids[$j]; - include("inc_user_class.php"); - include($ld_engine_path."users_get_object.php"); - $Nick2 = $current_user->nickname; - $current_user->married_with = ""; - include($ld_engine_path."user_info_update.php"); - - $MsgToPass = $sw_no_married; - $MsgToPass = str_replace("~", $Nick1, $MsgToPass); - $MsgToPass = str_replace("#", $Nick2, $MsgToPass); - - $w_rob_name = $rooms[$room_id]["bot"]; - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".$MsgToPass.""); - - $MsgToPass = $sw_no_married_adm; - $MsgToPass = str_replace("~", $Nick1, $MsgToPass); - $MsgToPass = str_replace("#", $Nick2, $MsgToPass); - $MsgToPass = str_replace("*", $PriestName, $MsgToPass); - - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$banuser_array[USER_ROOM], - MESG_FROM=>$sw_usr_adm_link, - MESG_FROMWOTAGS=>$sw_usr_adm_link, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_TO=>$sw_usr_adm_link, - MESG_TOSESSION=>"", - MESG_TOID=>0, - MESG_BODY=>"$MsgToPass"); - - include($engine_path."messages_put.php"); - //to user's private log - fWrite($MsgToPass, $marrWho, ""); - fWrite($MsgToPass, $is_regist, ""); - // to moder's private log - fWrite($MsgToPass, $cu_array[USER_REGID], ""); - - $IsFound = 1; - break; - } - } - if(!$IsFound) $html_to_out .= str_replace("~",""".$user_to_search.""",$w_search_no_found); - - - } else $html_to_out .= str_replace("~",""".$user_to_search.""",$w_search_no_found); - - $html_to_out = $MsgToPass; - - break; -} -include($file_path."designes/".$design."/output_page.php"); -?> \ No newline at end of file diff --git a/newchat/alerter.php b/newchat/alerter.php deleted file mode 100644 index ed334cc..0000000 --- a/newchat/alerter.php +++ /dev/null @@ -1,13 +0,0 @@ - \ No newline at end of file diff --git a/newchat/approve.php b/newchat/approve.php deleted file mode 100644 index 3c416a8..0000000 --- a/newchat/approve.php +++ /dev/null @@ -1,42 +0,0 @@ -user_class<1) { - $error_text = "$w_no_admin_rights"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -include_once($ld_engine_path."premoderation.php"); -set_variable("op"); -set_variable("id"); -$id = intval($id); -$wait_mesg = array(); -switch($op) { - case "ap": - $wait_mesg = premoder_approve($id); - break; - case "dec": - $wait_mesg = premoder_decline($id); - break; - default: - $wait_mesg = premoder_get(); -} - - - - -$html_to_out = "Total:".count($wait_mesg)." -- refresh
"; - -$until = (count($wait_mesg)>10)?10:count($wait_mesg); -$html_to_out .= ""; -for ($i=0; $i<$until;$i++) { - $html_to_out .= "". - "". - "\n"; -} -$html_to_out .= "
fromtomessageApprdecl
".$wait_mesg[$i][MESG_FROMWOTAGS]."".$wait_mesg[$i][MESG_TO]."".$wait_mesg[$i][MESG_BODY]."ApX
"; -include($file_path."designes/".$design."/output_page.php"); -?> \ No newline at end of file diff --git a/newchat/board_delete.php b/newchat/board_delete.php deleted file mode 100644 index f1dd8ab..0000000 --- a/newchat/board_delete.php +++ /dev/null @@ -1,15 +0,0 @@ - \ No newline at end of file diff --git a/newchat/board_list.php b/newchat/board_list.php deleted file mode 100644 index 2b22bb5..0000000 --- a/newchat/board_list.php +++ /dev/null @@ -1,14 +0,0 @@ - \ No newline at end of file diff --git a/newchat/board_post.php b/newchat/board_post.php deleted file mode 100644 index dd86fcb..0000000 --- a/newchat/board_post.php +++ /dev/null @@ -1,32 +0,0 @@ -",$message); -$message = str_replace("\r","",$message); -$message = str_replace("\t"," ",$message); -$message = str_replace(" ","  ",$message); - -$subject = str_replace("\t"," ",$subject); - -if (function_exists('preg_replace')){ - $message = preg_replace("/[0-9a-f]{32}/", "1234", $message); - $subject = preg_replace("/[0-9a-f]{32}/", "1234", $subject); -} - -$info_message = ""; - -include($ld_engine_path."board_post_message.php"); - -include($file_path."designes/".$design."/board_post.php"); -?> \ No newline at end of file diff --git a/newchat/board_send.php b/newchat/board_send.php deleted file mode 100644 index e38f514..0000000 --- a/newchat/board_send.php +++ /dev/null @@ -1,49 +0,0 @@ -".str_replace("~",""".htmlspecialchars($send_to).""",$w_search_no_found)."
"; - } - if ($send_to_id!="") { - include("inc_user_class.php"); - $ttt = $is_regist; - $is_regist = $send_to_id; #fake again :( - include($ld_engine_path."users_get_object.php"); - $u_ids[] = $is_regist; - $is_regist = $ttt; - $u_names[] = $current_user->nickname; - } -} -else { - $board_operation = "reply"; - $id = $message_id; - include($ld_engine_path."board_process_message.php"); - $u_ids[] = $board_message["from_id"]; - $u_names[] = $board_message["from"]; - $tmp_body = str_replace("
","\n",$board_message["body"]); - $tmp_body = "\n\n_______ ".str_replace("~", $board_message["from"], $w_user_wrote)." ______\n$tmp_body"; - $tmp_subject = str_replace("\"",""","Re: ".$board_message["subject"]); -} - -include($file_path."designes/".$design."/board_send.php"); -?> \ No newline at end of file diff --git a/newchat/board_view.php b/newchat/board_view.php deleted file mode 100644 index 30d9048..0000000 --- a/newchat/board_view.php +++ /dev/null @@ -1,16 +0,0 @@ - \ No newline at end of file diff --git a/newchat/change_password.php b/newchat/change_password.php deleted file mode 100644 index 855db1b..0000000 --- a/newchat/change_password.php +++ /dev/null @@ -1,40 +0,0 @@ -".$w_incorrect_password."

"; - $error = 1; - }else if (strcmp($password,$password2)!=0) { - $html_to_out .= "".$w_password_mismatch."

"; - $error = 1; - } else { - include($ld_engine_path."password_reminder.php"); - $er = update_password($password, $key); - if ($er == "") { - $html_to_out .= "".$w_pas_changed."

".$w_login_button.""; - require($file_path."designes/".$default_design."/output_page.php"); - exit(); - } else $html_to_out .= "".$er."

"; - } - -} - -$html_to_out .= "".$w_pr_title." -
- - - - - - -
".$w_new_password.":
".$w_confirm_password.":
-
"; - -require($file_path."designes/".$default_design."/output_page.php"); -?> \ No newline at end of file diff --git a/newchat/comments.php b/newchat/comments.php deleted file mode 100644 index 96e9d77..0000000 --- a/newchat/comments.php +++ /dev/null @@ -1,8 +0,0 @@ - \ No newline at end of file diff --git a/newchat/comments_send.php b/newchat/comments_send.php deleted file mode 100644 index 6b62beb..0000000 --- a/newchat/comments_send.php +++ /dev/null @@ -1,20 +0,0 @@ -\nReturn-Path: $admin_mail\n - Content-Type: text/plain;\n". - "Content-type: text/plain; ".(($charset!="") ? "charset=".$charset:"" )."\n". - "Content-Transfer-Encoding: 8bit"); -if ($success) $info_message = $w_feed_sent_ok; -else $info_message = $w_feed_error; -include($file_path."designes/".$design."/comments_send.php"); -?> \ No newline at end of file diff --git a/newchat/converts/aetsch.gif b/newchat/converts/aetsch.gif deleted file mode 100644 index 8b7ea4f..0000000 Binary files a/newchat/converts/aetsch.gif and /dev/null differ diff --git a/newchat/converts/afro.gif b/newchat/converts/afro.gif deleted file mode 100644 index f06166b..0000000 Binary files a/newchat/converts/afro.gif and /dev/null differ diff --git a/newchat/converts/alkohol.gif b/newchat/converts/alkohol.gif deleted file mode 100644 index f625b24..0000000 Binary files a/newchat/converts/alkohol.gif and /dev/null differ diff --git a/newchat/converts/angry.gif b/newchat/converts/angry.gif deleted file mode 100644 index f532cf3..0000000 Binary files a/newchat/converts/angry.gif and /dev/null differ diff --git a/newchat/converts/applaus.gif b/newchat/converts/applaus.gif deleted file mode 100644 index 40967cf..0000000 Binary files a/newchat/converts/applaus.gif and /dev/null differ diff --git a/newchat/converts/argue.gif b/newchat/converts/argue.gif deleted file mode 100644 index 83f3b0a..0000000 Binary files a/newchat/converts/argue.gif and /dev/null differ diff --git a/newchat/converts/augen.gif b/newchat/converts/augen.gif deleted file mode 100644 index c33f76c..0000000 Binary files a/newchat/converts/augen.gif and /dev/null differ diff --git a/newchat/converts/auto.gif b/newchat/converts/auto.gif deleted file mode 100644 index 20bed51..0000000 Binary files a/newchat/converts/auto.gif and /dev/null differ diff --git a/newchat/converts/balloon.gif b/newchat/converts/balloon.gif deleted file mode 100644 index e0e0d29..0000000 Binary files a/newchat/converts/balloon.gif and /dev/null differ diff --git a/newchat/converts/bigeyecry.gif b/newchat/converts/bigeyecry.gif deleted file mode 100644 index 2cb1e02..0000000 Binary files a/newchat/converts/bigeyecry.gif and /dev/null differ diff --git a/newchat/converts/biggrin.gif b/newchat/converts/biggrin.gif deleted file mode 100644 index 4f48b0f..0000000 Binary files a/newchat/converts/biggrin.gif and /dev/null differ diff --git a/newchat/converts/biglove.gif b/newchat/converts/biglove.gif deleted file mode 100644 index d3eaf42..0000000 Binary files a/newchat/converts/biglove.gif and /dev/null differ diff --git a/newchat/converts/birthday.gif b/newchat/converts/birthday.gif deleted file mode 100644 index 1edaa2c..0000000 Binary files a/newchat/converts/birthday.gif and /dev/null differ diff --git a/newchat/converts/blind.gif b/newchat/converts/blind.gif deleted file mode 100644 index 3c66b8d..0000000 Binary files a/newchat/converts/blind.gif and /dev/null differ diff --git a/newchat/converts/boesegrins.gif b/newchat/converts/boesegrins.gif deleted file mode 100644 index 8bdc589..0000000 Binary files a/newchat/converts/boesegrins.gif and /dev/null differ diff --git a/newchat/converts/bombe.gif b/newchat/converts/bombe.gif deleted file mode 100644 index 6ebf940..0000000 Binary files a/newchat/converts/bombe.gif and /dev/null differ diff --git a/newchat/converts/boobies.gif b/newchat/converts/boobies.gif deleted file mode 100644 index 147f4d1..0000000 Binary files a/newchat/converts/boobies.gif and /dev/null differ diff --git a/newchat/converts/box.gif b/newchat/converts/box.gif deleted file mode 100644 index fc2d889..0000000 Binary files a/newchat/converts/box.gif and /dev/null differ diff --git a/newchat/converts/boxing_smiley.gif b/newchat/converts/boxing_smiley.gif deleted file mode 100644 index 8818c3e..0000000 Binary files a/newchat/converts/boxing_smiley.gif and /dev/null differ diff --git a/newchat/converts/breitgrins.gif b/newchat/converts/breitgrins.gif deleted file mode 100644 index 8922e9d..0000000 Binary files a/newchat/converts/breitgrins.gif and /dev/null differ diff --git a/newchat/converts/brille.gif b/newchat/converts/brille.gif deleted file mode 100644 index f71b6f2..0000000 Binary files a/newchat/converts/brille.gif and /dev/null differ diff --git a/newchat/converts/brmbl.gif b/newchat/converts/brmbl.gif deleted file mode 100644 index cc43735..0000000 Binary files a/newchat/converts/brmbl.gif and /dev/null differ diff --git a/newchat/converts/bums.gif b/newchat/converts/bums.gif deleted file mode 100644 index 9842407..0000000 Binary files a/newchat/converts/bums.gif and /dev/null differ diff --git a/newchat/converts/burn.gif b/newchat/converts/burn.gif deleted file mode 100644 index 84d2e77..0000000 Binary files a/newchat/converts/burn.gif and /dev/null differ diff --git a/newchat/converts/bussi.gif b/newchat/converts/bussi.gif deleted file mode 100644 index 7480ddd..0000000 Binary files a/newchat/converts/bussi.gif and /dev/null differ diff --git a/newchat/converts/bye.gif b/newchat/converts/bye.gif deleted file mode 100644 index 81019d0..0000000 Binary files a/newchat/converts/bye.gif and /dev/null differ diff --git a/newchat/converts/crossbones.gif b/newchat/converts/crossbones.gif deleted file mode 100644 index 31adaba..0000000 Binary files a/newchat/converts/crossbones.gif and /dev/null differ diff --git a/newchat/converts/crucified.gif b/newchat/converts/crucified.gif deleted file mode 100644 index 0d3abb9..0000000 Binary files a/newchat/converts/crucified.gif and /dev/null differ diff --git a/newchat/converts/devil.gif b/newchat/converts/devil.gif deleted file mode 100644 index 9584afb..0000000 Binary files a/newchat/converts/devil.gif and /dev/null differ diff --git a/newchat/converts/director.gif b/newchat/converts/director.gif deleted file mode 100644 index f145423..0000000 Binary files a/newchat/converts/director.gif and /dev/null differ diff --git a/newchat/converts/doom.gif b/newchat/converts/doom.gif deleted file mode 100644 index 71f757c..0000000 Binary files a/newchat/converts/doom.gif and /dev/null differ diff --git a/newchat/converts/dreh.gif b/newchat/converts/dreh.gif deleted file mode 100644 index edb8b89..0000000 Binary files a/newchat/converts/dreh.gif and /dev/null differ diff --git a/newchat/converts/dunkel.gif b/newchat/converts/dunkel.gif deleted file mode 100644 index a60ef43..0000000 Binary files a/newchat/converts/dunkel.gif and /dev/null differ diff --git a/newchat/converts/engel.gif b/newchat/converts/engel.gif deleted file mode 100644 index a457724..0000000 Binary files a/newchat/converts/engel.gif and /dev/null differ diff --git a/newchat/converts/flamethrower.gif b/newchat/converts/flamethrower.gif deleted file mode 100644 index 5949263..0000000 Binary files a/newchat/converts/flamethrower.gif and /dev/null differ diff --git a/newchat/converts/flipa.gif b/newchat/converts/flipa.gif deleted file mode 100644 index c45b80f..0000000 Binary files a/newchat/converts/flipa.gif and /dev/null differ diff --git a/newchat/converts/flower.gif b/newchat/converts/flower.gif deleted file mode 100644 index 233dfda..0000000 Binary files a/newchat/converts/flower.gif and /dev/null differ diff --git a/newchat/converts/fluch.gif b/newchat/converts/fluch.gif deleted file mode 100644 index 19eb9d8..0000000 Binary files a/newchat/converts/fluch.gif and /dev/null differ diff --git a/newchat/converts/fouetaa.gif b/newchat/converts/fouetaa.gif deleted file mode 100644 index 5a04ced..0000000 Binary files a/newchat/converts/fouetaa.gif and /dev/null differ diff --git a/newchat/converts/frown.gif b/newchat/converts/frown.gif deleted file mode 100644 index 2bb5a9a..0000000 Binary files a/newchat/converts/frown.gif and /dev/null differ diff --git a/newchat/converts/frust.gif b/newchat/converts/frust.gif deleted file mode 100644 index fe5b83c..0000000 Binary files a/newchat/converts/frust.gif and /dev/null differ diff --git a/newchat/converts/furz.gif b/newchat/converts/furz.gif deleted file mode 100644 index 041bcd6..0000000 Binary files a/newchat/converts/furz.gif and /dev/null differ diff --git a/newchat/converts/geil.gif b/newchat/converts/geil.gif deleted file mode 100644 index dc0625b..0000000 Binary files a/newchat/converts/geil.gif and /dev/null differ diff --git a/newchat/converts/geist2.gif b/newchat/converts/geist2.gif deleted file mode 100644 index f5a9c2b..0000000 Binary files a/newchat/converts/geist2.gif and /dev/null differ diff --git a/newchat/converts/gewichtheb.gif b/newchat/converts/gewichtheb.gif deleted file mode 100644 index 4bdfd6f..0000000 Binary files a/newchat/converts/gewichtheb.gif and /dev/null differ diff --git a/newchat/converts/glotz.gif b/newchat/converts/glotz.gif deleted file mode 100644 index 43cf212..0000000 Binary files a/newchat/converts/glotz.gif and /dev/null differ diff --git a/newchat/converts/gluck.gif b/newchat/converts/gluck.gif deleted file mode 100644 index 94fe391..0000000 Binary files a/newchat/converts/gluck.gif and /dev/null differ diff --git a/newchat/converts/heart.gif b/newchat/converts/heart.gif deleted file mode 100644 index 32ee899..0000000 Binary files a/newchat/converts/heart.gif and /dev/null differ diff --git a/newchat/converts/heul.gif b/newchat/converts/heul.gif deleted file mode 100644 index 11d9a91..0000000 Binary files a/newchat/converts/heul.gif and /dev/null differ diff --git a/newchat/converts/heulen.gif b/newchat/converts/heulen.gif deleted file mode 100644 index 99518da..0000000 Binary files a/newchat/converts/heulen.gif and /dev/null differ diff --git a/newchat/converts/hinternzeig.gif b/newchat/converts/hinternzeig.gif deleted file mode 100644 index c07ea1b..0000000 Binary files a/newchat/converts/hinternzeig.gif and /dev/null differ diff --git a/newchat/converts/idee.gif b/newchat/converts/idee.gif deleted file mode 100644 index 6115799..0000000 Binary files a/newchat/converts/idee.gif and /dev/null differ diff --git a/newchat/converts/indieaugenschau.gif b/newchat/converts/indieaugenschau.gif deleted file mode 100644 index c6f1c2b..0000000 Binary files a/newchat/converts/indieaugenschau.gif and /dev/null differ diff --git a/newchat/converts/knuddel.gif b/newchat/converts/knuddel.gif deleted file mode 100644 index ae2f9d0..0000000 Binary files a/newchat/converts/knuddel.gif and /dev/null differ diff --git a/newchat/converts/konfus.gif b/newchat/converts/konfus.gif deleted file mode 100644 index 5f1ff68..0000000 Binary files a/newchat/converts/konfus.gif and /dev/null differ diff --git a/newchat/converts/ladysman.gif b/newchat/converts/ladysman.gif deleted file mode 100644 index 34b33ba..0000000 Binary files a/newchat/converts/ladysman.gif and /dev/null differ diff --git a/newchat/converts/liplick.gif b/newchat/converts/liplick.gif deleted file mode 100644 index 5072d9b..0000000 Binary files a/newchat/converts/liplick.gif and /dev/null differ diff --git a/newchat/converts/lmaa.gif b/newchat/converts/lmaa.gif deleted file mode 100644 index c379e56..0000000 Binary files a/newchat/converts/lmaa.gif and /dev/null differ diff --git a/newchat/converts/lol.gif b/newchat/converts/lol.gif deleted file mode 100644 index 7f08179..0000000 Binary files a/newchat/converts/lol.gif and /dev/null differ diff --git a/newchat/converts/love.gif b/newchat/converts/love.gif deleted file mode 100644 index 1decb01..0000000 Binary files a/newchat/converts/love.gif and /dev/null differ diff --git a/newchat/converts/luxlove.gif b/newchat/converts/luxlove.gif deleted file mode 100644 index 79face1..0000000 Binary files a/newchat/converts/luxlove.gif and /dev/null differ diff --git a/newchat/converts/mad.gif b/newchat/converts/mad.gif deleted file mode 100644 index 7297a64..0000000 Binary files a/newchat/converts/mad.gif and /dev/null differ diff --git a/newchat/converts/nixweiss.gif b/newchat/converts/nixweiss.gif deleted file mode 100644 index 179a213..0000000 Binary files a/newchat/converts/nixweiss.gif and /dev/null differ diff --git a/newchat/converts/nono.gif b/newchat/converts/nono.gif deleted file mode 100644 index 3c1a0dc..0000000 Binary files a/newchat/converts/nono.gif and /dev/null differ diff --git a/newchat/converts/notnice.gif b/newchat/converts/notnice.gif deleted file mode 100644 index 4ce40fe..0000000 Binary files a/newchat/converts/notnice.gif and /dev/null differ diff --git a/newchat/converts/nuke.gif b/newchat/converts/nuke.gif deleted file mode 100644 index 8b30b7d..0000000 Binary files a/newchat/converts/nuke.gif and /dev/null differ diff --git a/newchat/converts/penn.gif b/newchat/converts/penn.gif deleted file mode 100644 index bba0848..0000000 Binary files a/newchat/converts/penn.gif and /dev/null differ diff --git a/newchat/converts/pfeil.gif b/newchat/converts/pfeil.gif deleted file mode 100644 index 13cbb71..0000000 Binary files a/newchat/converts/pfeil.gif and /dev/null differ diff --git a/newchat/converts/phone.gif b/newchat/converts/phone.gif deleted file mode 100644 index 11d11a7..0000000 Binary files a/newchat/converts/phone.gif and /dev/null differ diff --git a/newchat/converts/pissed.gif b/newchat/converts/pissed.gif deleted file mode 100644 index 793c17d..0000000 Binary files a/newchat/converts/pissed.gif and /dev/null differ diff --git a/newchat/converts/prost.gif b/newchat/converts/prost.gif deleted file mode 100644 index 994836b..0000000 Binary files a/newchat/converts/prost.gif and /dev/null differ diff --git a/newchat/converts/punch.gif b/newchat/converts/punch.gif deleted file mode 100644 index 3880e7f..0000000 Binary files a/newchat/converts/punch.gif and /dev/null differ diff --git a/newchat/converts/quassel.gif b/newchat/converts/quassel.gif deleted file mode 100644 index e3503ef..0000000 Binary files a/newchat/converts/quassel.gif and /dev/null differ diff --git a/newchat/converts/rauch.gif b/newchat/converts/rauch.gif deleted file mode 100644 index 7b7224c..0000000 Binary files a/newchat/converts/rauch.gif and /dev/null differ diff --git a/newchat/converts/read.gif b/newchat/converts/read.gif deleted file mode 100644 index 0199172..0000000 Binary files a/newchat/converts/read.gif and /dev/null differ diff --git a/newchat/converts/remykiss.gif b/newchat/converts/remykiss.gif deleted file mode 100644 index 817000f..0000000 Binary files a/newchat/converts/remykiss.gif and /dev/null differ diff --git a/newchat/converts/rockband.gif b/newchat/converts/rockband.gif deleted file mode 100644 index 6d5fd5e..0000000 Binary files a/newchat/converts/rockband.gif and /dev/null differ diff --git a/newchat/converts/rofl2.gif b/newchat/converts/rofl2.gif deleted file mode 100644 index 8d0bf07..0000000 Binary files a/newchat/converts/rofl2.gif and /dev/null differ diff --git a/newchat/converts/sad2.gif b/newchat/converts/sad2.gif deleted file mode 100644 index 6d2fae1..0000000 Binary files a/newchat/converts/sad2.gif and /dev/null differ diff --git a/newchat/converts/schau.gif b/newchat/converts/schau.gif deleted file mode 100644 index c6f33f8..0000000 Binary files a/newchat/converts/schau.gif and /dev/null differ diff --git a/newchat/converts/schuechtern.gif b/newchat/converts/schuechtern.gif deleted file mode 100644 index d5e29f5..0000000 Binary files a/newchat/converts/schuechtern.gif and /dev/null differ diff --git a/newchat/converts/super.gif b/newchat/converts/super.gif deleted file mode 100644 index 3722c3b..0000000 Binary files a/newchat/converts/super.gif and /dev/null differ diff --git a/newchat/converts/tippel.gif b/newchat/converts/tippel.gif deleted file mode 100644 index d923f29..0000000 Binary files a/newchat/converts/tippel.gif and /dev/null differ diff --git a/newchat/converts/to_remove b/newchat/converts/to_remove deleted file mode 100644 index df08488..0000000 --- a/newchat/converts/to_remove +++ /dev/null @@ -1,2 +0,0 @@ -just to be shure that this directory will be created by UnPack-progra -You can remove this file diff --git a/newchat/converts/tongue.gif b/newchat/converts/tongue.gif deleted file mode 100644 index 1b36c3d..0000000 Binary files a/newchat/converts/tongue.gif and /dev/null differ diff --git a/newchat/converts/troest.gif b/newchat/converts/troest.gif deleted file mode 100644 index 206e1ba..0000000 Binary files a/newchat/converts/troest.gif and /dev/null differ diff --git a/newchat/converts/wanna.gif b/newchat/converts/wanna.gif deleted file mode 100644 index 40d4272..0000000 Binary files a/newchat/converts/wanna.gif and /dev/null differ diff --git a/newchat/converts/wein.gif b/newchat/converts/wein.gif deleted file mode 100644 index 0749573..0000000 Binary files a/newchat/converts/wein.gif and /dev/null differ diff --git a/newchat/converts/wink2.gif b/newchat/converts/wink2.gif deleted file mode 100644 index bd9f138..0000000 Binary files a/newchat/converts/wink2.gif and /dev/null differ diff --git a/newchat/converts/zungeraustreck.gif b/newchat/converts/zungeraustreck.gif deleted file mode 100644 index 06abd04..0000000 Binary files a/newchat/converts/zungeraustreck.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/admin.php b/newchat/designes/hi-tech/admin.php deleted file mode 100644 index 7c58052..0000000 --- a/newchat/designes/hi-tech/admin.php +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/newchat/designes/hi-tech/admin_navi.php b/newchat/designes/hi-tech/admin_navi.php deleted file mode 100644 index 4a530b3..0000000 --- a/newchat/designes/hi-tech/admin_navi.php +++ /dev/null @@ -1,8 +0,0 @@ -".$admin_navi[$i]["title"]." | "; -} -include($file_path."designes/".$design."/common_body_end.php");?> \ No newline at end of file diff --git a/newchat/designes/hi-tech/alerter.php b/newchat/designes/hi-tech/alerter.php deleted file mode 100644 index f7d9d70..0000000 --- a/newchat/designes/hi-tech/alerter.php +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - diff --git a/newchat/designes/hi-tech/alerter_blank.php b/newchat/designes/hi-tech/alerter_blank.php deleted file mode 100644 index b90db75..0000000 --- a/newchat/designes/hi-tech/alerter_blank.php +++ /dev/null @@ -1,7 +0,0 @@ - - - -
-
- - (, %)
- - - \ No newline at end of file diff --git a/newchat/designes/hi-tech/board_list.php b/newchat/designes/hi-tech/board_list.php deleted file mode 100644 index 4e4a1eb..0000000 --- a/newchat/designes/hi-tech/board_list.php +++ /dev/null @@ -1,36 +0,0 @@ - - - - - -
 
- - - - - - - - - - - - - - -
-"> ">

- - - diff --git a/newchat/designes/hi-tech/board_post.php b/newchat/designes/hi-tech/board_post.php deleted file mode 100644 index eedc83d..0000000 --- a/newchat/designes/hi-tech/board_post.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - -
- - -
- - - diff --git a/newchat/designes/hi-tech/board_send.php b/newchat/designes/hi-tech/board_send.php deleted file mode 100644 index 98f4a95..0000000 --- a/newchat/designes/hi-tech/board_send.php +++ /dev/null @@ -1,44 +0,0 @@ - - - - -
- - - -
- -:
-:
-:
- -
- -
- -
-
- - -".$w_enter_nick;?>: - -
- diff --git a/newchat/designes/hi-tech/board_view.php b/newchat/designes/hi-tech/board_view.php deleted file mode 100644 index ce0518d..0000000 --- a/newchat/designes/hi-tech/board_view.php +++ /dev/null @@ -1,23 +0,0 @@ - - - - -\n";?> - - - -
-$w_from: ".$board_message["from"]."
$w_at_date: ".$board_message["date"]."
$w_subject: ".htmlspecialchars($board_message["subject"])."
';" class="input">   -';" class="input">   - -
- diff --git a/newchat/designes/hi-tech/comments.php b/newchat/designes/hi-tech/comments.php deleted file mode 100644 index 4e8b890..0000000 --- a/newchat/designes/hi-tech/comments.php +++ /dev/null @@ -1,25 +0,0 @@ - - - - -
- - -
- - -
-:
eMail:
-:
-
- -
- diff --git a/newchat/designes/hi-tech/comments_send.php b/newchat/designes/hi-tech/comments_send.php deleted file mode 100644 index 2e5bf93..0000000 --- a/newchat/designes/hi-tech/comments_send.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/newchat/designes/hi-tech/common_body_end.php b/newchat/designes/hi-tech/common_body_end.php deleted file mode 100644 index e28e4b1..0000000 --- a/newchat/designes/hi-tech/common_body_end.php +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/newchat/designes/hi-tech/common_body_start.php b/newchat/designes/hi-tech/common_body_start.php deleted file mode 100644 index 64170f2..0000000 --- a/newchat/designes/hi-tech/common_body_start.php +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/newchat/designes/hi-tech/common_browser_detect.php b/newchat/designes/hi-tech/common_browser_detect.php deleted file mode 100644 index 51d76c3..0000000 --- a/newchat/designes/hi-tech/common_browser_detect.php +++ /dev/null @@ -1,15 +0,0 @@ - \ No newline at end of file diff --git a/newchat/designes/hi-tech/common_title.php b/newchat/designes/hi-tech/common_title.php deleted file mode 100644 index 72d7c68..0000000 --- a/newchat/designes/hi-tech/common_title.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - - <?php echo $w_title;?> - - ";?> diff --git a/newchat/designes/hi-tech/daemon_html_header.html b/newchat/designes/hi-tech/daemon_html_header.html deleted file mode 100644 index 350aee8..0000000 --- a/newchat/designes/hi-tech/daemon_html_header.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - voodoo chat - - [CHARSET] - - - -
[TOPIC]
-
diff --git a/newchat/designes/hi-tech/error_page.php b/newchat/designes/hi-tech/error_page.php deleted file mode 100644 index e3ad47e..0000000 --- a/newchat/designes/hi-tech/error_page.php +++ /dev/null @@ -1,7 +0,0 @@ - - -
- -
- diff --git a/newchat/designes/hi-tech/fullinfo.php b/newchat/designes/hi-tech/fullinfo.php deleted file mode 100644 index 7b7531c..0000000 --- a/newchat/designes/hi-tech/fullinfo.php +++ /dev/null @@ -1,79 +0,0 @@ - - -".$current_user->nickname.":\n"; - echo "\n"; - - if ($current_user->show_group_1 == 1) { - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - } - if ($current_user->show_group_2 == 1) { - echo "\n"; - echo "\n"; - echo "\n"; - } - - echo ""; -} - if ($current_user->show_group_1 == 1 && $pic_name != "") { echo "\n";} -?> - diff --git a/newchat/designes/hi-tech/images/close_box.gif b/newchat/designes/hi-tech/images/close_box.gif deleted file mode 100644 index 7ed1c20..0000000 Binary files a/newchat/designes/hi-tech/images/close_box.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/conn_offline.gif b/newchat/designes/hi-tech/images/conn_offline.gif deleted file mode 100644 index 9b0ef3d..0000000 Binary files a/newchat/designes/hi-tech/images/conn_offline.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/conn_online.gif b/newchat/designes/hi-tech/images/conn_online.gif deleted file mode 100644 index 0c49589..0000000 Binary files a/newchat/designes/hi-tech/images/conn_online.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/hor_dot_line.gif b/newchat/designes/hi-tech/images/hor_dot_line.gif deleted file mode 100644 index dff81bb..0000000 Binary files a/newchat/designes/hi-tech/images/hor_dot_line.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/pixel.gif b/newchat/designes/hi-tech/images/pixel.gif deleted file mode 100644 index e565824..0000000 Binary files a/newchat/designes/hi-tech/images/pixel.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/sex_f.gif b/newchat/designes/hi-tech/images/sex_f.gif deleted file mode 100644 index 2aecd56..0000000 Binary files a/newchat/designes/hi-tech/images/sex_f.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/sex_m.gif b/newchat/designes/hi-tech/images/sex_m.gif deleted file mode 100644 index b12b710..0000000 Binary files a/newchat/designes/hi-tech/images/sex_m.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/status_1.gif b/newchat/designes/hi-tech/images/status_1.gif deleted file mode 100644 index b2e280d..0000000 Binary files a/newchat/designes/hi-tech/images/status_1.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/status_2.gif b/newchat/designes/hi-tech/images/status_2.gif deleted file mode 100644 index 2f2c167..0000000 Binary files a/newchat/designes/hi-tech/images/status_2.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/status_3.gif b/newchat/designes/hi-tech/images/status_3.gif deleted file mode 100644 index de8818a..0000000 Binary files a/newchat/designes/hi-tech/images/status_3.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/images/vert_dot_line.gif b/newchat/designes/hi-tech/images/vert_dot_line.gif deleted file mode 100644 index 5d43a09..0000000 Binary files a/newchat/designes/hi-tech/images/vert_dot_line.gif and /dev/null differ diff --git a/newchat/designes/hi-tech/index.php b/newchat/designes/hi-tech/index.php deleted file mode 100644 index f540450..0000000 --- a/newchat/designes/hi-tech/index.php +++ /dev/null @@ -1,8 +0,0 @@ - - - - - <?php echo $w_welcome;?> -*/?> - -*/?> diff --git a/newchat/designes/hi-tech/logout.php b/newchat/designes/hi-tech/logout.php deleted file mode 100644 index c3a75b3..0000000 --- a/newchat/designes/hi-tech/logout.php +++ /dev/null @@ -1,7 +0,0 @@ - - -
- -
- diff --git a/newchat/designes/hi-tech/mess_frameset.php b/newchat/designes/hi-tech/mess_frameset.php deleted file mode 100644 index 7ae0a35..0000000 --- a/newchat/designes/hi-tech/mess_frameset.php +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - diff --git a/newchat/designes/hi-tech/messages.php b/newchat/designes/hi-tech/messages.php deleted file mode 100644 index 7e973d0..0000000 --- a/newchat/designes/hi-tech/messages.php +++ /dev/null @@ -1,34 +0,0 @@ - - - -
- - - diff --git a/newchat/designes/hi-tech/navibar.php b/newchat/designes/hi-tech/navibar.php deleted file mode 100644 index 3c11c63..0000000 --- a/newchat/designes/hi-tech/navibar.php +++ /dev/null @@ -1,56 +0,0 @@ - - - -
".$w_family.""; - if($current_user->married_with != "") { - - if($current_user->sex == 1) { - echo $w_marr_man_yes; - } - else if($current_user->sex == 2) { - echo $w_marr_wom_yes; - } - else { - echo $w_marr_it_yes; - } - - $user_to_search = $current_user->married_with; - $u_ids = array(); - include($ld_engine_path."users_search.php"); - echo " "; - if (count($u_ids)) { - for($i = 0; $i < count($u_ids); $i++) { - if(strcasecmp($u_names[$i], $user_to_search) == 0){ - echo ""; - break; - } - } - - } - echo "".$current_user->married_with.""; - if (count($u_ids)) { - echo ""; - } - - } - else { - if($current_user->sex == 1) { - echo $w_marr_man_no; - } - else if($current_user->sex == 2) { - echo $w_marr_wom_no; - } - else { - echo $w_marr_it_no; - } - } - - echo "
$w_name: ".$current_user->surname . " " .$current_user->firstname. "
$w_birthday: " . $current_user->b_day ." / " . $current_user->b_month ." / ".$current_user->b_year ."
$w_gender: ".$sexStr."
$w_city: ".$current_user->city."
$w_addit_info: ". $current_user->about."
$w_email: email . "\">".$current_user->email."
$w_homepage: url)."\" target=\"_blank\">".$current_user->url."
$w_icq: ".$current_user->icquin."
$w_send_mes
- - -
  - | - | - | - | - | - - - - - - -user_class=="admin") {?> - | - -
- diff --git a/newchat/designes/hi-tech/output_page.php b/newchat/designes/hi-tech/output_page.php deleted file mode 100644 index 12b9fd3..0000000 --- a/newchat/designes/hi-tech/output_page.php +++ /dev/null @@ -1,8 +0,0 @@ -"; -if (isset($html_to_out)) - echo $html_to_out; -echo ""; -include($file_path."designes/".$design."/common_body_end.php");?> \ No newline at end of file diff --git a/newchat/designes/hi-tech/pictures.php b/newchat/designes/hi-tech/pictures.php deleted file mode 100644 index 2931032..0000000 --- a/newchat/designes/hi-tech/pictures.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - -\n"; -?> -
".$pic_phrases[$i]."".$pic_urls[$i]."
- diff --git a/newchat/designes/hi-tech/registration_add.php b/newchat/designes/hi-tech/registration_add.php deleted file mode 100644 index ae13e2e..0000000 --- a/newchat/designes/hi-tech/registration_add.php +++ /dev/null @@ -1,23 +0,0 @@ - - -parent.parent.voc_navibar.reg_add();"; - else - echo ""; -} - -include($file_path."designes/".$design."/common_body_end.php"); -?> \ No newline at end of file diff --git a/newchat/designes/hi-tech/registration_form.php b/newchat/designes/hi-tech/registration_form.php deleted file mode 100644 index 5309410..0000000 --- a/newchat/designes/hi-tech/registration_form.php +++ /dev/null @@ -1,37 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - -
:
-
:
:
- - -
- -
- \ No newline at end of file diff --git a/newchat/designes/hi-tech/rools.php b/newchat/designes/hi-tech/rools.php deleted file mode 100644 index 1febd0f..0000000 --- a/newchat/designes/hi-tech/rools.php +++ /dev/null @@ -1,33 +0,0 @@ - - -
- - -
-
Правила поведения в чате на www.rock.ru
-


-Можно общаться (как ни странно ;-)) -

-Можно молчать (хотя зачем? ) -

-Можно наблюдать за остальными -

-Можно безобидно дурачиться (если есть настроение) -

-Можно петь песни -

-Можно... да много чего можно, главное чтоб никому не было обидно. -



-Запрещено флудить. -

-Запрещено использовать «мат ради мата» (даже если он ни на кого не обращен). -

-Запрещено размещать сообщения, оскорбляющие чувства чатлан (религиозные и т. д.) или затрагивающие их взгляды (музыкальные, политические и т. д.). -


-Нажатием на кнопку регистрации (или „Login“) Вы автоматически подтверждаете своё согласие с этими условиями и с тем, что модераторы чата имеют право удалить Вас при несоблюдении этих условий. -

-

-© 2001-2006 by ROCK.RU - Team -
- \ No newline at end of file diff --git a/newchat/designes/hi-tech/rooms.php b/newchat/designes/hi-tech/rooms.php deleted file mode 100644 index 651e99c..0000000 --- a/newchat/designes/hi-tech/rooms.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - -


- - -"; - echo ""; - //echo ""; -} -?>
".$w_in_room."
"".addslashes($rooms[$room_ids[$kk]]["title"]).""
$total_users ".w_people($total_users)."
"; - echo implode("
", $rooms[$room_ids[$kk]]["in_room"]); - echo "
 
-
- -
- \ No newline at end of file diff --git a/newchat/designes/hi-tech/sender.php b/newchat/designes/hi-tech/sender.php deleted file mode 100644 index b23bc43..0000000 --- a/newchat/designes/hi-tech/sender.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -alert('".str_replace("
","\\n",str_replace("\n","\\n",str_replace("\r","",str_replace("'","\'",$error_text))))."');"; -?> - - diff --git a/newchat/designes/hi-tech/sender_visible.php b/newchat/designes/hi-tech/sender_visible.php deleted file mode 100644 index 75c7893..0000000 --- a/newchat/designes/hi-tech/sender_visible.php +++ /dev/null @@ -1,163 +0,0 @@ - - - - - -
> -\n"; -?> - - - - - - -
- - - - - - -
- - -
- - - - -"; - } -} ?> -
- - - - - - - - -\n"; -if ($enabled_i_style) echo "\n"; -if ($enabled_u_style) echo "\n"; -?> - - - - -
    -    
- -
-
-
- diff --git a/newchat/designes/hi-tech/shower.php b/newchat/designes/hi-tech/shower.php deleted file mode 100644 index 89c2229..0000000 --- a/newchat/designes/hi-tech/shower.php +++ /dev/null @@ -1,50 +0,0 @@ - - - - -
- - - - - - - - - - - - - - -
:
- -
- diff --git a/newchat/designes/hi-tech/status.php b/newchat/designes/hi-tech/status.php deleted file mode 100644 index 80600a8..0000000 --- a/newchat/designes/hi-tech/status.php +++ /dev/null @@ -1,76 +0,0 @@ - - - - -
- - - -
- diff --git a/newchat/designes/hi-tech/status_blank.php b/newchat/designes/hi-tech/status_blank.php deleted file mode 100644 index 76b4319..0000000 --- a/newchat/designes/hi-tech/status_blank.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
 
- diff --git a/newchat/designes/hi-tech/style.css b/newchat/designes/hi-tech/style.css deleted file mode 100644 index 4b4cc4b..0000000 --- a/newchat/designes/hi-tech/style.css +++ /dev/null @@ -1,74 +0,0 @@ -body, td -{ - font-family: Verdana, Arial; - font-size:13px; - color: #F0F0F0; - background-color: #071428; -} -a,a:visited,a:hover -{ - color: white; -} -a.jsnavi, a.jsnavi:visited,.jsnavi -{ - font-family: Verdana, Arial; - font-size:11px; - color:#FFC246; - font-weight: bold; - text-decoration: none; -} -.jsnavi:hover -{ - font-family: Verdana, Arial; - font-size:11px; - color: blue; - font-weight: bold; - text-decoration: none; -} - -small -{ - font-size:11px; - color:#f0f0f0; -} -.input -{ - BACKGROUND-COLOR: #414141; - BORDER-BOTTOM: #ECECEC 1pt solid; - BORDER-LEFT: #ECECEC 1pt solid; - BORDER-RIGHT: #ECECEC 1pt solid; - BORDER-TOP: #ECECEC 1pt solid; - COLOR: #ffffff; - FONT-SIZE: 12px; - MARGIN: 0px; - PADDING-BOTTOM: 0px; - PADDING-LEFT: 2px; - PADDING-RIGHT: 0px; - PADDING-TOP: 0px; - font-family: Verdana, arial, Helvetica; -} -h3,.cap -{ - font-weight: bold; - font-size:16px; -} -a.nick, a.nick:visited -{ - text-decoration: none; -} -a.nick:hover -{ - color:#6060ff; - text-decoration: none; -} -.hs -{ - background-color: #152640; - color: #ffffff; -} -.topic -{ - font-size:14px; - font-weight:bold; - color:#ffffff; -} diff --git a/newchat/designes/hi-tech/user_info.php b/newchat/designes/hi-tech/user_info.php deleted file mode 100644 index e3abdbd..0000000 --- a/newchat/designes/hi-tech/user_info.php +++ /dev/null @@ -1,113 +0,0 @@ - - - -
- - -".$current_user->nickname .":
";?> - - - - - - - - - - - - - - - - -
show_group_1 == 1) echo " checked";?>> - - - - - -\n"; - -#small picture: -echo ""; - - -echo ""; -?> - -
:
:
: / /
:
$w_gender:
$w_small_photo: "; -if ($small_picture != "") - echo "
$w_check_for_delete
"; -echo "$w_other_photo
$w_big_photo: "; -if ($big_picture != "") -{ - echo "
"; - echo "$w_check_for_delete
"; - -} - echo "$w_other_photo
: -
-show_group_2 == 1) echo " checked";?>>
- - - - -
:
:
:
-
- - - - - -
-enable_web_indicator) echo " checked";?>>
",$w_web_indicator_code);?>
-
- - - - -
:
:
-

- -
- diff --git a/newchat/designes/hi-tech/user_info_update.php b/newchat/designes/hi-tech/user_info_update.php deleted file mode 100644 index bb52270..0000000 --- a/newchat/designes/hi-tech/user_info_update.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - diff --git a/newchat/designes/hi-tech/users.php b/newchat/designes/hi-tech/users.php deleted file mode 100644 index 5bd7f32..0000000 --- a/newchat/designes/hi-tech/users.php +++ /dev/null @@ -1,31 +0,0 @@ - - -"; - for ($i=0;$i".$u_names[$i]."
\n"; -}?> -
- - -
- - -
-: - -
- -
- diff --git a/newchat/designes/hi-tech/voc.php b/newchat/designes/hi-tech/voc.php deleted file mode 100644 index e0e51ef..0000000 --- a/newchat/designes/hi-tech/voc.php +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - 0 && $ar_rooms[$room_id][ROOM_PREMODER]==1)?"100, ":""?> 60" frameborder="no" framespacing="0" border="0" borderwidth="0"> - - - - - - - - - " name="voc_shower" noresize> - - \n". - if ($priv_frame && $chat_type == "tail") - echo "\n"; - ?> - - 0 && $ar_rooms[$room_id][ROOM_PREMODER]==1) {?> - - - - - - - - - - - " noresize scrolling="no" marginwidth="0" marginheight="0" name="voc_alerter"> - - - diff --git a/newchat/designes/hi-tech/voc_password_required.php b/newchat/designes/hi-tech/voc_password_required.php deleted file mode 100644 index 314d745..0000000 --- a/newchat/designes/hi-tech/voc_password_required.php +++ /dev/null @@ -1,18 +0,0 @@ - - -
: - - - - - -   - -
-: -
-
- - - diff --git a/newchat/designes/hi-tech/welcome.php b/newchat/designes/hi-tech/welcome.php deleted file mode 100644 index 27f5c97..0000000 --- a/newchat/designes/hi-tech/welcome.php +++ /dev/null @@ -1,180 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - -

- - - -".$w_registered_only."
".$w_registration."";?> - -1) { - - echo "

".$w_sel_lang.": | "; - - for ($i=0;$i".$allowed_langs[$i]." | "; - -}?> - - - -
    - - - - - - - - - - - - - - - - - -1) - -{ - - echo " - -1) - -{ - - echo "\n"; - -} - -else echo "\n"; - -?> - -
:  
:  
". $w_for_registered."";?>
- - - - - -1){?> - -
: - - 
".$w_select_type;?>:  - - 
$w_select_design:  
- -
- -

- -Перед входом в чат просьба ознакомиться с Правилами поведения в чате! - -

- -Нажатием на кнопку регистрации (или „Login“) Вы автоматически подтверждаете своё согласие с этими - -
условиями и с тем, что модераторы чата имеют право удалить Вас при несоблюдении этих условий.
- -


- -© 1999-2003 by Vlad Vostrykh - -

- -
-
- - Rambler's Top100 - - - - - - - - diff --git a/newchat/designes/hi-tech/who.php b/newchat/designes/hi-tech/who.php deleted file mode 100644 index 2cf42f3..0000000 --- a/newchat/designes/hi-tech/who.php +++ /dev/null @@ -1,161 +0,0 @@ -1) ? - "'$w_in_room
"".addslashes($rooms[intval($room_id)]["title"]).""
$total_users ".w_people($total_users)."'" : - "'$w_in_chat: $total_users ".w_people($total_users)."'"; -/*?> - - - - - - - - - - - - - -
- -
'+inChat+'
 
-"; - break; - } - } - -###################################################################################### - if (0) { - addUser($i, - addslashes($out_users[$i]["nickname"]), - urlencode(urlencode($out_users[$i]["nickname"])), - intval($out_users[$i]["sex"]), - $status, - intval($out_users[$i]["user_id"]), - isset($ignored_users[strtolower($out_users[$i]["nickname"])]) ? 1 : 0, - $out_users[$i]["small_photo"], - addslashes($out_users[$i]["htmlnick"])); - } -###################################################################################### -?> - '; -} -?> - -who.php" target="voc_who">'); */?> - - -1) { - writeln(''); - writeln(''); - } -*/?> -
->>'; - } else { - echo '  >>'; - } - echo ' '; - echo $u['htmlnick']; - if ($u['sex'] == 1) { echo '', $w_male,'';} - if ($u['sex'] == 2) { echo '', $w_female,'';} - echo '', $u['st']; - - if($u['user_id'] > 0) { - if ($u['small_photo'] !="") { - echo ' / '; - } - else { - echo '? / '; - } - } - if ($is_ignored) { - echo 'vis'; - } - else { - echo 'ign'; - } - echo '
 
- - -:
'); - writeln(''); - writeln('
'); - writeln(''); - writeln(':
\n\n
 
- -parent.whoList(); -} -//--> - - diff --git a/newchat/faces/amazed-mad.gif b/newchat/faces/amazed-mad.gif deleted file mode 100644 index 994820d..0000000 Binary files a/newchat/faces/amazed-mad.gif and /dev/null differ diff --git a/newchat/faces/amazed-normal.gif b/newchat/faces/amazed-normal.gif deleted file mode 100644 index 5392717..0000000 Binary files a/newchat/faces/amazed-normal.gif and /dev/null differ diff --git a/newchat/faces/amazed-upset.gif b/newchat/faces/amazed-upset.gif deleted file mode 100644 index 92c1153..0000000 Binary files a/newchat/faces/amazed-upset.gif and /dev/null differ diff --git a/newchat/faces/frown-mad.gif b/newchat/faces/frown-mad.gif deleted file mode 100644 index dcfc0f1..0000000 Binary files a/newchat/faces/frown-mad.gif and /dev/null differ diff --git a/newchat/faces/frown-normal.gif b/newchat/faces/frown-normal.gif deleted file mode 100644 index 7bfb332..0000000 Binary files a/newchat/faces/frown-normal.gif and /dev/null differ diff --git a/newchat/faces/frown-upset.gif b/newchat/faces/frown-upset.gif deleted file mode 100644 index 8525f89..0000000 Binary files a/newchat/faces/frown-upset.gif and /dev/null differ diff --git a/newchat/faces/shy-mad.gif b/newchat/faces/shy-mad.gif deleted file mode 100644 index 3052fb3..0000000 Binary files a/newchat/faces/shy-mad.gif and /dev/null differ diff --git a/newchat/faces/shy-normal.gif b/newchat/faces/shy-normal.gif deleted file mode 100644 index 918c2df..0000000 Binary files a/newchat/faces/shy-normal.gif and /dev/null differ diff --git a/newchat/faces/shy-upset.gif b/newchat/faces/shy-upset.gif deleted file mode 100644 index 595fec7..0000000 Binary files a/newchat/faces/shy-upset.gif and /dev/null differ diff --git a/newchat/faces/smile-mad.gif b/newchat/faces/smile-mad.gif deleted file mode 100644 index 1b43891..0000000 Binary files a/newchat/faces/smile-mad.gif and /dev/null differ diff --git a/newchat/faces/smile-normal.gif b/newchat/faces/smile-normal.gif deleted file mode 100644 index f79b7a4..0000000 Binary files a/newchat/faces/smile-normal.gif and /dev/null differ diff --git a/newchat/faces/smile-upset.gif b/newchat/faces/smile-upset.gif deleted file mode 100644 index 57393f9..0000000 Binary files a/newchat/faces/smile-upset.gif and /dev/null differ diff --git a/newchat/faces/tongue-mad.gif b/newchat/faces/tongue-mad.gif deleted file mode 100644 index d35f4a6..0000000 Binary files a/newchat/faces/tongue-mad.gif and /dev/null differ diff --git a/newchat/faces/tongue-normal.gif b/newchat/faces/tongue-normal.gif deleted file mode 100644 index bc3ce38..0000000 Binary files a/newchat/faces/tongue-normal.gif and /dev/null differ diff --git a/newchat/faces/tongue-upset.gif b/newchat/faces/tongue-upset.gif deleted file mode 100644 index 718a1ea..0000000 Binary files a/newchat/faces/tongue-upset.gif and /dev/null differ diff --git a/newchat/faces/wink-amazed-mad.gif b/newchat/faces/wink-amazed-mad.gif deleted file mode 100644 index 91ff789..0000000 Binary files a/newchat/faces/wink-amazed-mad.gif and /dev/null differ diff --git a/newchat/faces/wink-amazed-normal.gif b/newchat/faces/wink-amazed-normal.gif deleted file mode 100644 index 940b88a..0000000 Binary files a/newchat/faces/wink-amazed-normal.gif and /dev/null differ diff --git a/newchat/faces/wink-amazed-upset.gif b/newchat/faces/wink-amazed-upset.gif deleted file mode 100644 index bad7bc7..0000000 Binary files a/newchat/faces/wink-amazed-upset.gif and /dev/null differ diff --git a/newchat/faces/wink-frown-mad.gif b/newchat/faces/wink-frown-mad.gif deleted file mode 100644 index e38709a..0000000 Binary files a/newchat/faces/wink-frown-mad.gif and /dev/null differ diff --git a/newchat/faces/wink-frown-normal.gif b/newchat/faces/wink-frown-normal.gif deleted file mode 100644 index dc76db5..0000000 Binary files a/newchat/faces/wink-frown-normal.gif and /dev/null differ diff --git a/newchat/faces/wink-frown-upset.gif b/newchat/faces/wink-frown-upset.gif deleted file mode 100644 index 5b214e8..0000000 Binary files a/newchat/faces/wink-frown-upset.gif and /dev/null differ diff --git a/newchat/faces/wink-shy-mad.gif b/newchat/faces/wink-shy-mad.gif deleted file mode 100644 index 9402b6a..0000000 Binary files a/newchat/faces/wink-shy-mad.gif and /dev/null differ diff --git a/newchat/faces/wink-shy-normal.gif b/newchat/faces/wink-shy-normal.gif deleted file mode 100644 index 2dac424..0000000 Binary files a/newchat/faces/wink-shy-normal.gif and /dev/null differ diff --git a/newchat/faces/wink-shy-upset.gif b/newchat/faces/wink-shy-upset.gif deleted file mode 100644 index f409442..0000000 Binary files a/newchat/faces/wink-shy-upset.gif and /dev/null differ diff --git a/newchat/faces/wink-smile-mad.gif b/newchat/faces/wink-smile-mad.gif deleted file mode 100644 index b6736b2..0000000 Binary files a/newchat/faces/wink-smile-mad.gif and /dev/null differ diff --git a/newchat/faces/wink-smile-normal.gif b/newchat/faces/wink-smile-normal.gif deleted file mode 100644 index 125fe60..0000000 Binary files a/newchat/faces/wink-smile-normal.gif and /dev/null differ diff --git a/newchat/faces/wink-smile-upset.gif b/newchat/faces/wink-smile-upset.gif deleted file mode 100644 index d06eef1..0000000 Binary files a/newchat/faces/wink-smile-upset.gif and /dev/null differ diff --git a/newchat/faces/wink-tongue-mad.gif b/newchat/faces/wink-tongue-mad.gif deleted file mode 100644 index 30846f8..0000000 Binary files a/newchat/faces/wink-tongue-mad.gif and /dev/null differ diff --git a/newchat/faces/wink-tongue-normal.gif b/newchat/faces/wink-tongue-normal.gif deleted file mode 100644 index e3800e8..0000000 Binary files a/newchat/faces/wink-tongue-normal.gif and /dev/null differ diff --git a/newchat/faces/wink-tongue-upset.gif b/newchat/faces/wink-tongue-upset.gif deleted file mode 100644 index 2b6897b..0000000 Binary files a/newchat/faces/wink-tongue-upset.gif and /dev/null differ diff --git a/newchat/fullinfo.php b/newchat/fullinfo.php deleted file mode 100644 index cfbc055..0000000 --- a/newchat/fullinfo.php +++ /dev/null @@ -1,34 +0,0 @@ -sex; -$sexStr = $w_unknown; -switch ($sex) { - case 1: $sexStr = $w_male; break; - case 2: $sexStr = $w_female; break; -} - -include($file_path."designes/".$design."/fullinfo.php"); -?> \ No newline at end of file diff --git a/newchat/go.php b/newchat/go.php deleted file mode 100644 index 022258d..0000000 --- a/newchat/go.php +++ /dev/null @@ -1,13 +0,0 @@ - - -"; -?> - -click - diff --git a/newchat/impro.php b/newchat/impro.php deleted file mode 100644 index 66215c2..0000000 --- a/newchat/impro.php +++ /dev/null @@ -1,94 +0,0 @@ - \ No newline at end of file diff --git a/newchat/inc_badwords_filter.php b/newchat/inc_badwords_filter.php deleted file mode 100644 index 7287728..0000000 --- a/newchat/inc_badwords_filter.php +++ /dev/null @@ -1,46 +0,0 @@ - \ No newline at end of file diff --git a/newchat/inc_common.php b/newchat/inc_common.php deleted file mode 100644 index dd48d25..0000000 --- a/newchat/inc_common.php +++ /dev/null @@ -1,245 +0,0 @@ - 0) { - list($voc_ercode, $errstr) = split("\t", $errstr); - $voc_ercode = intval($voc_ercode); - } else - $voc_ercode = -1; - switch($errno) { - case E_NOTICE: - if ($debug) echo "NOTICE: ".htmlspecialchars($errstr).", at line ".$errline." in the file ".str_replace(dirname(dirname($errfile))."/", "", $errfile)."
"; - else return 0; - case E_WARNING: - if ($debug) echo "WARNING: ".htmlspecialchars($errstr).", at line ".$errline." in the file ".str_replace(dirname(dirname($errfile))."/", "", $errfile)."
"; - else return 0; - break; - case E_USER_ERROR: - echo "
"; - echo ""; - - echo ""; - echo ""; - echo "
Voodoo chat -- Fatal error
We got the error
".htmlspecialchars($errstr)."
at line ".$errline.""; - echo " in the file ".str_replace(dirname(dirname($errfile)), "", $errfile); - echo "
"; - if ($voc_ercode >0) echo "More details about the problem

Voodoo chat © 1999-2004 by Vlad Vostrykh"; - else echo "Find help at Voodoo chat homepage"; - echo "
"; - exit; - break; - case E_USER_WARNING: - echo "
"; - echo ""; - - echo ""; - echo ""; - echo "
Voodoo chat -- error
We got the error
".htmlspecialchars($errstr)."
at line ".$errline.""; - echo " in the file ".str_replace(dirname(dirname($errfile)), "", $errfile); - echo "
"; - if ($voc_ercode >0) echo "More details about the problem

Voodoo chat © 1999-2004 by Vlad Vostrykh"; - else echo "Find help at Voodoo chat homepage"; - echo "
"; - break; - } - return 0; -} -set_error_handler("my_err_h"); - -#loading parameters from config file - -if (!($conf_content = implode("",file($data_path."voc.conf")))) { - trigger_error("1000\tCannot open voc.conf file, please check your DATA PATH parameter",E_USER_ERROR); -} -eval($conf_content); -#time-offset -function my_time() { - global $time_offset; - return time()+$time_offset; -} - -#for Register_gloabls = off -function set_variable($variable_name) { - global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $$variable_name; - $$variable_name = ""; - //GPC order :) - if (isset($HTTP_GET_VARS[$variable_name])) $$variable_name = $HTTP_GET_VARS[$variable_name]; - if (isset($HTTP_POST_VARS[$variable_name])) $$variable_name = $HTTP_POST_VARS[$variable_name]; - if (substr($variable_name,0,2)=="c_" && isset($HTTP_COOKIE_VARS[$variable_name])) $$variable_name = $HTTP_COOKIE_VARS[$variable_name]; - //i don't use string-arrays in forms, only in the admin-zone, but there it's just design &lang names - //which is normally doesn't have ' or " etc - if (is_string($$variable_name)) { - $$variable_name = str_replace("\0","", $$variable_name); - $$variable_name = str_replace("\t"," ", $$variable_name); - if (get_magic_quotes_gpc()) $$variable_name = stripslashes($$variable_name); - } -} -set_variable("session"); -$session = preg_replace("/[^a-fA-F0-9]/", "", $session); -set_variable("design"); - -set_variable("c_hash"); -if ($c_hash == "") - $c_hash = md5(uniqid(rand())); -//will set it in the file which doesn't output anything before inc_common.php -//setCookie("c_hash", $c_hash, time() + 2678400); - -$browser_t = ""; -if (isset($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) $browser_t .= $HTTP_SERVER_VARS['HTTP_USER_AGENT']; -if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) $browser_t .= $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']; -if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'])) $browser_t .= $HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING']; -$browser_hash = 0; -for ($i=0;$i diff --git a/newchat/inc_form_message.php b/newchat/inc_form_message.php deleted file mode 100644 index ec00a72..0000000 --- a/newchat/inc_form_message.php +++ /dev/null @@ -1,53 +0,0 @@ - $last_id) { - if(!isset($ignored_users[strtolower($mesg_array[MESG_FROMWOTAGS])]) || $mesg_array[MESG_FROMWOTAGS] == "") { - if (strlen($mesg_array[MESG_TO])==0) { - //not private - if (strcmp($mesg_array[MESG_FROMWOTAGS], $cu_array[USER_NICKNAME])==0) - $to_out = str_replace("[HOURS]",date("H",$mesg_array[MESG_TIME]),$message_fromme); - else - $to_out = str_replace("[HOURS]",date("H",$mesg_array[MESG_TIME]),$message_format); - } - else { - //private - if (strcmp($mesg_array[MESG_FROMSESSION], $cu_array[USER_SESSION])==0 || - (strcmp($mesg_array[MESG_FROMWOTAGS], $cu_array[USER_NICKNAME])==0 && $mesg_array[MESG_FROMID] >0) - ) { - $to_out = str_replace("[HOURS]",date("H",$mesg_array[MESG_TIME]),$private_message_fromme); - }else if (strcmp($mesg_array[MESG_TOSESSION], $cu_array[USER_SESSION])==0 || - (strcmp($mesg_array[MESG_TO],$cu_array[USER_NICKNAME])==0 && $mesg_array[MESG_TOID] >0 ) - ) { - $to_out = str_replace("[HOURS]",date("H",$mesg_array[MESG_TIME]),$private_message); - }else - $to_out = str_replace("[HOURS]",date("H",$mesg_array[MESG_TIME]),$private_hidden); - } - $to_out = str_replace("[MIN]",date("i",$mesg_array[MESG_TIME]),$to_out); - $to_out = str_replace("[SEC]",date("s",$mesg_array[MESG_TIME]),$to_out); - $to_out = str_replace("[NICK]",$mesg_array[MESG_FROM],$to_out); - $to_out = str_replace("[NICK_WO_TAGS]",$mesg_array[MESG_FROMWOTAGS],$to_out); - $to_out = str_replace("[TO]",$mesg_array[MESG_TO],$to_out); - $to_out = str_replace("[PRIVATE]",$w_whisper_to,$to_out); - $to_out = str_replace("[AVATAR]", - ((strlen($mesg_array[MESG_FROMAVATAR])<3) ? "" : - ""), - $to_out); - $nick_in_str = 0; - if (function_exists('preg_replace')) { - if (preg_match("/".$cu_array[USER_NICKNAME]."([".preg_quote("?&:, !")."])/", $mesg_array[MESG_BODY])) - $nick_in_str = 1; - $mesg_array[MESG_BODY] = preg_replace("/".$cu_array[USER_NICKNAME]."([".preg_quote("?&:, !")."])/", $nick_highlight_before.$user_name.$nick_highlight_after."\\1",$mesg_array[MESG_BODY]); - } - $to_out = str_replace("[MESSAGE]",$mesg_array[MESG_BODY],$to_out); - if ($nick_in_str) $to_out = $str_w_n_before . $to_out . $str_w_n_after; - $to_out = ($to_out == "") ? "":$to_out."
\n"; - } - } - } - return array($mesg_array[MESG_ID],$to_out); -} -?> \ No newline at end of file diff --git a/newchat/inc_statistic.php b/newchat/inc_statistic.php deleted file mode 100644 index 71ace54..0000000 --- a/newchat/inc_statistic.php +++ /dev/null @@ -1,18 +0,0 @@ - \ No newline at end of file diff --git a/newchat/inc_to_canon_nick.php b/newchat/inc_to_canon_nick.php deleted file mode 100644 index c8e1632..0000000 --- a/newchat/inc_to_canon_nick.php +++ /dev/null @@ -1,29 +0,0 @@ - \ No newline at end of file diff --git a/newchat/inc_user_class.php b/newchat/inc_user_class.php deleted file mode 100644 index a87ebd3..0000000 --- a/newchat/inc_user_class.php +++ /dev/null @@ -1,30 +0,0 @@ - \ No newline at end of file diff --git a/newchat/index.php b/newchat/index.php deleted file mode 100644 index 659a351..0000000 --- a/newchat/index.php +++ /dev/null @@ -1,31 +0,0 @@ - \ No newline at end of file diff --git a/newchat/js_frameset.php b/newchat/js_frameset.php deleted file mode 100644 index 54a2f7b..0000000 --- a/newchat/js_frameset.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - - <?php echo $w_title;?> - - - - - - diff --git a/newchat/js_main.php b/newchat/js_main.php deleted file mode 100644 index b3b5fa8..0000000 --- a/newchat/js_main.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/newchat/js_writer.php b/newchat/js_writer.php deleted file mode 100644 index 4377c06..0000000 --- a/newchat/js_writer.php +++ /dev/null @@ -1,72 +0,0 @@ - - - - -","<'+'/script>",addslashes(str_replace("\r","",str_replace("\n","", - str_replace("[CHARSET]", (($charset == "")?"":""), - str_replace("[CHAT_URL]", $chat_url, - str_replace("[SKIN]", $design, - str_replace("[TOPIC]",$rooms[$room_id]["topic"],$header_string[$i]) - ) - ) - ) - )))))."\\n');\n"; - - - $already_showed = 0; - $total_out = ""; - $total_messages = count($messages); - //to get $last_id - list($last_id, $to_out) = form_message(0,$messages[$total_messages-1], $ignored_users); - for ($i=$total_messages-1;$i>=0;$i--) { - if ($already_showed>=$history_size) break; - list($unused, $to_out) = form_message(0,$messages[$i], $ignored_users); - if ($to_out!="") { - $already_showed++; - $total_out = $to_out.$total_out; - } - if ($already_showed>9) break; - } - echo "write('".str_replace("","<'+'/script>",addslashes(str_replace("\r","",str_replace("\n","",$total_out))))."\\n');\n"; -} else { - $last_message = intval($last_message); - list($last_id,$to_out) = show_messages($last_message, $messages,$ignored_users); - if ($to_out == "") echo "write('');\n"; - else echo "write('".str_replace("","<'+'/script>",addslashes(str_replace("\r","",str_replace("\n","",$to_out))))."\\n');\n"; -} -echo "}\n"; -echo "parent.voc_js_main.window.up();\n"; -echo "window.setTimeout('document.location.href=\"js_writer.php?session=$session&last_message=$last_id\"',5000);\n"; - -function show_messages($last_id, $messages, $ignored_users) { - $total_messages = count($messages); - $total_out = ""; - for ($i=0;$i<$total_messages;$i++) { - list($message_id, $to_out) = form_message($last_id, $messages[$i],$ignored_users); - $total_out .= $to_out; - } - return array($message_id,$total_out); -} -?> \ No newline at end of file diff --git a/newchat/languages/help_ru.php b/newchat/languages/help_ru.php deleted file mode 100644 index 9d58105..0000000 --- a/newchat/languages/help_ru.php +++ /dev/null @@ -1,140 +0,0 @@ - - - - Чат Voodoo. HELP. - - - -

Чат Voodoo. Help

-

Как пользоваться

-Чат делится на 5 основных зон: СкринШот
-

    -
  • Информация о чате: содержит ссылки на некоторые ресурсы чата: -
      -
    • Помощь - данная страница -
    • Клуб ППЧ - список постоянных посетителей чата -
    • История Чата - как создавался этот чат. -
    • Отправить на личку - этот раздел предназначен для отправки сообщений на личную доску любого из зарегистрированных пользователей. -
    • Инфо о ... - здесь можно ознакомиться с информацией, оставленной зарегистрированным пользователем о себе. -
    • Перезайти - нажмите сюда для того, чтобы быстро заново войти в чат -
    • Картинки - страница со списком картинок (кроме смайликов), которые можно включать в сообщения -
    • Я - для зарегистрированных пользователей. Дает возможность оставить информацию о себе. -
    • Зарегистрироваться - для незарегистрированных пользователей. Зачем нужна, надеюсь, понятно.Зарегистрированые пользователи: -
        -
      1. Защищают свой ник (и все аналогичные) от несанкционированного входа (в частности, зарегистрировавшись под ником Vanya, вы обеспечиваете за собой ники Vanya, VANYA, VanYa и т.д.) -
      2. Получают возможность дополнительных настроек. -
      3. Получают возможность работы с "личкой" (личной доской сообщений) -
      4. Некоторые из зарегистрированных пользователей - получают права админа.
      5. -
      -

    -
  • Сообщения посетителей - Особенностью этого чата является непрерывное воспроизведение сообщений, что важно при плохой связи и/или ограничениях на траффик -

  • Ввод новых сообщений, макс. длина сообщения - 512 символов
    - скринШот - отправка сообщений
    -
      -
    • Приват для - Вы можете выбрать получателя сообщения. В этом случае оптравленный текст увидите только вы двое (учтите, что если вы отключились от чата, а потом снова вошли в него, приваты отправленые на Ваш ник будут более недоступны). -
    • Цвет - Вы можете выбрать понравившийся Вам цвет для Вашего сообщения -
    • Сказать - нажмите эту кнопку или клавишу Enter для отправки Вашего сообщения. Учтите: -
        -
      • Последовательность символов, начинающаяся с http:// и заканчивающаяся одним из символов " "(пробел), """(кавычки), ","(запятая) или ">", автоматически преобразуется в ссылку. (Будьте внимательны! Не забывайте отделять адрес от остального текста заврешающим символом!!!) -
      • Если Вы напишите "/me делает то-то", в чате -будет выведено "(время): ВашНик делает то-то" -
      • Некоторые последовательности символов автоматически преобразуются в рисунки. Список соответствий смотрите на ЭТОЙ странице.
        -Стандартные смайлики состоят из 4-ёх (или менее) символов - экспериментируйте: -
          -
        1. Брови (можно пропускать). - ">" или "<". Если пропущено - смайлик без бровей -
        2. Глаза (обязательно) - ":" или "=" - обычные глаза, ";" - подмигнуть -
        3. Нос. На рисунках его все-равно нет, поэтому можно пропускать... Но если хочется - можно писать "-", "^" или "'" -
        4. Рот (обязательно): -
            -
          • ")", "D" или "]" - улыбка -
          • "(" - расстроеный смайлик -
          • "|" - нейтральный... Хотя иногда больше похоже на поджатые губы обиженной девушки :) -
          • "P" или "p" (и русские и английские буквы) - показать язык -
          • "O" или "o" (и русские и английские буквы) - удивлённо открытый рот -
          -
        -
      • В чате действует полный запрет на таги. -
      • Некто Сказочник может рассказать вам анекдот. Попробуйте набрать adot -
      -
    • Выйти - нажмите, если хотите выйти из чата. -

    -
  • Он-лайн статус лички и форума только для зарегистрированных пользователей
    - Если Вы получите новое сообщение на Личку или кто-нибудь поместит объявление в форуме, Вы всегда это сможете увидеть - в правом верхнем углу чата. Доступ и к личке и к форуму производится отсюда-же. -

  • Список присутствующих
    - скринШот - кто в чате
    - Кроме просто списка присутствующих, данный раздел предоставляет Вам несколько дополнительных услуг: -
      -
    • +photo - Вы можете включить режим просмотра фотографий посетителей. -
    • Вы можете быстро добавить адресата (не приват!!) в строку ввода, если нажмете на нужный Ник в данном разделе. -
    • Вы можете включить режим игнорирования сообщений от кого-либо - просто нажмите "-i" напротив его Ника. - Для возврата - нажмите "+v" -
    • Инфо - только у зарегистрированных пользователей. Обеспечивает быстрый доступ к персональной информации о посетителе. -
    -
-

FAQ:

-
    -
  • Мне не дают войти в чат.
    -Не забывайте, что в нике применимы лишь буквы английского алфавита и знак _ (подчеркивания). -Длина ника может быть от 3 до 15 символов. -Посмотрите также на заглавной странице список присутствующих, нет ли там выбранного Вами ника. -При этом учитывайте, что ники VanYA и Vanya считаются одинаковыми! -
  • Да, там есть этот ник - но это я сам (пришлось перезайти)
    -Время, в течение которого пользователь считается живым - 3 минуты. Подождите, или зайдите под другим ником.
    -
  • У меня оборвалась связь, когда я ее восстановил чат уже отключил меня. Теперь что, ждать остаток от 3 минут и только тогда заходить
    -Нет. Вы можете воспользоваться ссылкой "Перезайти", находящейся вверху чата, для того чтобы избежать длительной процедуры. -Если за время Вашего отсутствия под Вашим ником не зашел никто другой, Вы снова попадете в чат. -
  • А что такое приват?
    -Приват - это сообщение, которое видно лишь двум посетителям чата - отправителю и адресату -
  • Игнор... хм... что-то знакомое...
    -Нажав на "-i" напротив ника в правом окне, Вы больше не будете видеть сообщения, отправленые этим пользователем. Для возвращения - нажмите на появившуюся "+v". -
  • Я хочу отправить приват, но в моем списке нет ника адресата
    -Список - "Приват для:" обновляется при каждой отправке Вами сообщения. Если Вы долго ничего не писали, и за это время -в чат вошел нужный Вам человек, его ник не сможет появиться в Вашем списке. Отправьте какое-нибудь сообщение, или просто -нажмите кнопку "Отправить" при пустой строке ввода сообщения. -
  • Я отправил приват, но в центральном окне написано что он для неизвестного пользователя
    -Это значит, что адресат по каким-либо причинам покинул чат. Ваше сообщение он в любом случае прочесть уже не сможет. -
  • А что это за надпись мелким шрифтом "кому-то шепчет"?
    -А это значит что этот человек отправил кому-то приватное сообщение. Но не Вам :) - -
  • А подробнее про Личку, плз
    -Личка - личная доска сообщений. В некотором роде - почта внутри чата.
    -Доступна только для зарегистрированных пользователей. Чтобы отправить сообщение на личку кому-либо, воспользуйтесь ссылкой -"Отправить на личку". Вам нужно будет заполнить поле "Кому" и "Сообщение". -Если Вы не уверены в правильном написании ника - воспользуйтесь предоставляемой возможностью поиска.
    -Вы также должны должны видеть надпись "Личка - N сообщений". -При нажатии на эту надпись, Вы попадаете в свою Личную доску объявлений, где можете читать/отвечать/удалять сообщения. -После прочтения сообщения Вы сможете воспользоваться ссылкой "Ответить". -При нажатии на кнопку "Удалить", выбранное сообщение будет стерто из системы.
    - - -
  • Мой браузер (Internet Explorer 3.0) выдает мне ошибку JavaScript в центральном окне
    -Для удобства работы, в центральной странице используется скрипт, автоматически делающий прокрутку вниз при поступлении нового сообщения. -К сожалению, Internet Explorer 3.0 не умеет с ним работать. Поставьте себе более новую версию (3.1 уже работает), или скажите "не выполнять -дальнейшие скрипты на странице" в ответ на сообщение об ошибке и занимайтесь прокруткой самостоятельно. Также Вы -можете воспользоваться "классическим" вариантом чата. -
  • Что-то нифига не работает
    -Пожалуйста, сообщите об этом по адресу vlad-v@yandex.ru. В письме -просьба сообщить о используемых Вами браузере и операционной системе, а также описать проблему. -
  • А вот, а ВОТ ТАК будет круто!!!...
    -Ваши пожелания отправляйте по адресу vlad-v@yandex.ru -
- - diff --git a/newchat/languages/images/ru_screen.gif b/newchat/languages/images/ru_screen.gif deleted file mode 100644 index f10b492..0000000 Binary files a/newchat/languages/images/ru_screen.gif and /dev/null differ diff --git a/newchat/languages/images/ru_send.gif b/newchat/languages/images/ru_send.gif deleted file mode 100644 index a2a8e56..0000000 Binary files a/newchat/languages/images/ru_send.gif and /dev/null differ diff --git a/newchat/languages/images/ru_who.gif b/newchat/languages/images/ru_who.gif deleted file mode 100644 index 8b3f5b0..0000000 Binary files a/newchat/languages/images/ru_who.gif and /dev/null differ diff --git a/newchat/languages/ru.php b/newchat/languages/ru.php deleted file mode 100644 index db4641f..0000000 --- a/newchat/languages/ru.php +++ /dev/null @@ -1,492 +0,0 @@ -1.0beta 2 -$w_cannot_download = "Извините, не могу открыть указанный URL (адрес)"; -$w_invalid_image = "Извините, формат файла, который Вы пытаетесь загрузить, некорректен. Вы можете загружать только JPEG, GIF и PNG файлы в качестве рисунков."; - -//new in ver > 0.20.31 -$w_premoder_room = "Внимание, это ПРЕД-МОДЕРИРУЕМАЯ комната. При отправке Ваши сообщения будут проверяться администратором."; - -$w_pr_noemail = "Невозможно отправить ключ на е-майл, т.к. данный ник был зарегистрирован без е-майл адреса."; -$w_pr_title = "Напоминание пароля"; -$w_pr_already_sent = "Напоминание уже было отослано!"; -$w_pr_mailtext = "Чтобы изменить Ваш пароль в чате ~, пожалуйста, откройте адрес #"; -$w_pr_no_code = "Извините, некорректный код напоминания пароля!"; - -$w_admin_browserhash_kill = "Отключить по ИД браузера"; -$w_admin_subnet_kill = "Отключить подсеть адресов"; -$w_adm_level[ADM_BAN_BY_BROWSERHASH] = "Отключить по ИД браузера"; -$w_adm_level[ADM_BAN_BY_SUBNET] = "Отключить подсеть адресов"; -$w_adm_level[ADM_MARRY] = "ЗАГС"; - - - -$w_sel_lang = "Язык интерфейса"; -function w_people_ru($num) { - switch (substr($num,-1,1)) { - case 2: - case 3: - case 4: $zap = "человека"; break; - default: $zap = "человек"; break; - } - if ((substr($num,-2,1) == 1) && $num>10) {$zap = "человек";} - return $zap; -} - -$w_mail_used = "Email адрес, введенный Вами, уже используется в нашей базе пользователей"; -$w_max_per_mail = "На один E-Mail адрес вы можете зарегистрировать ~ ник(а)"; - -//new in ver > 0.18.16 -$w_regmail_body = "Для активации вашего лоигна ~ в чате \"*\", откройте адрес #"; -$w_regmail_no_code = "Извините, некорректный код активации"; -$w_regmail_activated = "Ваш логин активирован, Вы можете войти в чат"; -$w_regmail_sent = "Инструкции отосланы на указанный email-адрес"; -$w_regmail_enter_mail = "(Вы получите письмо с инструкцией по активации пользователя на этот адрес)"; -$w_already_registered = "Ник ~ уже зарегистрирован."; -$w_registered_only = "Чат работает в 'клубном режиме'. Вы должны зарегистрироваться чтобы войти в чат!"; - -$w_impro_enter_code = "Пожалуйста, введите код который Вы видите на картинке"; -$w_impro_incorrect_code = "Вы ввели неверный код"; -$w_impro_incorrect_pass = "Вы ввели неверный пароль"; - -//new in ver > 0.16.08 -$w_rules="Правила"; -$w_statistic = "Статистика"; -$w_total_users = "Всего пользователей"; -$w_last_registered = "Последние ~ зарегистрированных"; -$w_last_visit = "Последний визит"; - -$w_sure_user_delete = "Вы уверены что хотите удалить этого пользователя??"; -$w_user_deleted = "Пользователь удален"; - -$w_big_photo = "Большое фото (.gif или .jpeg, макс. ~ Bytes, * пикс. шириной и # пикселей высотой)"; -//it's redeclaration, so if you have lang-file from previous versions, -//don't forget to remove $w_big_photo from lines below - -$w_style = "Стиль"; -$w_bold = "Жирн."; -$w_italic = "Накл."; -$w_underlined = "Подчеркн."; -$w_too_big_photo = "Фото, которое Вы пытаетесь загрузить, слишком велико. Максимальный размер ~ байт, а Ваше фото * байт"; -$w_too_big_photo_width = "Фото, которое Вы пытаетесь загрузить, слишком велико. Ширина должна быть меньше ~ пикс., а у Вашего фото ширина * пикс."; -$w_too_big_photo_height = "Фото, которое Вы пытаетесь загрузить, слишком велико. Высота должна быть меньше ~ пикс., а у Вашего фото высота * пикс."; -$w_too_big_avatar = "Маленькое фото (аватар), которое Вы пытаетесь загрузить, слишком велико. Максимальный размер ~ байт, а ваше фото * байт"; - -//new in ver>0.14.24 -$w_adm_add_room = "Добавить комнату"; -$w_adm_room_design = "Предустановленный дизайн комнаты"; -$w_edit = "Редактировать"; -$w_room_name = "Название комнаты"; -$w_bot_name = "Имя бота для комнаты"; -$w_list_of_rooms = "список комнат"; -$w_set_topic_text = "* устанавливает новый топик:
#

"; -$w_topic = "Топик"; -$w_adm_no_permission = "у Вас нет прав выполнить эту операцию"; -$w_adm_unban = "разBANить"; -$w_adm_banned_now = "сейчас забанены:"; -$w_adm_nick_or_ip = "ник или ип-адрес"; -$w_adm_ban_until = "до"; -$w_adm_cannot_ban_mod = "вы не можете забанить другого модератора"; -$w_adm_level[ADM_BAN] = "бан пользователей"; -$w_adm_level[ADM_IP_BAN] = "бан пользователей по ip-адресу"; -$w_adm_level[ADM_VIEW_IP] = "просмотр пользовательских ip-адресов"; -$w_adm_level[ADM_UN_BAN] = "чистка бан-листа"; -$w_adm_level[ADM_BAN_MODERATORS] = "бан других модераторов"; -$w_adm_level[ADM_CHANGE_TOPIC] = "смена топика"; -$w_adm_level[ADM_CREATE_ROOMS] = "операции с комнатами"; -$w_adm_level[ADM_EDIT_USERS] = "редактирование пользовательских данных"; - -//new in ver >0.09.20 -$w_web_indicator = "Разрешить использование веб-индикатора."; -$w_web_indicator_code = "Чтобы использовать такой ~ индикатор, просто скопируйте следующий хтмл-код и вставьте его в Вашу домашнюю страничку:"; -$w_too_many = "Извините, слишком много пользователей в чате."; -$w_too_many_from_ip = "Извините, слишком много пользователей в чате зашедших с вашего адреса"; -$w_try_again_later = "Попробуйте позднее"; -$w_in_room = "Сейчас в комнате"; -$w_who_in_rooms = "Кто в комнатах?"; -$w_who_in_current_room = "Вернуться к списку посетителей текущей комнаты"; - -//for hi-tech skin: -$w_clear_input_field = "Очистить поле ввода"; -$w_clear_whisper_field = "Очистить приват"; -$w_stop_scrolling = "Приостановить авто-скроллинг"; -$w_cont_scrolling = "Запустить авто-скроллинг"; -$w_reload_main = "Обновить окно сообщений"; -$w_for_registered = "(только для зарегистрированных пользователей)"; - -//new in ver > 0.07.09a - -//user statuses -$w_your_status = "Ваш статус"; -$w_user_status[ONLINE] = "Онлайн"; -$w_user_status[DISCONNECTED] = "Отключен"; -$w_user_status[AWAY] = "Ушел"; -$w_user_status[NA] = "N/A"; -$w_user_status[DND] = "Не беспокоить!"; - -$w_st_set = "Установить"; - -//rooms -$w_select_room = "Выберите комнату"; -$w_goto_room = "перейти!"; -// ~ -- usernick, * -- roomname -$w_goes_to_room = "~ уходит в комнату "*""; -$w_came_from_room = "~ приходит из комнаты "*""; - -//message for the flood-checking mechanism -$w_flood = "Флуд! (мгногократное повторение)"; - -$w_2ignor = "-игн"; -$w_2visible = "+вид"; - -//end of new - -$w_only_one_tail = "Вы можете использовать только одно подключение к чату! Попробуйте обновить окно."; - -//server - -$w_server_restarting = "Сервер сообщений перезагружается. Пытаюсь подключиться заново..."; - -//common -$w_banned = "Вы отключены от чата"; -$w_timeout = "Время вышло :-о"; -$w_no_user = "Нет такого пользователя в чате!"; -$w_title = "Рок-чат на www.rock.ru"; - -/*/////////////////////////////////////////////////// -// // -// because nobody reads licenses // -// I have to remind that // -// you're not allowed to modify/remove // -// any copyright notices // -// // -///////////////////////////////////////////////////*/ -$w_copyright = "© 1999-2003 by Vlad Vostrykh"; -//welcome -$w_welcome = "Рок-чат на www.rock.ru"; -$w_enter_login_nick = "Введите Ваш ник"; -$w_login = "(Ник должен быть длиной от 3 до 15 символов
и может содержать буквы английского алфавита и знак _)"; -$w_login_button = " Login "; -$w_select_design = "Дизайн чата"; -$w_select_type = "Тип чата"; -$w_chat_type["tail"] = "Непрерывный"; -$w_chat_type["php_tail"] = "Непрерывный на пхп"; -$w_chat_type["reload"] = "Классический, с перезагрузкой"; -$w_chat_type["js_tail"] = "Эмуляция непрерывного на JS"; - -$w_whisper_to = "Кому-то шепчет"; - -//bottom: -$w_whisper = "Приват"; -$w_no_whisper = "Вслух"; -$w_color = "Цвет"; -$w_say = "Сказать"; -$w_logout = "Выйти"; -$w_too_long = "Слишком длинное сообщение!"; -$w_whisper_out = "Нет пользователя, которому отправлен приват"; - -//tail: -$mod_text = "And remember,
respect is everything!

"; -$w_right_not_refresh = "Внимание! Ваш правый фрейм не обновлялся 2 минуты. Еще через минуту Вы будете отключены!!"; -$w_try_to_press = "Попробуйте нажать здесь."; -$w_new_window = "Ошибка. Вы не можете открывать центральный фрейм дважды. Попробуйте обновить окно."; -$w_disconnected = "Извините, вы отключены от чата"; -$w_unknown_user = "Нет такого пользователя в чате!"; - -//who -$w_show_photos = "Показывать фото"; -$w_dont_show_photos = "Выключить фото"; -$w_in_chat = "Сейчас в чате"; -$w_nobody_in = "Никого нет в чате"; -$w_people = "people"; - - -$w_info = "Информация о "; - -//shower -$w_history = "История"; - -//top -$w_help = "Помощь"; -$w_send_mes = "Отправить сообщение на личку"; -$w_info_about = "Пользователи"; -$w_relogon = "Перезайти"; -$w_pictures = "Картинки"; -$w_gun = "Админка!"; -$w_registration = "Регистрация"; -$w_about_me = "Я"; -$w_color_settings = "Настройки цвета"; -$w_feedback = "Комментарии"; - - - -//alerter -$w_pub = "Личка"; -$w_messages = "сообщений"; -$w_new = "нов."; -$w_used = "места исп."; - -//i am -$w_personal_data = "Ваша персональная информация"; -$w_show_data = "Показывать данные из этой группы для посетителей"; -$w_surname = "Фамилия"; -$w_name = "Имя"; -$w_birthday = "День рождения"; -$w_city = "Город"; -$w_gender = "Пол"; -$w_male = "Муж"; -$w_female = "Жен"; -$w_unknown = "Неизвестно"; -$w_addit_info = "Дополнительная информация"; -$w_small_photo = "Маленькое фото (40x40 pixels)"; -$w_check_for_delete = "Кликните чтобы удалить, или просто"; -$w_other_photo = "Выберите фото если Вы хотите заменить текущее"; -$w_email = "e-mail"; -$w_homepage = "URL домашней страницы"; -$w_icq = "ICQ UIN"; -$w_if_wanna_change_password = "Если Вы хотите изменить Ваш пароль, введите его два раза ниже. Если нет -- оставьте поля ввода пустыми."; -$w_new_password = "Новый пароль"; -$w_confirm_password = "Подтверждение пароля"; -$w_update = "Обновить"; -$w_current_password = "Пожалуйста, введите Ваш текущий пароль и нажмите "$w_update" чтобы записать Ваши данные"; - -//updateData -$w_incorrect_password = "Некорректный пароль"; -$w_pas_not_changed = "Пароль НЕ изменен"; -$w_pas_changed = "Пароль изменен!"; -$w_succ_updated = "Ваши данные успешно обновлены!"; - - -//frameset -$w_enter_password = "пожалуйста введите Ваш пароль"; -$w_incorrect_nick = "Некорректный ник!"; -$w_try_again = "Попробуйте еще"; -$w_already_used = "Этот ник уже используется в чате!"; - -//Robot words... ~ will replaced with user nick -$w_rob_name = "Robik"; -$w_rob_login = "К нам приходит ~. Поприветствуем!"; -$w_rob_hb = "~> HAPPY BIRTHDAY!"; -$w_rob_logout = "~ прощается с нами и уходит."; -$w_rob_idle = "~ уходит не попрощавшись (таймаут)."; - - -//fullinfo -$w_no_such_reg_user = "Извините, не найден такой зарегистрированный пользователь"; - -//userinfo ~ will replaced with user nick -$w_search_results = "Результаты поиска"; -$w_select_nick = "Выберите ник"; -$w_enter_nick = "Введите ник для поиска"; -$w_search_comment = "(знак * обозначает любое количество любых символов)"; -$w_search_button = "Искать!"; -$w_search_no_found = "~ не найден"; -$w_search = "Поиск пользователей"; - -//snd -$w_message_text = "Текст сообщения"; -$w_send = "Отправить"; -$w_enter_nick_to_send = "Ник адресата"; -$w_user_wrote = "~ написал(а):"; -$w_not_shure_in_nick = "Если Вы не знаете ник точно, попробуйте поиск (знак * обозначает любое количество любых символов)"; - -//postMessage -$w_incorrec_nick_to_send = "Неправильный ник адресата"; -$w_message_sended = "Ваше сообщение успешно отослано"; -$w_message_error = "Ошибка при отправке сообщения. Ящик адресата переполнен"; -$w_back_to_send = "Вернуться к отправке сообщений"; - -//meOp -// ~ - from User, * - time -$w_back_to_userboard = "Вернуться к списку сообщений"; -$w_status = " "; -$w_from = "От"; -$w_subject = "Тема"; -$w_no_subject = "Без темы"; -$w_at_date = "Дата"; -$w_from_line = "From ~, sended at *"; -$w_date_format = "d/m/Y, H:i"; -$w_answer = "Ответить"; -$w_delete = "удалить"; -$w_del_checked = "Удалить отмеченные"; -$w_stat[0] = " "; -$w_stat[1] = "N"; -$w_stat[2] = "R"; -$w_stat[3] = " "; - -//pictures -$w_symbols = "Слово"; -$w_picture = "Картинка"; -$w_about_smiles = " -Стандартные смайлики состоят из 4-х (или менее) символов - экспериментируйте: -
    -
  1. Брови (можно пропускать). - ">" или "<". Если пропущено - смайлик без бровей -
  2. Глаза (обязательно) - ":" или "=" - обычные глаза, ";" - подмигнуть -
  3. Нос. На рисунках его все-равно нет, поэтому можно пропускать... Но если хочется - можно писать "-", "^" или "'" -
  4. Рот (обязательно): -
      -
    • ")", "D" или "]" - улыбка -
    • "(" - расстроеный смайлик -
    • "|" - нейтральный... Хотя иногда больше похоже на поджатые губы обиженной девушки :) -
    • "P" или "p" (и русские и английские буквы) - показать язык -
    • "O" или "o" (и русские и английские буквы) - удивлённо открытый рот -
    -
-Вы можете кликнуть на картинку ниже, чтобы вставить ее код в ваше сообщение -"; - -//admin -$w_no_admin_rights = "Нет прав администратора"; -$w_admin_action = "действие"; -$w_admin_alert = "предупредить"; -$w_admin_kill = "отключить"; -$w_admin_ip_kill = "отключить по ip-адресу"; -$w_admin_reason = "причина"; -$w_admin_ban = "заBANить"; -$w_kill_list = "Kill list"; -$w_admin_unban = "UnBan"; -$w_alert_text = "~ получает предупреждение от *. Причина: #"; -$w_kill_text = "* отключает ~ на $. Причина: #"; -$w_kill_time = "отключить на"; -$w_times[0]["name"] = "10 минут"; -$w_times[0]["value"] = 600; -$w_times[1]["name"] = "1 час"; -$w_times[1]["value"] = 3600; -$w_times[2]["name"] = "5 часов"; -$w_times[2]["value"] = 18000; -$w_times[3]["name"] = "сутки"; -$w_times[3]["value"] = 86400; -$w_times[4]["name"] = "неделю"; -$w_times[4]["value"] = 604800; - - - - -//leave -$w_leave = "Спасибо за участие!

Вернуться в чат"; - -//registration -//in the 'top' section $w_registration = "Регистрация"; -$w_password = "Пароль"; -$w_reg_text = $w_login; -$w_password_mismatch = "пароли не совпадают"; -$w_succesfull_reg = "Ваш ник ~ успешно зарегистрирован."; -$w_reg_error = "Ошибка во время регистрации. Попробуйте еще раз позже."; - -//feedback -$w_feed_headline = "Вы можете отправить мне свои пожелания:"; -$w_feed_name = "Ф.И.О."; -$w_feed_message = "Ваше сообщение"; -$w_feed_sent_ok = "Ваше сообщение успешно отправлено! Спасибо!"; -$w_feed_error = "Произошла ошибка при отправке сообщения. Попробуйте, пожалуйста, еще раз позже."; - - - -$registered_colors[0][0] = "Бежевый"; -$registered_colors[0][1] = "beige" ; - -$registered_colors[1][0] = "Бордовый"; -$registered_colors[1][1] = "maroon"; - -$registered_colors[2][0] = "Голубой"; -$registered_colors[2][1] = "cyan"; - -$registered_colors[3][0] = "Желтый"; -$registered_colors[3][1] = "yellow" ; - -$registered_colors[4][0] = "Загар"; -$registered_colors[4][1] = "tan" ; - -$registered_colors[5][0] = "Зеленый"; -$registered_colors[5][1] = "green" ; - -$registered_colors[6][0] = "Кирпичный"; -$registered_colors[6][1] = "firebrick" ; - -$registered_colors[7][0] = "Кораловый"; -$registered_colors[7][1] = "lightcoral" ; - -$registered_colors[8][0] = "Коричневый"; -$registered_colors[8][1] = "brown" ; - -$registered_colors[9][0] = "Красный"; -$registered_colors[9][1] = "red" ; - -$registered_colors[10][0] = "Лаванда"; -$registered_colors[10][1] = "lavender" ; - -$registered_colors[11][0] = "Лайм"; -$registered_colors[11][1] = "lime" ; - -$registered_colors[12][0] = "Лосось"; -$registered_colors[12][1] = "salmon" ; - -$registered_colors[13][0] = "Морской волны"; -$registered_colors[13][1] = "seagreen" ; - -$registered_colors[14][0] = "Оливковый"; -$registered_colors[14][1] = "olive" ; - -$registered_colors[15][0] = "Оранжевый"; -$registered_colors[15][1] = "darkorange" ; - -$registered_colors[16][0] = "Орхидея"; -$registered_colors[16][1] = "orchid" ; - -$registered_colors[17][0] = "Перу"; -$registered_colors[17][1] = "peru" ; - -$registered_colors[18][0] = "Пурпуровый"; -$registered_colors[18][1] = "purple" ; - -$registered_colors[19][0] = "Розовый"; -$registered_colors[19][1] = "deeppink" ; - -$registered_colors[20][0] = "Салатовый"; -$registered_colors[20][1] = "chartreuse" ; - -$registered_colors[21][0] = "Серый"; -$registered_colors[21][1] = "gray" ; - -$registered_colors[22][0] = "Синий"; -$registered_colors[22][1] = "blue" ; - -$registered_colors[23][0] = "Слива"; -$registered_colors[23][1] = "plum" ; - -$registered_colors[24][0] = "Фиолетовый"; -$registered_colors[24][1] = "blueviolet" ; - -$registered_colors[25][0] = "Фуксин"; -$registered_colors[25][1] = "magenta" ; - -$registered_colors[26][0] = "Хаки"; -$registered_colors[26][1] = "khaki" ; - -$registered_colors[27][0] = "Основной"; -$registered_colors[27][1] = "#EEEEEE" ; - -$registered_colors[28][0] = "Шоколадный"; -$registered_colors[28][1] = "chocolate" ; - -$registered_colors[29][0] = "Темно-синий"; -$registered_colors[29][1] = "#000080" ; - -$default_color = 27;#black; -$highlighted_color = 9; #red; - -$w_just_married = "С этого момента ~ и # - одна семья! Муж может поцеловать жену! Поздравим их и пожелаем счастливой совместной жизни."; -$w_no_married = "С этого момента ~ и # разведены. Очень жаль, но иногда такое случается. Будем надеяться, что в будущем каждый из них не повторит ошибок прошлого..."; -$w_just_married_adm = "~ и # - одна семья! Автор *"; -$w_no_married_adm = "~ и # разошлись! Автор *"; -$w_marry_pan = "Женить"; -$w_unmarry_pan = "Развести"; -$w_marry_who = "Кого:"; -$w_marry_with = "с:"; -$w_family = "Семейное положение в чате:"; -$w_marr_man_yes = "Женат на"; -$w_marr_man_no = "Холост"; -$w_marr_wom_yes = "Замужем за"; -$w_marr_wom_no = "Не замужем"; -$w_marr_it_yes = "Женато на"; -$w_marr_it_no = "Не женато"; -?> \ No newline at end of file diff --git a/newchat/logout.php b/newchat/logout.php deleted file mode 100644 index 050a74e..0000000 --- a/newchat/logout.php +++ /dev/null @@ -1,26 +0,0 @@ -my_time(), - MESG_ROOM=>$cu_array[USER_ROOM], - MESG_FROM=>$rooms[$cu_array[USER_ROOM]]["bot"], - MESG_FROMWOTAGS=>$rooms[$cu_array[USER_ROOM]]["bot"], - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("~", $cu_array[USER_NICKNAME], $sw_rob_logout).""); - -include($engine_path."messages_put.php"); -include($file_path."designes/".$design."/logout.php"); -?> diff --git a/newchat/messages.php b/newchat/messages.php deleted file mode 100644 index 11f7914..0000000 --- a/newchat/messages.php +++ /dev/null @@ -1,35 +0,0 @@ -=0;$i--) { - list($unused, $to_out) = form_message(0,$messages[$i], $ignored_users); - if ($to_out!="") { - $already_showed++; - $total_out = $to_out.$total_out; - } - if ($already_showed>29) break; - } - -$out_messages[] = $total_out; - -include($file_path."designes/".$design."/messages.php"); -?> \ No newline at end of file diff --git a/newchat/msg_test.php b/newchat/msg_test.php deleted file mode 100644 index cfbea31..0000000 --- a/newchat/msg_test.php +++ /dev/null @@ -1,68 +0,0 @@ -","<'+'/script>",addslashes(str_replace("\r","",str_replace("\n","", - str_replace("[CHARSET]", (($charset == "")?"":""), - str_replace("[CHAT_URL]", $chat_url, - str_replace("[SKIN]", $design, - str_replace("[TOPIC]",$rooms[$room_id]["topic"],$header_string[$i]) - ) - ) - ) - )))))."\\n');\n"; - - - $already_showed = 0; - $total_out = ""; - $total_messages = count($messages); - //to get $last_id - list($last_id, $to_out) = form_message(0,$messages[$total_messages-1], $ignored_users); - for ($i=$total_messages-1;$i>=0;$i--) { - if ($already_showed>=$history_size) break; - list($unused, $to_out) = form_message(0,$messages[$i], $ignored_users); - if ($to_out!="") { - $already_showed++; - $total_out = $to_out.$total_out; - } - if ($already_showed>9) break; - } - echo "write('".str_replace("","<'+'/script>",addslashes(str_replace("\r","",str_replace("\n","",$total_out))))."\\n');\n"; -} else { - $last_message = intval($last_message); - list($last_id,$to_out) = show_messages($last_message, $messages,$ignored_users); - if ($to_out == "") echo "write('');\n"; - else echo "write('".str_replace("","<'+'/script>",addslashes(str_replace("\r","",str_replace("\n","",$to_out))))."\\n');\n"; -} -echo "}\n"; -echo "parent.voc_js_main.window.up();\n"; -echo "window.setTimeout('document.location.href=\"js_writer.php?session=$session&last_message=$last_id\"',5000);\n"; - -function show_messages($last_id, $messages, $ignored_users) { - $total_messages = count($messages); - $total_out = ""; - for ($i=0;$i<$total_messages;$i++) { - list($message_id, $to_out) = form_message($last_id, $messages[$i],$ignored_users); - $total_out .= $to_out; - } - return array($message_id,$total_out); -} -?> \ No newline at end of file diff --git a/newchat/navibar.php b/newchat/navibar.php deleted file mode 100644 index ee01f1f..0000000 --- a/newchat/navibar.php +++ /dev/null @@ -1,18 +0,0 @@ -user_class>0) $current_user->user_class = "admin"; - else $current_user->user_class = "user"; -} -include($file_path."designes/".$design."/navibar.php"); -?> \ No newline at end of file diff --git a/newchat/nimda/admin_conf.php b/newchat/nimda/admin_conf.php deleted file mode 100644 index ddd8cd6..0000000 --- a/newchat/nimda/admin_conf.php +++ /dev/null @@ -1,96 +0,0 @@ - -
-0){ - include "../inc_common.php"; - include("configure/inc_cfg_save_voc.php"); -} -error_reporting(E_ALL); -clearstatcache(); -$error = 0; - - -switch ($step) -{ - case 0: - echo "

main pathes

"; - echo "
"; - - include("configure/inc_cfg_step_1.php"); - - echo ""; - if (!$error) - echo " Looks Ok"; - echo ""; - echo ""; - echo "
"; - break; //end of case 0 - case 1: - echo "

daemon settings & chat urls

"; - echo "
"; - include("configure/inc_cfg_daemon.php"); - echo ""; - echo ""; - echo ""; - echo "
"; - break; - case 2: - echo "

chat engines

"; - echo "
"; - include("configure/inc_cfg_engine.php"); - echo ""; - echo ""; - echo ""; - echo "
"; - break; - case 3: - echo "

chat options & limits

"; - echo "
"; - include("configure/inc_cfg_limits.php"); - echo ""; - echo ""; - echo ""; - echo "
"; - break; - case 4: - echo "

user access limits

"; - echo "
"; - include("configure/inc_cfg_access.php"); - echo ""; - echo ""; - echo ""; - echo "
"; - break; - case 5: - echo "

Additional features

"; - echo "
"; - include("configure/inc_cfg_features.php"); - echo ""; - echo ""; - echo ""; - echo "
"; - break; - case 6: - echo "

Look and feel

"; - echo "
"; - include("configure/inc_cfg_lookfeel.php"); - echo ""; - echo ""; - echo ""; - echo "
"; - break; - -} - -?> -
- - diff --git a/newchat/nimda/admin_users.php b/newchat/nimda/admin_users.php deleted file mode 100644 index fab1613..0000000 --- a/newchat/nimda/admin_users.php +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/newchat/nimda/check_session.php b/newchat/nimda/check_session.php deleted file mode 100644 index c2e1482..0000000 --- a/newchat/nimda/check_session.php +++ /dev/null @@ -1,128 +0,0 @@ -please, change the default login and password! (edit the file chat/admin/admin_users.php)"; - echo ""; - exit; - } - for ($i=0;$i") or die("cannot write into sessions.php"); - fflush($fp); - flock($fp, LOCK_UN); - fclose($fp); - $accepted = 1; - } -} -if (isset($session)) -{ - $fp = fopen("sessions.php", "a+") or die("cannot open sessions.php"); - flock($fp, LOCK_EX); - fseek($fp,0); - while($data = fgetcsv ($fp, 1000, "\t") ) - { - if (($data[0]+600) > time()) - { - $data[1] = str_replace("\r","",str_replace("\n","",$data[1])); - if ($session == $data[1]) - { - $admin_exists = 1; - $to_write .= time()."\t".$data[1]."\n"; - } - else $to_write .= $data[0]."\t".$data[1]."\n"; - } - } - ftruncate($fp,0); - if ($accepted) fwrite($fp,"") or die("cannot write into sessions.php"); - else fwrite($fp,"") or die("cannot write into sessions.php"); - fflush($fp); - flock($fp, LOCK_UN); - fclose($fp); -} - -#if (isset($operation)) -# if ($operation == "login") -# { -# header("location: $P"); -# exit; -# } - - -if (!$admin_exists) -{ - include "header.php"; - if (!is_writeable("sessions.php")){ - echo "Note: Please check file permissions on the sessions.php file.
It should be writeable to web-servers user.
"; - echo ""; - exit; - } - if (!$accepted) {?> -
-

Voodoo Chat

- You must read, understand and accept the license before you start to use Voc-chat. -
- - -

-             -
- - - -
-

Voodoo Chat

- -
- - - - - - - -
Please enter your login and password
Login:
Password:
-
- -
-Powered by Voodoo Chat
OpenSource, QPL
- -
- - diff --git a/newchat/nimda/configure.php b/newchat/nimda/configure.php deleted file mode 100644 index 267f20a..0000000 --- a/newchat/nimda/configure.php +++ /dev/null @@ -1,355 +0,0 @@ - -
-0 ){ - if ($save_level > 1) { include "../inc_common.php";} - include("configure/inc_cfg_save_voc.php"); -} -error_reporting(E_ALL); -clearstatcache(); -$error = 0; - - - -switch ($step) -{ - case 0: - echo "

step 1, main pathes

"; - echo "
"; - - include("configure/inc_cfg_step_1.php"); - - echo "-Test- | "; - if (!$error) - echo "Looks Ok, Next -->"; - echo ""; - echo ""; - echo "
"; - break; //end of case 0 - case 1: - echo "

step 2. daemon settings & chat urls

"; - echo "
"; - include("configure/inc_cfg_daemon.php"); - echo ""; - echo ""; - echo "<-- Back | "; - echo "-Test- | "; - echo "Next -->"; - echo "
"; - break; - case 2: - echo "

step 3. chat engines

"; - echo "
"; - include("configure/inc_cfg_engine.php"); - echo ""; - echo ""; - echo "<-- Back | "; - echo "-Test- | "; - echo "Next -->"; - echo "
"; - break; - case 3: - echo "

step 4. chat options & limits

"; - echo "
"; - include("configure/inc_cfg_limits.php"); - echo ""; - echo ""; - echo "<-- Back | "; - echo "-Test- | "; - echo "Next -->"; - echo "
"; - break; - case 4: - echo "

step 5. user access limits

"; - echo "
"; - include("configure/inc_cfg_access.php"); - echo ""; - echo ""; - echo "<-- Back | "; - echo "-Test- | "; - echo "Next -->"; - echo "
"; - break; - case 5: - echo "

step 6. Additional features

"; - echo "
"; - include("configure/inc_cfg_features.php"); - echo ""; - echo ""; - echo "<-- Back | "; - echo "-Test- | "; - echo "Next -->"; - echo "
"; - break; - case 6: - echo "

step 7. Look and feel

"; - echo "
"; - include("configure/inc_cfg_lookfeel.php"); - echo ""; - echo ""; - echo "<-- Back | "; - echo "-Test- | "; - echo "Next -->"; - echo "
"; - break; - - case 7: - echo "

step 8. Check access to neccessary files & db tables;

"; - echo "
"; - echo "\n"; - //if (!isset($file_path)) $conf_file_path = dirname($conf_inc_config)."/"; - eval(implode("",file($data_path."/voc.conf"))); - echo "checking files in the data directory"; - $files_list = array ("converts.dat","voc.conf"); - if ($long_life_data_engine == "files") { - $files_list[] = "banlist.dat"; - $files_list[] = "users.dat"; - $files_list[] = "rooms.dat"; - $files_list[] = "robotspeak.dat"; - $files_list[] = "premoder.dat"; - if ($impro_registration) - $files_list[] = "impro.dat"; - if ($registration_mailconfirm) - $files_list[] = "regmail.dat"; - } - if ($engine == "files") { - $files_list[] = "messages.dat"; - $files_list[] = "who.dat"; - } - if ($mess_stat==1) $files_list[] = "mess_stat.dat"; - for ($i=0;$i"; - $real_name =realpath($data_path."/".$files_list[$i]); - $can_write = is_writeable($real_name); - $is_file = is_file($real_name); - if ($real_name == "") echo "cannot detect correct filename for ".$data_path."/".$files_list[$i]."
"; - if (!$is_file) {echo "Not found:";$error=1;} else echo "found:"; - echo "$real_name
"; - if ($can_write) - echo "Writeable, Ok"; - else { - echo "Cannot write to this file! Please, change file attributes (you can do it with your FTP-client)"; - $error = 1; - } - echo "
"; - } - echo "
"; - echo "checking subdirectories"; - $files_list = array(); - if ($long_life_data_engine == "files"); - $files_list = array($data_path."/"."board",$data_path."/"."users"); - if ($web_indicator) - $files_list[] = $data_path."/statuses"; - if ($logging_messages or $logging_ban) - $files_list[] = $data_path."/logs"; - $files_list[] = $file_path."/photos"; - if ($allow_pics) - $files_list[] = $file_path."/up"; - for ($i=0;$i"; - $real_name =realpath($files_list[$i]); - $can_write = is_writeable($real_name); - $is_file = is_dir($real_name); - if ($real_name == "") echo "cannot detect correct filename for ".$files_list[$i]."
"; - if (!$is_file) {echo "$real_name not found:";$error=1;} else echo "found:"; - echo "$real_name
"; - if ($can_write){ - echo "Writeable, Ok"; - if (ini_get('safe_mode')) echo "
- NOTE! Because you're using PHP in safe mode, you have to create subdirectories called
$real_name/0
$real_name/1
...
by hand (i.e. with ftp client), one subdirectory per each 2000 registered users. Those subdirectories should be owned by the same user as php-scripts and should be writeable for Apache's user."; - } else { - echo "Cannot write to this directory! Please, change file attributes (you can do it with your FTP-client)"; - $error = 1; - } - echo "

"; - } - if ($allow_pics) { - //if it's not writeable, I've already showed it above, so don't check here at all - $pic_path = realpath($file_path."/up"); - if (is_writeable($pic_path)) { - $fp = fopen($pic_path."/1.tst", "w"); - fwrite($fp, "bla-bla"); - fclose ($fp); - if (!unlink($pic_path."/1.tst")){ - echo "Cannot delete own files! The photo-sending function won't delete old users pictures their send into the chat. Please use some crontab-job to delete old unneccessary files from directory ".$pic_path."."; - } - } - } - if ($long_life_data_engine == "mysql" or $engine == "mysql") { - //checking for tables and creating if neccessary. - if (!mysql_connect($mysql_server, $mysql_user, $mysql_password)) { - echo "!!!! CANNOT CONNECT TO YOU DATABASE WITH CURRENT SETTINGS!!!!
"; - $error = 1; - } - else - if (!mysql_select_db($mysql_db)) { - echo "!!!! CANNOT SELECT DATABASE $mysql_db!!!!
"; - $error = 1; - } - } - if ($long_life_data_engine == "mysql") { - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."rooms(id int primary key auto_increment, name varchar(100), topic text, design varchar(100), bot_name varchar(100),creator varchar(30), allowed_users text,allow_pics int,premoder int,lastaction int)")) - echo "
table ".$mysql_table_prefix."rooms created or already exists
"; - else echo "table ".$mysql_table_prefix."rooms was not created!!!
"; - $m_result = mysql_query("show fields from ".$mysql_table_prefix."rooms"); - if (mysql_num_rows($m_result) == 5) { - if (mysql_query("alter table ".$mysql_table_prefix."rooms add (creator varchar(30), allowed_users text, allow_pics int, premoder int, lastaction int)")) - echo "table ".$mysql_table_prefix."rooms updated to the new version
"; - else echo "update of table ".$mysql_table_prefix."rooms failed
"; - } - $m_result = mysql_query("select count(*) from ".$mysql_table_prefix."rooms"); - $total_rooms = mysql_result($m_result, 0, 0); - if (!$total_rooms) mysql_query ("insert into ".$mysql_table_prefix."rooms (name, topic,design, bot_name) values ('Welcome','Welcome to the Voodoo chat','','W_Bot')"); - mysql_free_result($m_result); - - - - //dropping old tables -- for update - - mysql_query("drop table ".$mysql_table_prefix."banlist"); - mysql_query("drop table ".$mysql_table_prefix."premoder"); - - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."banlist(who varchar(35), until int)")) - echo "table ".$mysql_table_prefix."banlist created or already exists
"; - else echo "table ".$mysql_table_prefix."banlist was not created!!!
"; - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."users(id int primary key auto_increment, nick varchar(30), passwd varchar(50), user_class smallint, canon_nick varchar(50), user_info text, new_mails smallint, last_visit int, registration_mail varchar(100))")) - echo "table ".$mysql_table_prefix."users created or already exists
"; - else echo "table ".$mysql_table_prefix."users was not created!!!
"; - //if it's an update, add registration_mail field: - $m_result = mysql_query("show fields from ".$mysql_table_prefix."users"); - if (mysql_num_rows($m_result) == 8) { - //old, without regmail: - if (mysql_query("alter table ".$mysql_table_prefix."users add registration_mail char(100)")) - echo "table ".$mysql_table_prefix."users has been updated for new version"; - else echo "update of table ".$mysql_table_prefix."users failed"; - } - - - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."board(id int primary key auto_increment, user_id int, status tinyint, from_nick varchar(30), from_uid int, subject varchar(255), body text, at_date int)")) - echo "table ".$mysql_table_prefix."board created or already exists
"; - else echo "table ".$mysql_table_prefix."board was not created!!!
"; - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."robotspeak(phrase char(250), answer text, prob int)")) - echo "table ".$mysql_table_prefix."robotspeak created or already exists
"; - else echo "table ".$mysql_table_prefix."robotspeak was not created!!!
"; - - //if ($impro_registration) { - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."impro(time int, id varchar(32), code int)")) - echo "table ".$mysql_table_prefix."impro created or already exists
"; - else echo "table ".$mysql_table_prefix."impro was not created!!!
"; - //} - //if ($registration_mailconfirm) { - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."regmail(time int, nickname varchar(100), password varchar(100), email varchar(200), regkey varchar(32), canon_view varchar(100))")) - echo "table ".$mysql_table_prefix."regmail created or already exists
"; - else echo "table ".$mysql_table_prefix."regmail was not created!!!
"; - //} - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."password_reminder(userid int, nick char(30), code char(32), creation_time int)")) - echo "table ".$mysql_table_prefix."password_reminder created or already exists
"; - else echo "table ".$mysql_table_prefix."password_reminder was not created!!!
"; - - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."premoder (id int primary key auto_increment, room int, time int, fromnick text, fromwotags char(100),fromsession char(32), fromid int, fromavatar char(255), tonick char(32), tosession char(32),toid int,body text)")) - echo "table ".$mysql_table_prefix."premoder created or already exists
"; - else echo "table ".$mysql_table_prefix."premoder was not created!!!
"; - - } - if ($engine == "mysql") { - mysql_query("drop table ".$mysql_table_prefix."who"); - mysql_query("drop table ".$mysql_table_prefix."messages"); - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."who (user_name char(30), session char(32) not null, time int, sex tinyint, photo char(30), user_id int, tail_id int, remote_addr char(15), user_status int, last_action int, room int, ignor text, canon_nick char(60), chat_type char(10), user_lang char(10), htmlnick text,priv_tailid int,cookie char(32),browserhash char(32),user_class int,design char(20), unique (session), index(user_name, canon_nick))")) - echo "table ".$mysql_table_prefix."who created or already exists
"; - else echo "table ".$mysql_table_prefix."who was not created!!!
"; - if (mysql_query("create table IF NOT EXISTS ".$mysql_table_prefix."messages (id int primary key auto_increment, room int, time int, fromnick text, fromwotags char(100),fromsession char(32), fromid int, fromavatar char(255), tonick char(32), tosession char(32),toid int,body text)")) - echo "table ".$mysql_table_prefix."messages created or already exists
"; - else echo "table ".$mysql_table_prefix."messages was not created!!!
"; - } - - echo ""; - echo ""; - echo "

<-- Back | "; - echo "-Test- | "; - if (!$error) echo "Next -->"; - echo ""; - break; //end of case 2 - - - - case 8: - //if it's not windows, and path is not started with X:/ - if ($file_path[1]!= ":") { - echo "

step 9. Check daemon

"; - echo "
"; - echo "\n"; - - echo "checking files in the data directory"; - $files_list = array("daemon.pid","daemon.log"); - for ($i=0;$i"; - $real_name =realpath($data_path."/daemon/".$files_list[$i]); - $can_write = is_writeable($real_name); - $is_file = is_file($real_name); - if (!$is_file) {echo "Not found:";$error=1;} else echo "found:"; - echo "$real_name
"; - if ($can_write) - echo "Writeable, Ok"; - else { - echo "Cannot write to this file! Please, change file attributes (you can do it with your FTP-client)"; - $error = 1; - } - echo "
"; - } - echo "
"; - $real_name =realpath($data_path."/daemon/daemon.pl"); - $can_write = is_writeable($real_name); - $is_file = is_file($real_name); - if (!$is_file) {echo "Not found:";$error=1;} else echo "found:"; - echo "$real_name
"; - if (is_executable($real_name)) - echo "Executable, Ok"; - else { - echo "Cannot Execute this file! Please, change file attributes (you can do it with your FTP-client)"; - $error = 1; - } - echo "
"; - - if (!ini_get('safe_mode')){ - echo "Checking for neccessary Perl-modules (PHP in the safe mode couldn't determine it properly in most cases)
\n"; - - $need_modules = array("POSIX","IO::Socket","IO::Select","Socket","Fcntl","Time::localtime"); - eval(implode("",file($data_path."/voc.conf"))); - if ($long_life_data_engine == "mysql" or $engine == "mysql") $need_modules[] = "DBI"; - for ($i=0;$i".$need_modules[$i].":
"; - passthru("perl -e 'use ".$need_modules[$i].";' 2>&1",$res); - if (!$res) echo "Ok"; - else { - echo "
FAILED!!! you need to install this Perl-module!"; - } - echo "
\n"; - } - }else{echo "because you're using PHP in safe mode, I cannot check whether all neccessary perl libraries is installed or not. Try to start daemon from shell or from the daemon_admin.pl script

";} - }//end of !win - - - echo ""; - echo ""; - echo "

<-- Back | "; - if ($file_path[2]!= ":") - echo "-Test-"; - if (!$error) - echo "
Looks Ok, Configuration finished.
You can now try to start the daemon (cd data/daemon; perl daemon.pl)". - "
and login into your chat"; - echo ""; - break;//end of case 3 - -}//end of switch -?> - -
- - diff --git a/newchat/nimda/configure/inc_cfg_access.php b/newchat/nimda/configure/inc_cfg_access.php deleted file mode 100644 index 762d229..0000000 --- a/newchat/nimda/configure/inc_cfg_access.php +++ /dev/null @@ -1,60 +0,0 @@ -"; - echo ""; - echo ""; - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo ""; - echo ""; - - - echo "\n"; - echo ""; - echo ""; - - echo "\n"; - echo ""; - - - echo "\n"; - echo ""; - - echo "". - ""; - echo ""; - echo ""; - - echo "
available nicks parameters: min length: "; - echo "max length:
available characters (for grep):
*be carefull with this "available characters" field. Default value is _a-zA-Z0-9
 
 
select function to check the similar nicks:
*i.e. with 'simplest' check nicks abc and ABC is the same. Check chat/inc_to_canon_nick.php for details."; - echo "
If you change this parameter and you already have registered users, call '(re)generate canonical nicks' from admin-zone!!!
 
 
Obligatory registration (club-mode):
*User need to register before he can login into the chat
 
 
Image protected registration:
*To register user need to enter 4-digits code which he will see on specially generated image"; - echo "
 
 
Registration with email confirmation:
*Registration must be activated with special code which will be sent to user's email"; - echo "
 
 
Maximum number of nicks can be registered to one email address:
*Works only if "registration with mail confirmation" is turned on.
 
 
"; -?> \ No newline at end of file diff --git a/newchat/nimda/configure/inc_cfg_daemon.php b/newchat/nimda/configure/inc_cfg_daemon.php deleted file mode 100644 index 52b1d0e..0000000 --- a/newchat/nimda/configure/inc_cfg_daemon.php +++ /dev/null @@ -1,51 +0,0 @@ -"; - echo ""; -//well, it's already defined in the path to inc_common.php at the step 1 -// echo ""; -// echo ""; -// echo "\n"; -// echo ""; - - - echo ""; - echo ""; - - echo ""; - echo ""; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - echo "
System (file) path to the root of your web-chat interface:
       
*This is the system path to your chat/ directory. The last symbol must be a slash!!!
"; -// echo "I guess, it should be something like ".realpath("../")."/
 
 
Chat url:
*The URL which you type into browser to get start page of the chat. The last symbol must be a slash!!!
"; - echo "I guess, it should be something like "; - $check_for_root = dirname(dirname($HTTP_SERVER_VARS["REQUEST_URI"])); - if ($check_for_root == "/") $check_for_root = ""; - echo "http://".$HTTP_SERVER_VARS["SERVER_NAME"].$check_for_root."/"; - echo "
 
 
Daemon LISTEN-type: ". - " Standard mode, listen on a given ip:port
". - " mod_voc type. Apache forward connections to the daemon. You need to install mod_voc to use this mode
". - "
*If you don't know what is it, left first option selected
 
 
Daemon URL:
*This is URL where user can connect to the daemon (see also Daemon Listen). Usually it's just http://".$HTTP_SERVER_VARS["SERVER_NAME"]."
\n"; - echo "The Daemon emulates HTTP-server, so you just need to type http:// and then server-name, and nothing at the end even slash is too much! The http://server.com/data/daemon/daemon.pl is a common mistake!
". - "mod_voc: you have to put the url you're using in apache config-file, i.e. http://".$HTTP_SERVER_VARS["SERVER_NAME"]."/vocd
 
 
Daemon Port:
*At this port daemon will listening for incoming request. If you don't have root-rights, you can only set ports which >1024 and <65535!
". - "mod_voc: this parameter is not used
 
 
Daemon Listen to:
*At this IP (which corresponds to one network-interface) Daemon will listening for incoming requests."; - echo "You can try to set it to 0.0.0.0 -- in this case Daemon will listeting at all interfaces. You can also try to use DomainName.
\n". - "mod_voc: this parameter is not used
 
 
mod_voc socket:
*Unix socket which is used to communicate between Apache and Voc-daemon.
"; - echo "Default value is /tmp/vochat
 
 
"; - -?> \ No newline at end of file diff --git a/newchat/nimda/configure/inc_cfg_engine.php b/newchat/nimda/configure/inc_cfg_engine.php deleted file mode 100644 index 05359e7..0000000 --- a/newchat/nimda/configure/inc_cfg_engine.php +++ /dev/null @@ -1,79 +0,0 @@ -"; - echo "\n"; - } - else - echo "shm_attach doesn't exists! you cannot use SharedMemory-based chat-engine\n"; - echo ""; - echo "\n"; - echo "\n"; - - if (function_exists('shmop_open')) { - echo ""; - echo ""; - echo "\n"; - echo "\n"; - } - - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - if ($long_life_data_engine == "mysql" or $engine == "mysql") - { - if (!mysql_connect($mysql_server, $mysql_user, $mysql_password)) - { - echo ""; - } - else - { - if (!mysql_select_db($mysql_db)) echo ""; - } - } - echo ""; - - $all_chat_types = array("tail","js_tail","reload","php_tail"); - echo "\n"; - echo "\n"; - echo ""; - echo "
testing SysV Shared memory support:
\n"; - $engines[0][0] = "Files"; - $engines[0][1] = "files"; - $engines[1][0] = "MySQL"; - $engines[1][1] = "mysql"; - if (function_exists('shmop_open')) { - $engines[2][0] = "Shared memory"; - $engines[2][1] = "shm"; - echo "shmop_open exists! you can work with Shared Memory engine
 
 
Select Main engine (works with messages, user-list,ignor-list):"; - echo "
Select engine to store "static" data (registration info, mail-messages):"; - $ld_engines[0][0] = "Files"; - $ld_engines[0][1] = "files"; - $ld_engines[1][0] = "MySQL"; - $ld_engines[1][1] = "mysql"; - echo "
 
 
Please, set Shared Memory blocks IDs (if you want to use shared memory engine). It should be just two numbers, i.e. 804,805 by default. But be carefull, you can lost your data if this IDs are used by other programs and/or users (check it with ipcs)
Messages block id:
User-list block id:
 
 
MySQL parameters (fill it only in case you're using MySQL engine)
MySQL Server (name or ip):
MySQL username:
MySQL password:
MySQL DataBase name:
Prefix for MySQL Tables:
!!!! CANNOT CONNECT TO YOU DATABASE WITH CURRENT SETTINGS!!!!
!!!! CANNOT SELECT DATABASE $mysql_db!!!!
 
 
Chat Types: "; - echo "
*Different chat types which will available for users. I recommend to use 'tail' and 'reload'
 
 
"; - -?> diff --git a/newchat/nimda/configure/inc_cfg_features.php b/newchat/nimda/configure/inc_cfg_features.php deleted file mode 100644 index 577d992..0000000 --- a/newchat/nimda/configure/inc_cfg_features.php +++ /dev/null @@ -1,60 +0,0 @@ -"; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - - echo "
Store statistic data:
*You need to install cronjob to run update_statistic.php periodically before turn this feature on. Look at the README
 
 
Enable web indicator:
*users will be able to set icon on their pages which shows if the user is in the chat or not
 
 
Enable logging:
log messages
log ban/un ban actions
* you will find the log files in the data/logs directory. File names are YYYY-mm-dd.log, rotated daily.
"; - echo "You have to remove old log files by yourself!!!
 
 
Enable images posting :
*Users can upload .jpg/.gif/.png file or send a link to an image on some site in the internet.
". - "The image will be stored on the chat-server and img-tag will be posted to the messages-frame.
". - "It means this feature requires _A LOT OF TRAFFIC_, so think twice before turning it on.
". - "You also have to install some cronjob to remove old, unused images from the server (see README).
". - "The feature is ROOM-BASED, you also need to enable it for particular room (in the chat/admin)
 
Enable to post an image in private message:
*If you set it to 'No', then all messages with images will be displayed in common chat (won't be a private message)
 
Maximum size of image (in Bytes): ". - "
 
Maximum width of image (in pixels): ". - "
 
Maximum height of image (in pixels): ". - "
 
 
"; -?> \ No newline at end of file diff --git a/newchat/nimda/configure/inc_cfg_limits.php b/newchat/nimda/configure/inc_cfg_limits.php deleted file mode 100644 index 7738577..0000000 --- a/newchat/nimda/configure/inc_cfg_limits.php +++ /dev/null @@ -1,75 +0,0 @@ -"; - echo ""; - echo ""; - echo "\n"; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - - - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo ""; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo "\n"; - echo ""; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - echo ""; - echo "\n"; - echo ""; - - echo "
Administator's email:
*This email address will be used for the users feedbacks
 
 
Time offset: hours
*The difference in time between your PC and Server. (PC-time - Server-time).
"; - echo "I guess, it should be something like
 
 
Maximum size of mailbox (in bytes):
*If the size of the user's mailbox will be more than this value, no incoming messages to his mailbox will be accepted
 
 
Disconnect time (in seconds):
*In case user doesn't refresh any window, system will consider that he is present during this time
 
 
History size:
At the welcome page
In the messages-list
*The maximum number of messages to show in the history at the login page and at the top of messages-frame when user is logged in. Refresh-mode ignores this setting, so you have to disable that mode to be sure that nobody is able to view history
 
 
Photo limits:
Maximum size Bytes
Maximum width pixels
Maximum height pixels
*limits to the photo which users can upload to their info-page. 0 means unlimited.
 
 
Avatar (small photo) limits:
Maximum size Bytes
Maximum width pixels
Maximum height pixels
*limits to the avatar (small photo) which users can upload to their info-page. 0 means unlimited.
 
 
Maximum number of users in the chat:
*The maximum number of users that can login into the chat (it can help to avoid nick-flooding)
 
 
Maximum number of connections from one IP:
*Limit the number of users from one PC/proxy
 
 
Maximum number of CAPITAL LETTERS in the message:
*If the user types too many capital letters the whole message will be converted to lowercase.
"; - echo "you must set locale properly, strotoupper and strtolower should work correct.
"; - echo "put 0 to disable checking
 
 
Maximum number of images:
*The maximum number of images user can insert into his message
 
 
Flood protection:
\n"; - echo "
Minimum period of time in seconds between two messages from user:
Check for the same user-message in the last
messages in the chat (max 40)
 
 
"; -?> \ No newline at end of file diff --git a/newchat/nimda/configure/inc_cfg_lookfeel.php b/newchat/nimda/configure/inc_cfg_lookfeel.php deleted file mode 100644 index 800e601..0000000 --- a/newchat/nimda/configure/inc_cfg_lookfeel.php +++ /dev/null @@ -1,192 +0,0 @@ -"; - echo ""; - - echo ""; - closedir($handle); - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - $handle = opendir($file_path."designes/"); - echo "\n"; - echo "\n"; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo "\n"; - echo ""; - - - - echo ""; - echo "\n"; - echo ""; - - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo ""; - - - echo ""; - echo ""; - - - echo ""; - echo ""; - - - echo ""; - echo ""; - - echo ""; - echo ""; - - echo ""; - echo "\n"; - echo ""; -?> - - - -"; - echo ""; - echo "\n"; - echo "\n"; - echo ""; - - echo ""; - echo ""; - echo "\n"; - echo ""; - echo ""; - - echo ""; - echo ""; - - echo ""; - - echo ""; - echo ""; - echo "
System-language: "; - $handle = opendir($file_path."languages/"); - if (!is_array($allowed_langs)) $allowed_langs = array(); - $al_langs = ""; - while (false !== ($tmp_file = readdir($handle))) { - if (substr($tmp_file,0,4)!="help" and is_file($file_path."languages/".$tmp_file)) { - $lang_name = substr($tmp_file,0,strpos($tmp_file,".")); - echo "\n"; - $al_langs .= "
*The language for system. Check chat/languages directory
 
 
Languages, which can be selected by user for chat-interface: "; - echo $al_langs."
*The languages for interface. Check chat/languages directory
 
 
Charset:
*The character set for html-pages (<meta ... > tag). Default is iso-8859-1
 
 
Chat designes: "; - echo "\n"; - while (false !== ($tmp_file = readdir($handle))) - { - if ($tmp_file!="." and $tmp_file != "..") - { - $conf_def_design .= "\n"; - } - } - $conf_def_design .= ""; - closedir($handle); - echo "
*The name of design which is used to Chat-layout. Check chat/designes directory for list of available designes.
 
Select default design: $conf_def_design
*The preselected design for the users who first time coming to your chat. Should be one of the possible chat designes, otherwise the first one will be used as default
 
 
Show private messages in a separated frame
*The private messages to/from visitor will be shown in an additional frame (below the frame with normal messages)". - "
Now it works ONLY in the 'standard' skins, default, sky and hi-tech
And ONLY in 'continuous' mode (with daemon)
 
 
keep whispering:
*When user sends a private mesage, his addressat-choice can be saved and preselected after 'sender'-frame will be loaded. (This feautre depends on 'design' which you use)
 
 
Use message color to display nick:
*The nickname in the messages list will be displayed in the same color as message (option Yes) or it will be displayed in default color (option No)
 
 
Messages formats
you can use the following codes:". - "". - "". - "". - "". - "". - "". - "". - "". - "". - "". - "
codeaction
[MESSAGE]the message's body
[NICK]nickname of the user who sent the message
[NICK_WO_TAGS]nickname without any html, usefull for JavaScript (i.e. clickable nicks, to insert name into message-form)
[TO]nickname of the addressat (only in case of private message)
[PRIVATE]replaced with 'whipser to somebody') (\$w_whisper_to from your language-file)
[HOURS]hours of the sent time
[MIN]minutes of the sent time
[SEC]seconds of the sent time
[AVATAR]img-tag with author's avatar (small photo), or with blank in case the author doesn't have an avatar
To show 'normal' message to the user who _sent_ it (author):
 
"; - echo "
 
To show 'private' message to the user who _sent_ it:
 
"; - echo "
 
To show 'normal' message for everybody but not to the author:
 
"; - echo "
 
To show a 'private' message to the user who _recieved_ it:
 
"; - echo "
 
To show 'private' message to everybody but not to the author and the addressat ('whisper to somebody'):
 
"; - echo "
*Format for the private message in case user shouldn't see it (you're not the sender and not the addressee of the message). [PRIVATE] will be replaced with \$w_whisper_to from the language file
\n"; - echo "To hide whispering at all, set this field to blank.
 
Reset message formats to one of the default pre-settings:
-Simple
-Clickable Nicks
-
 
 
Highlight user-nickname in the messages:
tag before:
tag after:
*If your nick in the chat is "User" and somebody write message "Hello, User!" you'll see Hello, ".$nick_highlight_before."User".$nick_highlight_after."!
\n"; - echo "All other visitors will see just Hello, User!
 
Highlight the message is there is user nickname inside: tag before:
tag before:
tag after:
*In addition to previous 'nick-highlighing' you can add tags before and after the whole text-line
 
 
Enable users to modify text-style:
enable to send bold messages
enable to send italic messages
enable to send underlined messages
 
 
\n"; -?> \ No newline at end of file diff --git a/newchat/nimda/configure/inc_cfg_save_voc.php b/newchat/nimda/configure/inc_cfg_save_voc.php deleted file mode 100644 index 39d55bd..0000000 --- a/newchat/nimda/configure/inc_cfg_save_voc.php +++ /dev/null @@ -1,264 +0,0 @@ -Done
"; - eval(implode("",file($data_path."voc.conf"))); - $file_path = $conf_file_path; - //in win replace c:\path with c:/path - if ($file_path[1] == ":") - $file_path = str_replace("\\","/",$file_path); - $write_to_conf = 1; - break; - case 2: - //now it's automatically defined at step 1, from inc_common.php path - //set_variable("file_path"); - //$file_path = trim($file_path); - set_variable("chat_url"); - set_variable("daemon_type"); - $daemon_type = intval($daemon_type); - set_variable("daemon_host"); - set_variable("daemon_port"); - set_variable("daemon_listen"); - set_variable("modvoc_socket"); - $write_to_conf = 1; - break; - case 3: - set_variable("shm_mess_id"); - set_variable("shm_users_id"); - set_variable("engine"); - if ($engine == "") $engine = "files"; - set_variable("long_life_data_engine"); - set_variable("mysql_server"); - set_variable("mysql_user"); - set_variable("mysql_password"); - set_variable("mysql_db"); - set_variable("mysql_db"); - set_variable("mysql_table_prefix"); - - $chat_types = array(); - for ($j = 0; $j<4; $j++) - if (isset($HTTP_POST_VARS["chat_types"][$j])) $chat_types[$j] = $HTTP_POST_VARS["chat_types"][$j]; - - $write_to_conf = 1; - break; - case 4: - set_variable("admin_mail"); - //for perl, otherwise it fails on old versions - $admin_mail = str_replace("@","\\@",$admin_mail); - set_variable("max_mailbox_size"); - set_variable("disconnect_time"); - set_variable("history_size"); - set_variable("history_size_shower"); - set_variable("max_photo_size"); - set_variable("max_photo_width"); - set_variable("max_photo_height"); - set_variable("max_avatar_size"); - set_variable("max_avatar_width"); - set_variable("max_avatar_height"); - set_variable("max_connect"); - set_variable("max_from_ip"); - set_variable("max_cap_letters"); - set_variable("time_offset"); - $time_offset = intval($time_offset)*3600; - set_variable("max_images"); - set_variable("flood_protection"); - set_variable("flood_time"); - set_variable("flood_in_last"); - $write_to_conf = 1; - break; - case 5: - set_variable("nick_min_length"); - set_variable("nick_max_length"); - set_variable("nick_available_chars"); - set_variable("current_to_canon"); - set_variable("club_mode"); - set_variable("impro_registration"); - set_variable("registration_mailconfirm"); - set_variable("max_per_mail"); - $write_to_conf = 1; - break; - case 6: - set_variable("mess_stat"); - set_variable("web_indicator"); - set_variable("logging_messages"); - set_variable("logging_ban"); - set_variable("allow_pics"); - set_variable("allow_priv_pics"); - set_variable("pics_maxsize"); - set_variable("pics_maxh"); - set_variable("pics_maxw"); - $logging_ban = ($logging_ban != "") ?1:0; - $logging_messages = ($logging_messages != "") ?1:0; - // it's dropdown with int, i'm setting intval to it when writing $allow_pics = ($allow_pics != "") ?1:0; - $pics_maxsize = intval($pics_maxsize); - $pics_maxw = intval($pics_maxw); - $pics_maxh = intval($pics_maxh); - $write_to_conf = 1; - break; - case 7: - $designes = array(); - $allowed_langs = array(); - for ($j = 0; $j<50; $j++) - if (isset($HTTP_POST_VARS["designes"][$j])) $designes[] = $HTTP_POST_VARS["designes"][$j]; - for ($j = 0; $j<50; $j++) - if (isset($HTTP_POST_VARS["allowed_langs"][$j])) $allowed_langs[] = $HTTP_POST_VARS["allowed_langs"][$j]; - - set_variable("language"); - set_variable("charset"); - set_variable("default_design"); - set_variable("keep_whisper"); - set_variable("message_format"); - set_variable("message_fromme"); - set_variable("private_message"); - set_variable("private_message_fromme"); - set_variable("private_hidden"); - set_variable("nick_highlight_before"); - set_variable("nick_highlight_after"); - set_variable("str_w_n_before"); - set_variable("str_w_n_after"); - set_variable("colorize_nicks"); - set_variable("priv_frame"); - set_variable("enabled_b_style"); - set_variable("enabled_i_style"); - set_variable("enabled_u_style"); - if (!is_array($designes) || count($designes) == 0) { - $designes = array(); - $designes[0] = $default_design; - } - if (!is_array($allowed_langs) || count($allowed_langs) == 0) { - $allowed_langs = array(); - $allowed_langs[0] = $language; - } - if (!in_array($language, $allowed_langs)) - $allowed_langs[] = $language; - $priv_frame = ($priv_frame != "") ?1:0; - $enabled_b_style = ($enabled_b_style != "") ?1:0; - $enabled_i_style = ($enabled_i_style != "") ?1:0; - $enabled_u_style = ($enabled_u_style != "") ?1:0; - - $write_to_conf = 1; - break; -} -if ($write_to_conf) { - echo "saving data to voc.conf: \n"; - $fp = fopen($data_path."/voc.conf","wb"); - flock($fp, LOCK_EX); - $to_save = "#Config file for the Voodoo chat\n#generated automatically by the chat/admin/configure.php script\n#Please, DON'T edit this file by hand.\n\n"; - if (!isset($engine)) $engine = "files"; - if ($engine == "") $engine = "files"; - $to_save .= "\$web_indicator = ".intval($web_indicator).";\n"; - $to_save .= "\$colorize_nicks = ".intval($colorize_nicks).";\n"; - $to_save .= "\$max_from_ip = ".intval($max_from_ip).";\n"; - $to_save .= "\$history_size = ".intval($history_size).";\n"; - $to_save .= "\$history_size_shower = ".intval($history_size_shower).";\n"; - $to_save .= "\$max_photo_size = ".intval($max_photo_size).";\n"; - $to_save .= "\$max_photo_width = ".intval($max_photo_width).";\n"; - $to_save .= "\$max_photo_height = ".intval($max_photo_height).";\n"; - $to_save .= "\$max_avatar_size = ".intval($max_avatar_size).";\n"; - $to_save .= "\$max_avatar_width = ".intval($max_avatar_width).";\n"; - $to_save .= "\$max_avatar_height = ".intval($max_avatar_height).";\n"; - $to_save .= "\$current_to_canon = \"$current_to_canon\";\n"; - //khm... looks like i do it second time: - $to_save .= "\$enabled_b_style = ". (($enabled_b_style != "") ?1:0) .";\n"; - $to_save .= "\$enabled_i_style = ". (($enabled_i_style != "") ?1:0) .";\n"; - $to_save .= "\$enabled_u_style = ". (($enabled_u_style != "") ?1:0).";\n"; - $to_save .= "\$priv_frame = ". (($priv_frame != "") ?1:0).";\n"; - $to_save .= "\$logging_messages = ". intval($logging_messages) .";\n"; - $to_save .= "\$logging_ban = ". intval($logging_ban).";\n"; - $to_save .= "\$allow_pics = ". intval($allow_pics).";\n"; - $to_save .= "\$allow_priv_pics = ". intval($allow_priv_pics).";\n"; - $to_save .= "\$pics_maxsize = ". intval($pics_maxsize).";\n"; - $to_save .= "\$pics_maxw = ". intval($pics_maxw).";\n"; - $to_save .= "\$pics_maxh = ". intval($pics_maxh).";\n"; - $to_save .= "\$nick_min_length = ".intval($nick_min_length).";\n"; - $to_save .= "\$nick_max_length = ".intval($nick_max_length).";\n"; - $to_save .= "\$nick_available_chars = \"".str_replace("\"","\\\"",$nick_available_chars)."\";\n"; - $to_save .= "\$club_mode = ". intval($club_mode) .";\n"; - $to_save .= "\$impro_registration = ". intval($impro_registration) .";\n"; - $to_save .= "\$registration_mailconfirm = ". intval($registration_mailconfirm) .";\n"; - $to_save .= "\$keep_whisper = ". intval($keep_whisper).";\n"; - $to_save .= "\$max_images = ". intval($max_images).";\n"; - $to_save .= "\$max_mailbox_size = ". intval($max_mailbox_size).";\n"; - $to_save .= "\$disconnect_time = ". intval($disconnect_time).";\n\n"; - $to_save .= "\$admin_mail = \"".str_replace("\"","\\\"",$admin_mail)."\";\n\n"; - $to_save .= "\$message_format = \"".str_replace("\"","\\\"",$message_format)."\";\n"; - $to_save .= "\$message_fromme = \"".str_replace("\"","\\\"",$message_fromme)."\";\n"; - $to_save .= "\$private_message = \"".str_replace("\"","\\\"",$private_message)."\";\n"; - $to_save .= "\$private_message_fromme = \"".str_replace("\"","\\\"",$private_message_fromme)."\";\n"; - $to_save .= "\$private_hidden = \"".str_replace("\"","\\\"",$private_hidden)."\";\n"; - $to_save .= "\$nick_highlight_before = \"".str_replace("\"","\\\"",$nick_highlight_before)."\";\n"; - $to_save .= "\$nick_highlight_after = \"".str_replace("\"","\\\"",$nick_highlight_after)."\";\n"; - $to_save .= "\$str_w_n_before = \"".str_replace("\"","\\\"",$str_w_n_before)."\";\n"; - $to_save .= "\$str_w_n_after = \"".str_replace("\"","\\\"",$str_w_n_after)."\";\n"; - $to_save .= "\$engine = \"".$engine."\";\n"; - $to_save .= "\$long_life_data_engine = \"".$long_life_data_engine."\";\n\n"; - $to_save .= "\$chat_url = \"".str_replace("\"","\\\"",$chat_url)."\";\n"; - $to_save .= "\$daemon_host = \"".str_replace("\"","\\\"",$daemon_host)."\";\n"; - $to_save .= "\$daemon_port = ".intval($daemon_port).";\n"; - $to_save .= "\$daemon_listen = \"".str_replace("\"","\\\"",$daemon_listen)."\";\n"; - $to_save .= "\$daemon_type = ".intval($daemon_type).";\n"; - $to_save .= "\$modvoc_socket = \"".str_replace("\"", "\\\"", $modvoc_socket)."\";\n"; - $to_save .= "\$max_connect = ".intval($max_connect).";\n"; - $to_save .= "\$file_path = \"".str_replace("\"","\\\"",$file_path)."\";\n"; - for($j=0;$j\n"; - echo "reloading config:"; - eval(implode("",file($data_path."voc.conf"))); - echo "Done
\n"; -} - -?> \ No newline at end of file diff --git a/newchat/nimda/configure/inc_cfg_step_1.php b/newchat/nimda/configure/inc_cfg_step_1.php deleted file mode 100644 index 27f6556..0000000 --- a/newchat/nimda/configure/inc_cfg_step_1.php +++ /dev/null @@ -1,59 +0,0 @@ -\n"; -echo "trying to locate inc_common.php...
"; -if (!isset($conf_inc_config)) $conf_inc_config = $conf_file_path."/inc_common.php"; -if ($conf_inc_config[1] == ":") - $conf_inc_config = str_replace("\\","/",$conf_inc_config); - -$can_write = is_writeable($conf_inc_config); -$is_file = is_file($conf_inc_config); -if (!$is_file) {echo "Not found:";$error=1;} else echo "found:"; -echo "
"; -if ($can_write) - echo "Writeable, Ok"; -else { - echo "Cannot write to config file! Please, change file attributes (you can do it with your FTP-client)"; - $error = 1; -} -echo "
If this is incorrect information, change the path to correct one
"; - - -echo "trying to locate data-directory
"; -$config_lines = @file($conf_inc_config); -if (!isset($conf_data_path)) { - for ($i=0;$iNot found:";$error=1;} else echo "found:"; -echo "
"; - -echo "
Note: Should be ended with the slash!!!!
If this is incorrect information, change the path to correct one
"; -echo "trying to locate config file:
\n"; -$real_name =realpath($conf_data_path."voc.conf"); -$can_write = is_writeable($real_name); -$is_file = is_file($real_name); -if (!$is_file) {echo "voc.conf -- Not found:";$error=1;} else echo "found:"; -echo $conf_data_path."voc.conf
"; -if ($can_write) - echo "Writeable, Ok"; -else { - echo "Cannot write to this file! Please, change file attributes (you can do it with your FTP-client)"; - $error = 1; -} -echo "
"; - -?> \ No newline at end of file diff --git a/newchat/nimda/configure/index.php b/newchat/nimda/configure/index.php deleted file mode 100644 index 4c4b8d2..0000000 --- a/newchat/nimda/configure/index.php +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/newchat/nimda/conv.php b/newchat/nimda/conv.php deleted file mode 100644 index 40c55cc..0000000 --- a/newchat/nimda/conv.php +++ /dev/null @@ -1,154 +0,0 @@ - -"; - $path[$i] = $tag_b.$path[$i].$tag_e; - $phrase[count($phrase)] = $s[$i]."\t".$path[$i]; - $fp = fopen($converts_file,"w"); - fwrite($fp, implode("\n", $phrase)); - $snum++; - fclose($fp); - } -} -echo "

Congratulations!!!

"; -echo $snum." smiles have been succesfully writed into converts.dat file
"; -if ($see_again != "on") -{ -exit; -} -} -?> -

Smiles installing

-
Note: Please delete all no smile files from converts directory
-Instructions:
-- First of all download smiles in your converts directory
-- This script automatically show all files in your converts directory. Please delete all not smiles files (ex. to_remove file)
-- You can change command for every smile
-- If you don`t want use some smiles, you must remove command (field must be empty)
-- You can edit this file, simple download new files to the directory and open this script!
-- You must remove any file from directory! Script don`t show files unavailable in converts directory
-- If smiles there are in directory, but unavailable in the converts.dat his status=new!
-
- -
nofiles in converts dir

"; -die; -} - -echo "
\n"; -echo "
\n"; -echo "".$filenumber." files in converts directory
"; -echo ""; - - -//added block -$file = file("$converts_file"); -$count = count($file); -if ($count != 0) -{ -for ($j = 0; $j <$count; $j++) -{ -list ($sm[$j],$pt[$j]) = explode ("\t",$file[$j]); -} -for ($i = 0; $i < $filenumber; $i++) -{ - $tag_b = ""; - $nowfile[$i]=$tag_b.$ext_smiles.$smilefile[$i].".gif".$tag_e; - $old=0; - $i_for_user=$i+1; - for ($j = 0; $j <$count; $j++) - { - - if (trim($pt[$j]) == trim($nowfile[$i])) - { - echo " - "; - $old=1; - } - } - if ($old == 0) - { - echo " - "; - } -} -} -else -{ -for ($i = 0; $i < $filenumber; $i++) -{ -$i_for_user=$i+1; -echo " - -"; -} - -} -$i=$j=0; -echo "
NStatusSmileCommand for smile
".$i_for_user."Old - - -
".$i_for_user."New - - -
".$i_for_user."New - - -
See again all files after Save/Uploading
-

-
\n"; -echo "
\n"; -?> - - \ No newline at end of file diff --git a/newchat/nimda/cr.php b/newchat/nimda/cr.php deleted file mode 100644 index 43791ba..0000000 --- a/newchat/nimda/cr.php +++ /dev/null @@ -1,100 +0,0 @@ - -
- -"; - $stroka .= get_probability($ID, $prob); - $ID++; - } -} else if ($long_life_data_engine == "mysql") { - $m_result = mysql_query("select * from ".$mysql_table_prefix."robotspeak") or die("database error
".mysql_error()); - while ($row = mysql_fetch_row($m_result)) { - $user_phrase = str_replace("\"",""", $row[0]); - $robot_answer = str_replace("\"",""", $row[1]); - $stroka .= ""; - $stroka .= get_probability($ID, $row[2]); - $ID++; - } -} - - echo ""; - echo get_probability($ID); - - echo $stroka; - - echo "
NQuestions for RobikRobiks answersProbability
".$ID."
".$ID."
New
\n"; - echo "
"; - echo "   \n"; - echo "\n"; -?> -
- - \ No newline at end of file diff --git a/newchat/nimda/daemon.php b/newchat/nimda/daemon.php deleted file mode 100644 index 557738f..0000000 --- a/newchat/nimda/daemon.php +++ /dev/null @@ -1,119 +0,0 @@ - -
-"; -$daemon_pid = file($data_path."daemon/daemon.pid"); -if (!isset($daemon_pid)) $daemon_pid = 0; -if (is_array($daemon_pid)) - $daemon_pid = intval($daemon_pid[0]); -else $daemon_pid = 0; - - -if (isset($op)) -{ - if ($op == "reset") - { - echo "deleting pid-info
"; - $fp = fopen($data_path."daemon/daemon.pid","w"); - ftruncate($fp,0); - fflush($fp); - fclose($fp); - $daemon_pid = file($data_path."daemon/daemon.pid"); - if (!isset($daemon_pid)) $daemon_pid = 0; - if (is_array($daemon_pid)) - $daemon_pid = intval($daemon_pid[0]); - else $daemon_pid = 0; - } - if ($op == "start") - { - if ($daemon_pid) - { - echo "daemon is already started
If you absolutelly sure that daemon is not running, click here to clear the pid-file!"; - } - else - { - echo "trying to start daemon:
\n";
-			#echo "DOESNT WORK!!!!!!!!!!!";
-			#`$data_path/daemon/daemon.pl $data_path/voc.conf 2>&1 >> $data_path/daemon/daemon.log & `;
-			#exec('./starter.sh  2>&1 >/dev/null &');
-			#session_write_close();
-			exec("$data_path/daemon/daemon.pl 2>/dev/null >&- <&- >/dev/null &");
-			sleep(5);
-			$daemon_pid = file($data_path."daemon/daemon.pid");
-			if (!isset($daemon_pid)) $daemon_pid = 0;
-			if (is_array($daemon_pid))
-				$daemon_pid = intval($daemon_pid[0]);
-			else $daemon_pid = 0;
-			echo "

\n"; - } - - } - - if ($op == "stop") - { - if (!$daemon_pid) - { - echo "cannot find daemon pid
"; - } - else - { - echo "trying to stop daemon:
\n"; - passthru("kill -CONT $daemon_pid"); - sleep(5); - $daemon_pid = file($data_path."daemon/daemon.pid"); - if (!isset($daemon_pid)) $daemon_pid = 0; - if (is_array($daemon_pid)) - $daemon_pid = intval($daemon_pid[0]); - else $daemon_pid = 0; - } - - } - -} - - -if ($daemon_pid) -{ - echo "pid file found, pid = $daemon_pid
\n"; - echo "information about process (in some cases doesn't work):
\n";
-	passthru("ps -aux | grep $daemon_pid");
-	echo "

"; - echo "netstat (in some cases doesn't work):
\n";
-	passthru("netstat -na | grep $daemon_port");
-	echo "

"; - echo "try to stop"; - - echo "
If you absolutelly shure that daemon is not running, click here to clear the pid-file! Be carefull, because otherwise you wouldn't be able to stop it! "; -} -else -{ - echo "netstat (in some cases doesn't work):
\n";
-	passthru("netstat -na | grep $daemon_port");
-	echo "

"; - #echo "daemon is not running
try to start"; - #echo "
(It is highly NOT recommended to use this tool to start daemon. Because you wouldn't be able to restart Apache while daemon is working. use shell or Perl-starter instead of this script)"; - echo "USE daemon_admin.pl script to START/STOP the daemon!"; - -} -echo "
last 20 records in the log-file:
"; -$log = file($data_path."daemon/daemon.log"); -if (isset($log)) - if (is_array($log)) - { - $total = count($log); - $start_at = ($total>20) ? ($total-20): 0; - - for ($i=$start_at;$i<$total;$i++) - echo $log[$i]."
\n"; - } - -?> - -
- - - \ No newline at end of file diff --git a/newchat/nimda/daemon_admin.pl b/newchat/nimda/daemon_admin.pl deleted file mode 100644 index 195dc26..0000000 --- a/newchat/nimda/daemon_admin.pl +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/perl -w -my $data_path = "/home/voodoo/www/voc/data/"; - -print "Content-type: text/html\n\n"; -print " - - - daemon starter - -"; - -$buffer=$ENV{'QUERY_STRING'}; -@pairs = split(/&/, $buffer); -foreach $pair (@pairs) -{ - ($name, $value) = split(/=/, $pair); - $value =~ tr/+/ /; - $value =~ s/%(..)/pack("c",hex($1))/ge; - $name=~tr/+/ /; - $name=~ s/%(..)/pack("c",hex($1))/ge; - $input{$name} = $value; -} -if ($input{'op'} eq "start") -{ - print "
";
-	$to_run = 'cd '.$data_path.'daemon/; perl ./daemon.pl 2>&1';
-	print `$to_run`;
-	sleep(3);
-	print "
"; -} -if ($input{'op'} eq "stop") -{ - print "
";
-	$to_run = 'cd '.$data_path.'daemon/; kill `cat daemon.pid` 2>&1';
-	print `$to_run`;
-	sleep(3);
-	print "
"; -} -my $pid_file = $data_path."daemon/daemon.pid"; -my $log_file = $data_path."daemon/daemon.log"; - - - -open(PIDFILE, "< $pid_file"); -@pidfile = ; -close(PIDFILE); -if (scalar(@pidfile)>0) {$pid = $pidfile[0];} else {$pid = "";} -if ($pid eq "a") {$pid = "";} -print "Status:
"; -if ($pid eq ""){print "Daemon is not running
\n";} -else {print "Daemon is running with pid= $pid
\n";} -print "Reload stat page | "; -if ($pid eq "") { print "start daemon";} -else {print "stop daemon";} - - -eval('$config = $data_path."voc.conf";require("$config")'); -print "
Proccesses information:
";
-if ($pid ne "") { $to_run = 'ps -up'.$pid;print `$to_run`;}
-print "
\nNetstat information:
";
-eval('$to_run = \'netstat -na |grep \'.$daemon_port');
-print `$to_run`;
-print "
\n"; -print "
"; - -print "Last 20 lines in the log file:
"; -open(LOGFILE, "< $log_file"); -@logfile = ; -close(LOGFILE); -my $start_at = (scalar(@logfile)>20)? scalar(@logfile)-20: 0; -for ($i=$start_at;$i\n"; -} -exit; - diff --git a/newchat/nimda/generate_canon_nicks.php b/newchat/nimda/generate_canon_nicks.php deleted file mode 100644 index c9d4903..0000000 --- a/newchat/nimda/generate_canon_nicks.php +++ /dev/null @@ -1,44 +0,0 @@ - - - - - -
-".mysql_error()); - while($row = mysql_fetch_array($m_result, MYSQL_NUM)) { - $canon_nick = addslashes(to_canon_nick($row[1])); - mysql_query("update ".$mysql_table_prefix."users set canon_nick='".$canon_nick."' where id=".$row[0]) or die("database error
".mysql_error()); - } - mysql_free_result($m_result); -} -?> -
Generated
-
- - \ No newline at end of file diff --git a/newchat/nimda/header.php b/newchat/nimda/header.php deleted file mode 100644 index 727d2db..0000000 --- a/newchat/nimda/header.php +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - -Voodoo Chat administration - - - - \ No newline at end of file diff --git a/newchat/nimda/index.php b/newchat/nimda/index.php deleted file mode 100644 index db25579..0000000 --- a/newchat/nimda/index.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - Voodoo Chat Administration - - - - - - - - diff --git a/newchat/nimda/mess_statistic.php b/newchat/nimda/mess_statistic.php deleted file mode 100644 index 36bc300..0000000 --- a/newchat/nimda/mess_statistic.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/newchat/nimda/mod_list.php b/newchat/nimda/mod_list.php deleted file mode 100644 index 3333286..0000000 --- a/newchat/nimda/mod_list.php +++ /dev/null @@ -1,42 +0,0 @@ - -
-

Moderators list

\n"; -if ($long_life_data_engine == "mysql") { - include_once($ld_engine_path."inc_connect.php"); -} - -if ($long_life_data_engine == "files") { - $fp = fopen($user_data_file, "r"); - flock($fp, LOCK_EX); - while ($data = fgets($fp, 4096)) { - $user = str_replace("\r","",str_replace("\n","",$data)); - list($t_id, $t_nickname, $t_password, $t_class,$t_canon, $t_mail) = explode("\t",$user); - { - $t_nicknam = $t_nickname; - if ($t_class>0 or $t_class == "admin") { - echo "$t_nicknam
\n"; - } - } - } - flock($fp, LOCK_UN); - fclose($fp); -} else if ($long_life_data_engine == "mysql") { - $m_result = mysql_query("select id, nick from ".$mysql_table_prefix."users where user_class>0") or die("database error
".mysql_error()); - while(list($t_id,$t_nickname) = mysql_fetch_array($m_result, MYSQL_NUM)) { - echo "$t_nickname
\n"; - } - mysql_free_result($m_result); -} - -?> - - -
to add a new moderator, make a search for user (form in the left frame) and then click on the nick in the search results to update privileges.
- - diff --git a/newchat/nimda/moderators.php b/newchat/nimda/moderators.php deleted file mode 100644 index ee96f50..0000000 --- a/newchat/nimda/moderators.php +++ /dev/null @@ -1,85 +0,0 @@ - -
- - - -
-user_class == "--admin") $current_user->user_class = ADM_BAN; -if ($operation=="update"||$operation == "update_htmlnick"||$operation == "update_vip") { - if ($operation=="update") $current_user->user_class = $class_to_set; - else if($operation == "update_htmlnick") { - set_variable("htmlnick"); - $current_user->htmlnick = $htmlnick; - }else if($operation == "update_vip") { - set_variable("vip"); - $current_user->user_class = ($vip!="")? _VIP_:0; - } - $info_message = ""; - include($ld_engine_path."user_info_update.php"); -} -?> -
- - - -user nickname;?> has rights:
- -"; - echo ""; - -} -?> -
".$w_adm_level[$adm]."user_class & $adm && $current_user->user_class>0) echo "checked"; - echo ">
-
- -
-
- - - -Htmlnick: -
- -
-
- - - -user_class == _VIP_) echo "checked";?>> is VIP (note! VIP person cannot have moderator rights!) -
- -
-
- - diff --git a/newchat/nimda/navi.php b/newchat/nimda/navi.php deleted file mode 100644 index be77400..0000000 --- a/newchat/nimda/navi.php +++ /dev/null @@ -1,63 +0,0 @@ - - - - - -
- -
-
-User search:
-
-
-Admin tools:
-
-
-Other tools:
-
- -
-Configuration:
-
- - -
- - diff --git a/newchat/nimda/rooms.php b/newchat/nimda/rooms.php deleted file mode 100644 index 09de469..0000000 --- a/newchat/nimda/rooms.php +++ /dev/null @@ -1,91 +0,0 @@ -=0) - room_update($r_id,$r_title,$r_topic,$r_design,$r_bot,"",$r_pics, $r_premoder); - else - room_add($r_title,$r_topic,$r_design,$r_bot,"","",$r_pics, $r_premoder); - } else - if ($r_id>0) - room_delete($r_id); - } - echo "
Rooms data has been successfully updated!


"; -} -echo "
Rooms Administration
"; -echo ""; -echo "\n". - "". - "". - "\n"; -include($ld_engine_path."rooms_get_list.php"); -$all_designes = array(); -$handle = opendir("../designes/"); -while (false !== ($tmp_file = readdir($handle))) - if ($tmp_file!="." and $tmp_file != "..") - $all_designes[] = $tmp_file; -closedir($handle); -for ($rg_i=0;$rg_i"; - echo "\n"; - echo "\n"; - echo ""; - echo ""; - echo ""; - echo "\n"; -} - - echo ""; - echo "\n"; - echo "\n"; - echo ""; - echo ""; - echo "\n"; -echo "
Rooms NameTopicPredefined design*Bot nameEnable image postingsPre-moderated room**
new:
"; -echo "
\n"; -?> -*Predefined design -- if you use predefined design, all users in particular room will use this skin.
-If you want to allow users to choose the skin, set the 'predefined design' to NONE! -

-**In "Pre-moderated" room all messages which were sent by ordinary users -(not moderators) are placed in the "waiting" list until some of moderators will approve or decline it. - diff --git a/newchat/nimda/search.php b/newchat/nimda/search.php deleted file mode 100644 index 9d20754..0000000 --- a/newchat/nimda/search.php +++ /dev/null @@ -1,74 +0,0 @@ - -
-
- -

".$w_search_results."

\n"; - echo ""; - $users = array(); - $users_to_show = array(); - if ($long_life_data_engine == "files") { - $t_id = 0; - $ttt = str_replace("\\*","([".$nick_available_chars."]+)",quotemeta($tstInfoUser)); - - $fp = fopen($user_data_file, "r"); - flock($fp, LOCK_EX); - fseek($fp,0); - $ii=0; - while ($data = fgets($fp, 4096)) - { - $user = str_replace("\r","",str_replace("\n","",$data)); - list($t_id, $t_nickname, $t_password, $t_class,$t_canon,$t_mail) = explode("\t",$user); - if (eregi($ttt,$t_nickname)) $users_to_show[] = $user; - } - flock($fp, LOCK_UN); - fclose($fp); - - $total_checkboxes = 0; - if (!isset($inactiv)) $inactiv = 0; - if ($inactiv) { - for ($i=0;$ilast_visit < (my_time()-$inactiv*2592000) and $t_user->registered_at < (my_time()-$inactiv*2592000)){ - $total_checkboxes++; - echo "\n"; - } - } - } - else { - $total_checkboxes = count($users_to_show); - for ($i=0;$i\n"; - } - } - }//end of files - if ($long_life_data_engine == "mysql") { - if (!isset($inactiv)) $inactiv = 0; - else $inactiv = my_time()-$inactiv*2592000; - $m_result = mysql_query("select * from ".$mysql_table_prefix."users where last_visit<$inactiv and nick like '%".str_replace("*","%",addslashes($tstInfoUser))."%'") or die("database error
".mysql_error()); - $total_checkboxes = mysql_num_rows($m_result); - while($row = mysql_fetch_array($m_result, MYSQL_NUM)) - echo "\n"; - mysql_free_result($m_result); - }//end of mysql - -} -?> -
click username to view user details
(or change user level)
check to delete user
$t_nickname    
$t_nickname    
".$row[1]."    
-Check/Uncheck All: -

-
-
- - \ No newline at end of file diff --git a/newchat/nimda/sessions.php b/newchat/nimda/sessions.php deleted file mode 100644 index c0f80f9..0000000 --- a/newchat/nimda/sessions.php +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/newchat/nimda/statistic.php b/newchat/nimda/statistic.php deleted file mode 100644 index 6ffc146..0000000 --- a/newchat/nimda/statistic.php +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - Untitled - - - - - - -Statistic page, refresh, check statistic for yesterday
-Users today:
- -
-messages per minute today:
-blue is 'normal' messages
-green is 'private' messages
-red is total (normal and private) messages
- - -Statistic page, refresh, check statistic for today
-Users yesterday
- -
-messages per minute yesterday:
- - - - \ No newline at end of file diff --git a/newchat/nimda/update_statistic.php b/newchat/nimda/update_statistic.php deleted file mode 100644 index 71b2e21..0000000 --- a/newchat/nimda/update_statistic.php +++ /dev/null @@ -1,279 +0,0 @@ -$max_users)$max_users = $ttt; - $users_count++; -} - -$now = my_time(); -$users_to_show[$users_count]["time"] = $now; -$users_to_show[$users_count]["num"] = count($users); -if($users_to_show[$users_count]["num"]>$max_users) $max_users = $users_to_show[$users_count]["num"]; - -fwrite($fp,$now."\t".count($users)."\n"); -fflush($fp); -flock($fp, LOCK_UN); -fclose($fp); - -$start_time = mktime(0,0,0,date("m",$now),date("d",$now),date("Y",$now)); - - - -$users_count = 0; -$mess_count = 0; -$im = ImageCreate(700,320); -$backgr = imageColorAllocate($im, 255,255,255); -$line_color = imageColorAllocate($im, 0,0,192); -$axes_color = imageColorAllocate($im, 0,0,0); -$dash_color = imageColorAllocate($im, 192,192,192); -$middle_color = imageColorAllocate($im, 255,0,0); -$style = array ($dash_color, $dash_color, $dash_color, $dash_color, $backgr,$backgr); -imagesetstyle ($im, $style); - - -$im2 = ImageCreate(700,320); -$backgr2 = imageColorAllocate($im2, 255,255,255); -$axes_color2 = imageColorAllocate($im2, 0,0,0); -$dash_color2 = imageColorAllocate($im2, 192,192,192); -$total_color = imageColorAllocate($im2, 255,0,0); -$normal_color = imageColorAllocate($im2, 0,0,255); -$private_color = imageColorAllocate($im2, 0,255,0); -$style2 = array ($dash_color2, $dash_color2, $dash_color2, $dash_color2, $backgr2,$backgr2); -imagesetstyle ($im2, $style2); - -$prev_time = $start_time; -$last_time = 0; -//first record has data for messages sice 23.58 till 24.00 yesterday -$mess_count = 1; - -for ($i=300;$i<86401;$i+=300) { - $records_in_period = 0; - $priv_in_period = 0; - $normal_in_period = 0; - while($mess_to_show[$mess_count]["time"]<($start_time+$i) && $mess_count0 && $time_period >0) { - $normal_to_show = round($normal_in_period/$time_period*60*5)/5; - $private_to_show = round($priv_in_period/$time_period*60*5)/5; - $total_to_show = $normal_to_show+$private_to_show; - if ($total_to_show>$max_mess)$max_mess = $total_to_show; - } - -} -//$mess_count = 0; -//first record has data for messages sice 23.58 till 24.00 yesterday -$mess_count = 1; - -$prev_time = $start_time; -$total_messages = 0; -$total_messages_divider = 0; -$total_users = 0; -$total_users_divider = 0; -for ($i=300;$i<86401;$i+=300) { - $records_in_period = 0; - $total_in_period = 0; - while($users_to_show[$users_count]["time"]<($start_time+$i) && $users_count0) { - $to_show = round($total_in_period/$records_in_period); - $total_users += $to_show; - $total_users_divider++; - imageRectangle($im, ($i/150)+53, 290, ($i/150)+53, 290-round($to_show/$max_users*280), $line_color); - } - $records_in_period = 0; - $priv_in_period = 0; - $normal_in_period = 0; - while($mess_to_show[$mess_count]["time"]<($start_time+$i) && $mess_count0 && $time_period >0) { - - $normal_to_show = round($normal_in_period/$time_period*60*5)/5; - $private_to_show = round($priv_in_period/$time_period*60*5)/5; - $total_to_show = $normal_to_show+$private_to_show; - $total_messages += $total_to_show; - $total_messages_divider++; - imageRectangle($im2, ($i/150)+52, 290, ($i/150)+53, 290-round($total_to_show/$max_mess*280), $total_color); - if ($normal_to_show>=$private_to_show) { - - imageRectangle($im2, ($i/150)+52, 290, ($i/150)+53, 290-round($normal_to_show/$max_mess*280), $normal_color); - imageRectangle($im2, ($i/150)+52, 290, ($i/150)+53, 290-round($private_to_show/$max_mess*280), $private_color); - } - else { - imageRectangle($im2, ($i/150)+52, 290, ($i/150)+53, 290-round($private_to_show/$max_mess*280), $private_color); - imageRectangle($im2, ($i/150)+52, 290, ($i/150)+53, 290-round($normal_to_show/$max_mess*280), $normal_color); - } - } -} - -for ($i=0;$i<25;$i++) { - imageLine($im, 54+24*$i, 10, 54+24*$i, 290, IMG_COLOR_STYLED); - imagestring ($im, 3, 50+24*$i, 290, $i, $axes_color); -} - -$pixels_per_user = 280/$max_users; -if ($pixels_per_user>20) - $users_increment = $pixels_per_user; -else { - $users_increment = floor(40/$pixels_per_user)*$pixels_per_user ; - $us_step = $users_increment/$pixels_per_user; - $us_step = floor($us_step / 10 ) * 10; - if ($us_step == 0) $us_step = 5; - $users_increment = $us_step*$pixels_per_user; -} - -for ($i=$users_increment;$i<280;$i+=$users_increment) { - imageLine($im, 54, 290-round($i), 630, 290-round($i), IMG_COLOR_STYLED); - imagestring ($im, 3, 30, 285-round($i), $i/$pixels_per_user, $axes_color); -} - - - - -$pixels_per_mess = 280/$max_mess; -if ($pixels_per_mess>20) - $mess_increment = $pixels_per_mess; -else { - $mess_increment = floor(40/$pixels_per_mess)*$pixels_per_mess; - $me_step = $mess_increment/$pixels_per_mess; - $me_step = floor($me_step/10) * 10; - if ($me_step == 0) $me_step = 5; - $mess_increment = $me_step*$pixels_per_mess; -} - -for ($i=$mess_increment;$i<280;$i+=$mess_increment) { - imageLine($im2, 54, 290-round($i), 630, 290-round($i), IMG_COLOR_STYLED); - imagestring ($im2, 3, 30, 285-round($i), $i/$pixels_per_mess, $axes_color2); -} - -for ($i=0;$i<25;$i++) { - imageLine($im2, 54+24*$i, 10, 54+24*$i, 290, IMG_COLOR_STYLED); - imagestring ($im2, 3, 50+24*$i, 290, $i, $axes_color2); -} - -$style = array ($middle_color, $middle_color, $middle_color, $middle_color, $backgr, $middle_color, $backgr); -imagesetstyle ($im, $style); - -$style2 = array ($total_color, $total_color, $total_color, $total_color, $backgr, $total_color, $backgr); -imagesetstyle ($im2, $style2); - -if ($total_messages_divider>0) { - $aver_y = 290-round($total_messages/$total_messages_divider/$max_mess*280); - imageLine($im2, 54, $aver_y, 630, $aver_y, IMG_COLOR_STYLED); - imageString($im2, 4, 636, $aver_y-23, "average:", $total_color); - imageString($im2, 4, 636, $aver_y+5, "mess/min", $total_color); - imageString($im2, 5, 640, $aver_y-8, round($total_messages/$total_messages_divider*100)/100, $total_color); - -} -if ($total_users_divider>0) { - imageLine($im, 54, 290-round($total_users/$total_users_divider/$max_users*280), 630, 290-round($total_users/$total_users_divider/$max_users*280), IMG_COLOR_STYLED); - - $aver_y = 290-round($total_users/$total_users_divider/$max_users*280); - imageLine($im, 54, $aver_y, 630, $aver_y, IMG_COLOR_STYLED); - imageString($im, 4, 636, $aver_y-23, "average:", $middle_color); - imageString($im, 4, 636, $aver_y+5, "users", $middle_color); - imageString($im, 5, 640, $aver_y-8, round($total_users/$total_users_divider*100)/100, $middle_color); - -} - - -imageRectangle($im,53,10,631,290,$axes_color); -imageRectangle($im2,53,10,631,290,$axes_color2); - -imagepng($im,$data_path."statistic/".$stat_file_prefix."_users.png"); -imageDestroy($im); - -imagepng($im2,$data_path."statistic/".$stat_file_prefix."_mess.png"); -imageDestroy($im2); -?> diff --git a/newchat/nimda/user_delete.php b/newchat/nimda/user_delete.php deleted file mode 100644 index 2f4a38e..0000000 --- a/newchat/nimda/user_delete.php +++ /dev/null @@ -1,23 +0,0 @@ -"; - @unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".big.jpg"); - @unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".big.gif"); - @unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".jpg"); - @unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".gif"); - @unlink($data_path."board/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".msg"); - @unlink($data_path."users/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".user"); - } -} - -?> -
User(s) has been deleted!
- \ No newline at end of file diff --git a/newchat/nimda/users_statistic.php b/newchat/nimda/users_statistic.php deleted file mode 100644 index f0a495a..0000000 --- a/newchat/nimda/users_statistic.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/newchat/nimda/welcome.php b/newchat/nimda/welcome.php deleted file mode 100644 index 3e71e9c..0000000 --- a/newchat/nimda/welcome.php +++ /dev/null @@ -1,13 +0,0 @@ - -
-
-

-Welcome to admin zone!

-Please select something
from menu in left frame

Problems???
You may post your question here:

Voodoo Chat Forum
-
- -
- - diff --git a/newchat/password_reminder.php b/newchat/password_reminder.php deleted file mode 100644 index 1509b07..0000000 --- a/newchat/password_reminder.php +++ /dev/null @@ -1,36 +0,0 @@ -".$er."

"; - else { - if ($user_mail == "") - $html_to_out .= "".$w_pr_noemail."

"; - else { - if (mail($user_mail, $w_pr_title, - str_replace("*", $look_for, str_replace("~", $w_title, str_replace("#",$chat_url."change_password.php?key=".$key,$w_pr_mailtext))), - "From: ".str_replace("\\@","@", $admin_mail)."\n". - "Content-type: text/plain; ".(($charset!="") ? "charset=".$charset:"" )."\n". - "Content-Transfer-Encoding: 8bit" - )) - $html_to_out .= "".$w_regmail_sent."

"; - else $html_to_out .= "".$er."

"; - } - } -} - -$html_to_out .= "".$w_pr_title." -
-".$w_enter_login_nick.":
- -
"; - -require($file_path."designes/".$default_design."/output_page.php"); -?> \ No newline at end of file diff --git a/newchat/photos/0/123.big.jpg b/newchat/photos/0/123.big.jpg deleted file mode 100644 index 50684c4..0000000 Binary files a/newchat/photos/0/123.big.jpg and /dev/null differ diff --git a/newchat/photos/0/164.big.jpg b/newchat/photos/0/164.big.jpg deleted file mode 100644 index 4fcbd49..0000000 Binary files a/newchat/photos/0/164.big.jpg and /dev/null differ diff --git a/newchat/photos/0/173.big.jpg b/newchat/photos/0/173.big.jpg deleted file mode 100644 index 698cb4f..0000000 Binary files a/newchat/photos/0/173.big.jpg and /dev/null differ diff --git a/newchat/photos/0/192.big.jpg b/newchat/photos/0/192.big.jpg deleted file mode 100644 index 64d98c8..0000000 Binary files a/newchat/photos/0/192.big.jpg and /dev/null differ diff --git a/newchat/photos/0/3.big.jpg b/newchat/photos/0/3.big.jpg deleted file mode 100644 index 517e3ac..0000000 Binary files a/newchat/photos/0/3.big.jpg and /dev/null differ diff --git a/newchat/photos/0/338.big.jpg b/newchat/photos/0/338.big.jpg deleted file mode 100644 index a451db7..0000000 Binary files a/newchat/photos/0/338.big.jpg and /dev/null differ diff --git a/newchat/photos/0/358.big.jpg b/newchat/photos/0/358.big.jpg deleted file mode 100644 index 1300d21..0000000 Binary files a/newchat/photos/0/358.big.jpg and /dev/null differ diff --git a/newchat/photos/0/376.big.jpg b/newchat/photos/0/376.big.jpg deleted file mode 100644 index edbec8e..0000000 Binary files a/newchat/photos/0/376.big.jpg and /dev/null differ diff --git a/newchat/photos/0/377.big.jpg b/newchat/photos/0/377.big.jpg deleted file mode 100644 index 2891a15..0000000 Binary files a/newchat/photos/0/377.big.jpg and /dev/null differ diff --git a/newchat/photos/0/378.big.jpg b/newchat/photos/0/378.big.jpg deleted file mode 100644 index d5a1845..0000000 Binary files a/newchat/photos/0/378.big.jpg and /dev/null differ diff --git a/newchat/photos/0/380.big.jpg b/newchat/photos/0/380.big.jpg deleted file mode 100644 index 32a4e7b..0000000 Binary files a/newchat/photos/0/380.big.jpg and /dev/null differ diff --git a/newchat/photos/0/439.big.jpg b/newchat/photos/0/439.big.jpg deleted file mode 100644 index 3a770dc..0000000 Binary files a/newchat/photos/0/439.big.jpg and /dev/null differ diff --git a/newchat/photos/0/481.big.jpg b/newchat/photos/0/481.big.jpg deleted file mode 100644 index 8aeca2d..0000000 Binary files a/newchat/photos/0/481.big.jpg and /dev/null differ diff --git a/newchat/photos/0/535.big.jpg b/newchat/photos/0/535.big.jpg deleted file mode 100644 index 85215a7..0000000 Binary files a/newchat/photos/0/535.big.jpg and /dev/null differ diff --git a/newchat/photos/0/6.big.jpg b/newchat/photos/0/6.big.jpg deleted file mode 100644 index 8e79899..0000000 Binary files a/newchat/photos/0/6.big.jpg and /dev/null differ diff --git a/newchat/photos/0/607.big.jpg b/newchat/photos/0/607.big.jpg deleted file mode 100644 index 969410d..0000000 Binary files a/newchat/photos/0/607.big.jpg and /dev/null differ diff --git a/newchat/photos/0/608.big.jpg b/newchat/photos/0/608.big.jpg deleted file mode 100644 index c232d9d..0000000 Binary files a/newchat/photos/0/608.big.jpg and /dev/null differ diff --git a/newchat/photos/0/647.big.jpg b/newchat/photos/0/647.big.jpg deleted file mode 100644 index acb16b9..0000000 Binary files a/newchat/photos/0/647.big.jpg and /dev/null differ diff --git a/newchat/photos/0/650.big.jpg b/newchat/photos/0/650.big.jpg deleted file mode 100644 index 523da6f..0000000 Binary files a/newchat/photos/0/650.big.jpg and /dev/null differ diff --git a/newchat/photos/0/669.big.jpg b/newchat/photos/0/669.big.jpg deleted file mode 100644 index 5d8ca97..0000000 Binary files a/newchat/photos/0/669.big.jpg and /dev/null differ diff --git a/newchat/photos/0/673.big.jpg b/newchat/photos/0/673.big.jpg deleted file mode 100644 index ab45cd0..0000000 Binary files a/newchat/photos/0/673.big.jpg and /dev/null differ diff --git a/newchat/photos/0/717.big.jpg b/newchat/photos/0/717.big.jpg deleted file mode 100644 index 5780aed..0000000 Binary files a/newchat/photos/0/717.big.jpg and /dev/null differ diff --git a/newchat/photos/0/743.big.jpg b/newchat/photos/0/743.big.jpg deleted file mode 100644 index fef54e2..0000000 Binary files a/newchat/photos/0/743.big.jpg and /dev/null differ diff --git a/newchat/photos/0/76.big.jpg b/newchat/photos/0/76.big.jpg deleted file mode 100644 index 5d8ea3c..0000000 Binary files a/newchat/photos/0/76.big.jpg and /dev/null differ diff --git a/newchat/photos/0/819.big.jpg b/newchat/photos/0/819.big.jpg deleted file mode 100644 index b61cafc..0000000 Binary files a/newchat/photos/0/819.big.jpg and /dev/null differ diff --git a/newchat/photos/0/825.big.jpg b/newchat/photos/0/825.big.jpg deleted file mode 100644 index 260d056..0000000 Binary files a/newchat/photos/0/825.big.jpg and /dev/null differ diff --git a/newchat/photos/0/848.big.jpg b/newchat/photos/0/848.big.jpg deleted file mode 100644 index d74570e..0000000 Binary files a/newchat/photos/0/848.big.jpg and /dev/null differ diff --git a/newchat/photos/0/862.big.jpg b/newchat/photos/0/862.big.jpg deleted file mode 100644 index 45b622d..0000000 Binary files a/newchat/photos/0/862.big.jpg and /dev/null differ diff --git a/newchat/photos/0/886.big.jpg b/newchat/photos/0/886.big.jpg deleted file mode 100644 index ec875a8..0000000 Binary files a/newchat/photos/0/886.big.jpg and /dev/null differ diff --git a/newchat/photos/0/890.big.jpg b/newchat/photos/0/890.big.jpg deleted file mode 100644 index 5b2d603..0000000 Binary files a/newchat/photos/0/890.big.jpg and /dev/null differ diff --git a/newchat/photos/1/2725.big.jpg b/newchat/photos/1/2725.big.jpg deleted file mode 100644 index 388b50f..0000000 Binary files a/newchat/photos/1/2725.big.jpg and /dev/null differ diff --git a/newchat/photos/1/3361.big.jpg b/newchat/photos/1/3361.big.jpg deleted file mode 100644 index 3451eb7..0000000 Binary files a/newchat/photos/1/3361.big.jpg and /dev/null differ diff --git a/newchat/photos/1/3663.big.jpg b/newchat/photos/1/3663.big.jpg deleted file mode 100644 index 73b1ba1..0000000 Binary files a/newchat/photos/1/3663.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7428.big.jpg b/newchat/photos/3/7428.big.jpg deleted file mode 100644 index 5c9815b..0000000 Binary files a/newchat/photos/3/7428.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7892.big.jpg b/newchat/photos/3/7892.big.jpg deleted file mode 100644 index f0e648c..0000000 Binary files a/newchat/photos/3/7892.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7895.big.jpg b/newchat/photos/3/7895.big.jpg deleted file mode 100644 index b3390ce..0000000 Binary files a/newchat/photos/3/7895.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7920.big.jpg b/newchat/photos/3/7920.big.jpg deleted file mode 100644 index 8af9e2f..0000000 Binary files a/newchat/photos/3/7920.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7939.big.jpg b/newchat/photos/3/7939.big.jpg deleted file mode 100644 index 9275351..0000000 Binary files a/newchat/photos/3/7939.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7940.big.jpg b/newchat/photos/3/7940.big.jpg deleted file mode 100644 index 993843d..0000000 Binary files a/newchat/photos/3/7940.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7959.big.jpg b/newchat/photos/3/7959.big.jpg deleted file mode 100644 index d8931d3..0000000 Binary files a/newchat/photos/3/7959.big.jpg and /dev/null differ diff --git a/newchat/photos/3/7959jpg b/newchat/photos/3/7959jpg deleted file mode 100644 index 71a167b..0000000 Binary files a/newchat/photos/3/7959jpg and /dev/null differ diff --git a/newchat/photos/3/7962.big.jpg b/newchat/photos/3/7962.big.jpg deleted file mode 100644 index 24b2aa7..0000000 Binary files a/newchat/photos/3/7962.big.jpg and /dev/null differ diff --git a/newchat/photos/4/8001.big.jpg b/newchat/photos/4/8001.big.jpg deleted file mode 100644 index ce1f465..0000000 Binary files a/newchat/photos/4/8001.big.jpg and /dev/null differ diff --git a/newchat/photos/renamer.php b/newchat/photos/renamer.php deleted file mode 100644 index 3e997bf..0000000 --- a/newchat/photos/renamer.php +++ /dev/null @@ -1,20 +0,0 @@ - - -\n"; - flush(); -} - -?> - - \ No newline at end of file diff --git a/newchat/pictures.php b/newchat/pictures.php deleted file mode 100644 index 62adf50..0000000 --- a/newchat/pictures.php +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/newchat/registration_activate.php b/newchat/registration_activate.php deleted file mode 100644 index 5e74732..0000000 --- a/newchat/registration_activate.php +++ /dev/null @@ -1,13 +0,0 @@ -".$w_login_button.""; -else - $html_to_out = $w_regmail_no_code; -require($file_path."designes/".$default_design."/output_page.php"); - -?> \ No newline at end of file diff --git a/newchat/registration_add.php b/newchat/registration_add.php deleted file mode 100644 index bfdc3ef..0000000 --- a/newchat/registration_add.php +++ /dev/null @@ -1,91 +0,0 @@ -".$w_try_again.""; - include($file_path."designes/".$design."/error_page.php"); - exit; - } -} -/* -if (get_magic_quotes_gpc()) -{ - $new_user_name = stripslashes($new_user_name); -}*/ -$passwd1 = str_replace("\t","",$passwd1); -$passwd2 = str_replace("\t","",$passwd2); - -if ((strlen($new_user_name)<$nick_min_length) or (strlen($new_user_name)>$nick_max_length)) { - $error_text ="$w_incorrect_nick
$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if (ereg("[^".$nick_available_chars."]", $new_user_name)) { - $error_text ="$w_incorrect_nick
$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if (strlen($passwd1)<1) { - $error_text = $w_enter_password."$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if ($passwd1 != $passwd2) { - $error_text = $w_password_mismatch."$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if ($new_user_name != $user_name ) { - //probably user tries to register nickname which is used in the moment by someone else - // user_name == "" in case it's mailreg or registration is - $uic = count($users); - $cw = to_canon_nick($new_user_name); - for ($i = 0; $i<$uic; $i++) { - $temp_user = explode("\t", $users[$i]); - if ($temp_user[12] == $cw) { - $error_text = $w_already_used."
$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - } -} -$passwd1 = md5($passwd1); -$passwd2 = $passwd2; -$new_user_mail = ""; -if ($registration_mailconfirm) { - set_variable("new_user_mail"); - include($ld_engine_path."registration_mail.php"); - list($usec, $sec) = explode(' ', microtime()); - srand( (float) $sec + ((float) $usec * 100000)); - - $regkey = md5(uniqid(rand())); - - regmail_add($new_user_name, $passwd1, $new_user_mail, $regkey); - if (!mail($new_user_mail, "registration at ".$w_title, - str_replace("~", $new_user_name, str_replace("*", $w_title, str_replace("#",$chat_url."registration_activate.php?regkey=".$regkey, $w_regmail_body))), - "From: ".str_replace("\\@", "@", $admin_mail)."\n". - "Content-type: text/plain; ".(($charset!="") ? "charset=".$charset:"" )."\n". - "Content-Transfer-Encoding: 8bit" - )) - trigger_error("Cannot send mail with activation code", E_USER_ERROR); - $html_to_out = $w_regmail_sent; - require($file_path."designes/".$design."/output_page.php"); - exit; -} -include($ld_engine_path."registration_add.php"); -if ($club_mode) { - $html_to_out = "
".str_replace("~", "".$new_user_name."", $w_succesfull_reg)."
".$w_login_button."
"; - require($file_path."designes/".$design."/output_page.php"); -}else { - include($file_path."designes/".$design."/registration_add.php"); -} -?> \ No newline at end of file diff --git a/newchat/registration_form.php b/newchat/registration_form.php deleted file mode 100644 index 46b9bc3..0000000 --- a/newchat/registration_form.php +++ /dev/null @@ -1,20 +0,0 @@ - \ No newline at end of file diff --git a/newchat/rools.php b/newchat/rools.php deleted file mode 100644 index 55ec056..0000000 --- a/newchat/rools.php +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/newchat/rooms.php b/newchat/rooms.php deleted file mode 100644 index e4fe669..0000000 --- a/newchat/rooms.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/newchat/sender.php b/newchat/sender.php deleted file mode 100644 index 75c710d..0000000 --- a/newchat/sender.php +++ /dev/null @@ -1,474 +0,0 @@ - $max_x || $height > $max_y) { - $prop_x = $width / $max_x; - $prop_y = $height / $max_y; - $prop = ($prop_x>$prop_y)? $prop_x: $prop_y; - $width = round($width/$prop); - $height = round($height/$prop); - } - return "";*/ - - //by default, just return img tag to original image - return ""; -} - -function check_image($filename, $image_params) { - global $pics_maxh, $pics_maxw, $w_too_big_photo_height, $w_too_big_photo_width, $w_invalid_image; - $error = 0; - $error_text = ""; - if ($image_params[2] <1 or $image_params[2]>3) { - //not an image - $error_text .= $w_invalid_image." code: ".$image_params[2]; - $error = 1; - @unlink($filename); - } else if ($image_params[0]<1 or $image_params[0] > $pics_maxw) { - $error_text .= str_replace("~", $pics_maxw, - str_replace("*", $image_params[0], $w_too_big_photo_width)); - $error = 1; - @unlink($filename); - } else if ($image_params[1]<1 or $image_params[1] > $pics_maxh) { - $error_text .= str_replace("~", $pics_maxh, - str_replace("*",$image_params[1], $w_too_big_photo_height)); - $error = 1; - @unlink($filename); - } - return array($error, $error_text); -} - -//remove all uploaded images which is older than 2 hours. -function remove_old_images() { - global $file_path; - if ($pic_dir = opendir($file_path."up/")) { - while (false !== ($file = readdir($pic_dir))) { - $f_und = strpos($file, "_"); - $s_und = strpos($file, "_", $f_und+1); - $dot = strpos($file, "."); - if ($s_und>0 && $dot>$s_und) { - $creation_time = intval(substr($file, $s_und+1, $dot-$s_und-1)); - if ($creation_time >0 && $creation_time= 4) { - if ( substr($mesg,$i-4,4) == '>') { - $brows = "mad"; - $alt = ">"; /*Orig: $alt = "]";*/ - } - elseif ( substr($mesg,$i-4,4) == '<') { - $brows = "upset"; - $alt = "<"; /*Orig = $alt="[";*/ - } - } - $prefix = ""; - if ($mesg[$i] == ';') { - $prefix = "wink-"; - $alt .= ";"; - } - else { $alt .= ":"; } - $i++; - if ($mesg[$i] == '^' || $mesg[$i] == '-' || $mesg[$i] == '\'') { - $i++; $alt.="-"; } - $mouth = ""; - if ($mesg[$i] == ')' || $mesg[$i] == 'D' || $mesg[$i] == ']') { - $mouth = "smile"; $alt .= ")"; } - elseif ($mesg[$i] == '(') { - $mouth ="frown"; $alt .= "(";} - elseif ($mesg[$i] == '|') { - $mouth = "shy"; $alt .= "|";} - elseif ($mesg[$i] == 'P' || $mesg[$i] == 'p' || $mesg[$i] == 'Р' || $mesg[$i] == 'р') { - $mouth = "tongue"; $alt .= "P";} - elseif ($mesg[$i] == 'O' || $mesg[$i] == 'o' || $mesg[$i] == 'О' || $mesg[$i] == 'о') { - $mouth = "amazed"; $alt .= "o";} - if ($total_pics<$max_images) { - if (strlen($mouth) != 0) { - $ok = 0; - $face = $prefix . $mouth . "-" . $brows; - $face = "\"$alt\""; - - /* $temp[$l] = '\0'; */ - if (strcmp($brows, "normal") != 0) { - $l = strlen ($temp) -4; - $temp = substr($temp,0,$l); - } - $temp .= $face; - $total_pics++; - $l = strlen($temp); - } - else { - $i = $oi; - $ok = 1; - } - } - else {$ok = 1;$i = $oi;$l = strlen($temp);} - } - if ($ok == 1) { - $temp .= $mesg[$i]; - $l++; - } - } - return $temp; -} - -function addURLS($str) { - global $chat_url; - $str2 = $str; - if (function_exists('preg_replace')){ - $str2 = preg_replace("/(?)((http|https|ftp):\/\/[\w?=&.\/-~#-_]+)/e", - "'\\1'", - $str); - $str2 = preg_replace("/((?)(?<=(>|\s))[\w_-]+@[\w_.-]+[\w]+)/","\\1",$str2); - } - return $str2; -} - -function check_uppercase($mesg) { - global $max_cap_letters; - if ($max_cap_letters) { - $l = strlen($mesg); - $t_u = 0; - for ($i=0;$i<$l;$i++) { - $ch = substr($mesg,$i,1); - if ($ch == strtoupper($ch) && $ch != strtolower($ch)) - $t_u++; - if ($t_u > $max_cap_letters) { - $mesg = strtolower($mesg); - break; - } - } - } - return $mesg; -} - -function mesg2html($m_text) { - global $imgPhrase,$numOfImgPhrases,$mesg,$total_pics,$imgPhrase,$imgURL,$max_images; - $m_text = addFaces(wordwrap($m_text, 75," ", 1)); - if ( substr_count($mesg,"**n") <7) - $m_text = str_replace("**n","
",$m_text); - $m_text = str_replace("

","
", $m_text); - for ($j=0; $j<$numOfImgPhrases; $j++) { - $total_pics+=substr_count($mesg,$imgPhrase[$j]); - if ($max_images >= $total_pics) - $m_text = str_replace($imgPhrase[$j], $imgURL[$j], $m_text); - } - return $m_text; -} - -//end of functions - - -if ($user_color=="") {$user_color=$default_color;} -$user_color = intval($user_color); -if (($user_color < 0) or ($user_color >= count($registered_colors))) {$user_color=$default_color;} -SetCookie("c_user_color", $user_color, time() + 2678400); - -$error_text = ""; -$error = 0; -$total_pics = 0; -$messages_to_show = array(); -if (!isset($mesg)){$mesg = "";} -$mesg = str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ", $mesg))); - - - - -if ($mesg !="") { - $converts = file($converts_file); - $numOfImgPhrases = count($converts); - for ($i=0;$i<$numOfImgPhrases;$i++) - if (strpos($converts[$i],"\t")) - list ($imgPhrase[$i], $imgURL[$i]) = explode("\t",trim($converts[$i])); - - $is_image = 0; - $my_imtag = ""; - if (function_exists('preg_replace')){ - $mesg = preg_replace("/[0-9a-f]{32}/", "1234", $mesg); - - if (preg_match('!http:\/\/[\w?=&.\/-~#-_]+((\.jpg)|(\.jpeg)|(.gif)|(.png))!i', - trim($mesg), $mmm) && - $ar_rooms[intval($room_id)][ROOM_ALLOWPICS] == 1 && $allow_pics) { - - $image = ""; - $parsed = pathinfo(trim($mmm[0])); - $img_ext = strtolower($parsed["extension"]); - if (in_array($img_ext, array("jpg", "jpeg", "jpe", "gif", "png"))) { - //downloading image - $im_h = fopen(trim($mmm[0]), "rb"); - if (!$im_h) { - $error_text = $w_cannot_download; - $error = 1; - } else { - while (!feof($im_h)) { - $image .= fgets($im_h, 8192); - if (strlen($image)>$pics_maxsize) { - $error_text .= str_replace("~", $pics_maxsize, - str_replace("*", ">".strlen($image), - $w_too_big_photo)); - $error = 1; - $image = ""; - break; - } - } - fclose($im_h); - } - if ($image!="") { - $filename = str_replace(" ", "_", str_replace(".", "_", microtime())); - $fp = fopen($file_path."up/".$filename.".".$img_ext, "wb"); - fwrite($fp, $image); - fclose($fp); - @chmod($file_path."up/".$filename.".".$img_ext, 0644); - $image_params = getImageSize($file_path."up/".$filename.".".$img_ext); - list ($im_er, $im_ertext) = check_image($file_path."up/".$filename.".".$img_ext, $image_params); - if ($im_er == 1) { - $error = 1; - $error_text .= $im_ertext; - }else { - $mesg = preg_replace("!".preg_quote($mmm[0])."!","\t|IMG|\t",$mesg, 1); - $my_imtag = get_image_tag($filename.".".$img_ext. - "?".str_replace("\"","",$mmm[0]), - $image_params); - if (!$allow_priv_pics) $whisper = ""; - $is_image = 1; - } - } - } - }//end of PIC-URL in the message - }//end of preg_ function exist - - if (strlen($mesg)>512) { - $error_text .= $w_too_long."
\n"; - $error = 1; - } - - if (!$error) { - $mesg = " ".$mesg; - $mesg = check_uppercase($mesg); - $mesg = replace_badwords($mesg); - $mesg = htmlspecialchars($mesg); - $mesg = addURLS($mesg); - $mesg_parts = array(); - $mesg_parts = split("<",$mesg); - for ($i=0;$i",$mesg_parts[$i]); - $mesg_parts[$i] = $m_tag.">".mesg2html($m_text); - } - else { - $mesg_parts[$i] = mesg2html($mesg_parts[$i]); - } - } - $mesg = implode("<",$mesg_parts); - - $mesg_prefix = ""; - $mesg_postfix = ""; - if($style_b != "" && $enabled_b_style) { - $mesg_prefix .= ""; - $mesg_postfix = "".$mesg_postfix; - } - if($style_i != "" && $enabled_i_style) { - $mesg_prefix .= ""; - $mesg_postfix = "".$mesg_postfix; - } - if($style_u != "" && $enabled_u_style) { - $mesg_prefix .= ""; - $mesg_postfix = "".$mesg_postfix; - } - - if ($is_image) - $mesg = str_replace("\t|IMG|\t", $my_imtag, $mesg); - remove_old_images(); - } -} -if (isset($HTTP_POST_FILES['up_file']['name']) && $HTTP_POST_FILES['up_file']['name'] != "" && $ar_rooms[intval($room_id)][ROOM_ALLOWPICS] == 1 && $allow_pics && !$is_image){ - //picture send -form. - error_reporting(E_ALL); - $filename = str_replace(" ", "_", str_replace(".", "_", microtime())); -//it will require access to /tmp :( - - $image_sizes = getImageSize($HTTP_POST_FILES['up_file']['tmp_name']); - //by default - png :) - $img_ext = ($image_sizes[2] == 1)? "gif": - ($image_sizes[2] == 2) ? "jpg":"png"; - list ($im_er, $im_ertext) = check_image($file_path."up/".$filename.".".$img_ext, $image_sizes); - if ($im_er == 1) { - $error = 1; - $error_text .= $im_ertext; - }else { - move_uploaded_file($HTTP_POST_FILES['up_file']['tmp_name'], $file_path."up/".$filename.".".$img_ext); - @chmod($file_path."up/".$filename.".".$img_ext, 0644); - //echo "Image tag: ".htmlspecialchars(get_image_tag($filename.".".$img_ext."?".str_replace("\"","",$HTTP_POST_FILES['up_file']['name']), $image_sizes)); - $mesg = $mesg.get_image_tag($filename.".".$img_ext."?".str_replace("\"","",$HTTP_POST_FILES['up_file']['name']), $image_sizes); - if (!$allow_priv_pics) $whisper = ""; - } - -} - - - -$to_nick = ""; -$to_id = 0; -$to_session = ""; -if ($whisper != "") { - for($i=0; $i\n"; - $error = 1; - } -} -//check again for empty message -- -//for case message was just image-URL, but we cannot download image -//or we send a private message to nobody. -if (!$error && trim($mesg)!="") { - $t_color = $registered_colors[$user_color][1]; - $def_color = $registered_colors[$default_color][1]; - if (strpos($mesg, "/me ") == 1) - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>"", - MESG_FROMWOTAGS=>$user_name, - MESG_FROMSESSION=>$session, - MESG_FROMAVATAR=>$cu_array[USER_AVATAR], - MESG_FROMID=>$is_regist, - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>0, - MESG_BODY=>"" .$mesg_prefix. $user_name." ". trim(substr($mesg, 5)) .$mesg_postfix. ""); - else - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>(strlen($cu_array[USER_HTMLNICK])>0)? - $cu_array[USER_HTMLNICK] : - (($colorize_nicks) ? - "$user_name": - $user_name - ), - MESG_FROMWOTAGS=>$user_name, - MESG_FROMSESSION=>$session, - MESG_FROMAVATAR=>$cu_array[USER_AVATAR], - MESG_FROMID=>$is_regist, - MESG_TO=>$to_nick, - MESG_TOSESSION=>$to_session, - MESG_TOID=>$to_id, - MESG_BODY=>"".$mesg_prefix.trim($mesg).$mesg_postfix.""); - - $to_robot = strip_tags($mesg); - $w_rob_name = $rooms[$room_id]["bot"]; - if (!$whisper) { - include($ld_engine_path."robot_get_answers.php"); - } - if ($ar_rooms[$room_id][ROOM_PREMODER] && $cu_array[USER_CLASS] == 0 ){ - //waiting for approval from moderators - //khm.not sure what to use -- 'main engine' or 'long life data engine' - //put it into 'long data' now, because it might cause problems with shm -- i.e. not enough block size - //it also has to be stored for a long time - include_once($ld_engine_path."premoderation.php"); - premoder_add($messages_to_show); - unset($messages_to_show); - }else{ - include($engine_path."messages_put.php"); - if ($mess_stat == 1 && !$error) { - $fp = fopen($data_path."mess_stat.dat", "a+"); - flock($fp, LOCK_EX); - fseek($fp,0); - $normal_messages = intval(str_replace("\n","",@fgets($fp,1024))); - $private_messages = intval(str_replace("\n","",@fgets($fp,1024))); - if ($whisper)$private_messages++; - else $normal_messages++; - ftruncate($fp,0); - fwrite($fp,$normal_messages."\n".$private_messages); - fflush($fp); - flock($fp, LOCK_UN); - fclose($fp); - - } - } -} - -$out_users = array(); -$who_j = 0; -for ($i=0;$i diff --git a/newchat/shower.php b/newchat/shower.php deleted file mode 100644 index 59ed67c..0000000 --- a/newchat/shower.php +++ /dev/null @@ -1,65 +0,0 @@ -=0; $i--) { - if ($already_showed>=$history_size_shower) break; - $mesg_array = explode ("\t", $messages[$i], MESG_TOTALFIELDS); - if ($room == $mesg_array[MESG_ROOM]) { - $message = strip_tags($mesg_array[MESG_BODY]); - $message = str_replace("parent.voc_who_reload = 1;","","$message"); - $message = wordwrap($message, 75," ", 1); - $to_out = ""; - if ($mesg_array[MESG_TO] == "") { - $to_out = str_replace("[HOURS]",date("H",$mesg_array[MESG_TIME]),$message_format); - $to_out = str_replace("[MIN]",date("i",$mesg_array[MESG_TIME]),$to_out); - $to_out = str_replace("[SEC]",date("s",$mesg_array[MESG_TIME]),$to_out); - $to_out = str_replace("[NICK]",strip_tags($mesg_array[MESG_FROMWOTAGS]),$to_out); - $to_out = str_replace("[NICK_WO_TAGS]",strip_tags($mesg_array[MESG_FROMWOTAGS]),$to_out); - $to_out = str_replace("[MESSAGE]",$message,$to_out); - } - if ($to_out != "") { - $out_messages = $to_out."
\n". $out_messages; - $already_showed++; - } - //if ($already_showed>9) break; - } -} - - - -$out_users = ""; -$users_in_room = 0; -for ($i=0; $i\n"; - $users_in_room++; - } -} - -if(count($users) == 0) {$out_users_header = "$w_nobody_in\n";} - else { - $out_users_header = (count($room_ids)>1)? $w_in_room:$w_in_chat; - $out_users_header .= ": $users_in_room ".w_people($users_in_room).".\n"; - } - -include($file_path."designes/".$design."/shower.php"); -?> \ No newline at end of file diff --git a/newchat/tail.php b/newchat/tail.php deleted file mode 100644 index 97981c7..0000000 --- a/newchat/tail.php +++ /dev/null @@ -1,86 +0,0 @@ -"), - str_replace("[CHAT_URL]", $chat_url, - str_replace("[SKIN]", $design, - str_replace("[TOPIC]",$rooms[$room_id]["topic"],implode("",file($file_path."designes/".$design."/daemon_html_header.html"))) - ) - ) - ); - -flush(); -$start_tail_num = $cu_array[USER_TAILID]+1; -$fields_to_update = array(); -$fields_to_update[0][0] = USER_TAILID; -$fields_to_update[0][1] = $start_tail_num; -include($engine_path."user_din_data_update.php"); - -$already_showed = 0; -$total_out = ""; -$total_messages = count($messages); -//to get $last_id -list($last_id, $to_out) = form_message(0,$messages[$total_messages-1], $ignored_users); -for ($i=$total_messages-1;$i>=0;$i--) { - if ($already_showed>=$history_size) break; - list($unused, $to_out) = form_message(0,$messages[$i], $ignored_users); - if ($to_out!="") { - $already_showed++; - $total_out = $to_out.$total_out; - } -} -echo $total_out; -flush(); - -$abort_counter = 0; -while(1) { - $abort_counter++; - sleep(2); - include($engine_path."users_get_list.php"); - if (!$exists) { - echo "$w_no_user"; - exit; - } - if ($cu_array[USER_TAILID] != $start_tail_num) { - echo $w_only_one_tail; - exit; - } - include($engine_path."messages_get_list.php"); - list($last_id,$to_out) = show_messages($last_id, $messages,$ignored_users); - if ($to_out != "") { - $abort_counter = 0; - echo $to_out; - flush(); - } - if ($abort_counter>5) { - echo ""; - $abort_counter = 0; - flush(); - } - -} - - -function show_messages($last_id, $messages, $ignored_users,$start_at = 0) { - $total_messages = count($messages); - $total_out = ""; - for ($i=$start_at;$i<$total_messages;$i++) { - list($message_id, $to_out) = form_message($last_id, $messages[$i],$ignored_users); - $total_out .= $to_out; - } - return array($message_id,$total_out); -} -?> \ No newline at end of file diff --git a/newchat/up/to_remove b/newchat/up/to_remove deleted file mode 100644 index df08488..0000000 --- a/newchat/up/to_remove +++ /dev/null @@ -1,2 +0,0 @@ -just to be shure that this directory will be created by UnPack-progra -You can remove this file diff --git a/newchat/user_info.php b/newchat/user_info.php deleted file mode 100644 index 74c4b7f..0000000 --- a/newchat/user_info.php +++ /dev/null @@ -1,31 +0,0 @@ - \ No newline at end of file diff --git a/newchat/user_info_update.php b/newchat/user_info_update.php deleted file mode 100644 index 2840099..0000000 --- a/newchat/user_info_update.php +++ /dev/null @@ -1,173 +0,0 @@ -\n"; -else { - $info_message .= "$w_pas_changed.
\n"; - $current_user->password = md5($passwd1); -} -if ($showGroup1 == "on") $current_user->show_group_1=1; else $current_user->show_group_1 = 0; -if ($showGroup2 == "on") $current_user->show_group_2=1; else $current_user->show_group_2=0; -$current_user->enable_web_indicator = ($enable_web_indicator == "on") ? 1 : 0; - -$photo_base_path = $file_path."photos/".floor($is_regist/2000)."/"; - -$pic_name = "" . $is_regist . ".big.gif"; -if (!file_exists($photo_base_path.$pic_name)) { - $pic_name = "" . $is_regist . ".big.jpg"; - if (!file_exists($photo_base_path.$pic_name)) { - $pic_name = "" . $is_regist . ".big.png"; - if (!file_exists($photo_base_path.$pic_name)) $pic_name=""; - } -} -$big_picture = $pic_name; -$pic_name = "" . $is_regist . ".gif"; -if (!file_exists($photo_base_path.$pic_name)) { - $pic_name = "" . $is_regist . ".jpg"; - if (!file_exists($photo_base_path.$pic_name)) { - $pic_name = "" . $is_regist . ".png"; - if (!file_exists($photo_base_path.$pic_name)) $pic_name=""; - } -} -$small_picture = $pic_name; -$new_small_image = ($small_picture == "") ? "":floor($is_regist/2000)."/".$small_picture; - -if (($big_photo_name != "" and $big_photo_name != "none") or $big_del == "on") - if ($big_picture != "") unlink($photo_base_path.$big_picture); - -if (($small_photo_name != "" and $small_photo_name != "none") or $sm_del == "on") - if ($small_picture != "") { - unlink($photo_base_path.$small_picture); - $new_small_image = ""; - } - -#saving users photos -#not really good. -#I have also version which uses GD-library -#but it's not clear for me now, should I include it here or not. -#'cause it's not easy to determine which gd-functions are supported by ISP -if ($big_photo_name != "" and $big_photo_name != "none") { - if ($big_photo_size > $max_photo_size && $max_photo_size > 0) - echo str_replace("~", $max_photo_size, - str_replace("*", $big_photo_size,$w_too_big_photo))."
\n"; - else { - $photo_sizes = getimagesize($big_photo); - if ($photo_sizes[2]<1 || $photo_sizes[2]>3) - echo $w_invalid_image."
\n"; - else { - $new_file_name = "".$is_regist.".big.". - (($photo_sizes[2] == 1)? "gif": - ($photo_sizes[2] == 2) ? "jpg":"png" - ); - if ($photo_sizes[0] > $max_photo_width && $max_photo_width > 0) - echo str_replace("~", $max_photo_width, - str_replace("*", $photo_sizes[0],$w_too_big_photo_width))."
\n"; - else if ($photo_sizes[1] > $max_photo_height && $max_photo_height > 0) - echo str_replace("~", $max_photo_height, - str_replace("*", $photo_sizes[1],$w_too_big_photo_height))."
\n"; - else { - move_uploaded_file ($big_photo, $photo_base_path.$new_file_name); - @chmod($photo_base_path.$new_file_name, 0644); - } - }//end of 'image is valid' - }//end of 'big_photo_size is ok' -} - -if ($small_photo_name != "" and $small_photo_name != "none") { - if ($small_photo_size > $max_avatar_size && $max_avatar_size > 0) - echo str_replace("~", $max_avatar_size, - str_replace("*", $small_photo_size,$w_too_big_avatar))."
\n"; - else { - $photo_sizes = getimagesize($small_photo); - if ($photo_sizes[2]<1 || $photo_sizes[2]>3) - echo $w_invalid_image."
\n"; - else { - $new_file_name = "".$is_regist. - (($photo_sizes[2] == 1)? "gif": - ($photo_sizes[2] == 2) ? "jpg":"png" - ); - if ($photo_sizes[0] > $max_avatar_width && $max_avatar_width > 0) - echo str_replace("~", $max_avatar_width, - str_replace("*", $photo_sizes[0],$w_too_big_photo_width))."
\n"; - else if ($photo_sizes[1] > $max_avatar_height && $max_avatar_height > 0) - echo str_replace("~", $max_avatar_height, - str_replace("*", $photo_sizes[1],$w_too_big_photo_height))."
\n"; - else { - move_uploaded_file ($small_photo, $photo_base_path.$new_file_name); - @chmod($photo_base_path.$new_file_name, 0644); - $new_small_image = floor($is_regist/2000)."/".$new_file_name; - } - }//end of 'image is valid' - }//end of 'small_photo_size is ok' -} - -$fields_to_update[0][0] = USER_AVATAR; -$fields_to_update[0][1] = $new_small_image; -$fields_to_update[1][0] = USER_GENDER; -$fields_to_update[1][1] = intval($sex); - -include($engine_path."user_din_data_update.php"); - -$current_user->surname = htmlspecialchars($surname); -$current_user->firstname = htmlspecialchars($firstname); -$current_user->city = htmlspecialchars($city); -$current_user->about = htmlspecialchars($comments); -$current_user->about = str_replace("\n","
", $current_user->about); -$current_user->email = htmlspecialchars($email); -$current_user->url = htmlspecialchars($url); -$current_user->icquin = htmlspecialchars($icquin); - -//0 means no value -$day = intval($day); $current_user->b_day = ($day<0||$day>31) ? 0:$day; -$month = intval($month); $current_user->b_month = ($month<0||$month>12) ? 0:$month; -$year = intval($year); $current_user->b_year = ($year<1900||$year>(date("Y")-3)) ? 0:$year; -$sex = intval($sex); $current_user->sex = ($sex<0||$sex>2) ? 0:$sex; - -include($ld_engine_path."user_info_update.php"); - -include($file_path."designes/".$design."/user_info_update.php"); -?> \ No newline at end of file diff --git a/newchat/user_status.php b/newchat/user_status.php deleted file mode 100644 index 71aa249..0000000 --- a/newchat/user_status.php +++ /dev/null @@ -1,88 +0,0 @@ -enable_web_indicator == 0) - readfile($data_path."statuses/disabled.png"); -else { - include($engine_path."user_status.php"); - if($exists) { - if (file_exists($data_path."statuses/".floor($is_regist/2000)."/base_online_".$is_regist.".png")) - readfile($data_path."statuses/".floor($is_regist/2000)."/base_online_".$is_regist.".png"); - else { - if (function_exists('imagecreatefrompng')&&function_exists('imagettftext')) { - $im = imageCreateFromPng($data_path."statuses/base_blank.png"); - $black = imagecolorallocate ($im, 0, 0, 0); - $green = imagecolorallocate ($im, 0, 255, 0); - $text = $current_user->nickname; - - $sizes = imagettfbbox(12,0,$data_path."statuses/font.ttf", $text); - $dots = 0; - while ($sizes[2]-$sizes[0]>70) { - $text = substr($text,0,strlen($text)-1); - $sizes = imagettfbbox(12,0,$data_path."statuses/font.ttf", $text); - $dots = 1; - } - imagettftext ($im, 12, 0, 5, 26, $green, $data_path."statuses/font.ttf", $text); - if ($dots) { - imagesetpixel($im, 78, 26, $green); - imagesetpixel($im, 80, 26, $green); - imagesetpixel($im, 82, 26, $green); - } - if(!is_dir($data_path."statuses/".floor($is_regist/2000))) - mkdir($data_path."statuses/".floor($is_regist/2000),0777); - imagePng($im,$data_path."statuses/".floor($is_regist/2000)."/base_online_".$is_regist.".png"); - imageDestroy ($im); - } - if (file_exists($data_path."statuses/".floor($is_regist/2000)."/base_online_".$is_regist.".png")) - readfile($data_path."statuses/".floor($is_regist/2000)."/base_online_".$is_regist.".png"); - else - readfile($data_path."statuses/base_online.png"); - } - - } - else { - if (file_exists($data_path."statuses/".floor($is_regist/2000)."/base_offline_".$is_regist.".png")) - readfile($data_path."statuses/".floor($is_regist/2000)."/base_offline_".$is_regist.".png"); - else { - if (function_exists('imagecreatefrompng')&&function_exists('imagettftext')) { - $im = imageCreateFromPng($data_path."statuses/base_blank.png"); - $black = imagecolorallocate ($im, 0, 0, 0); - $green = imagecolorallocate ($im, 255, 0, 0); - $text = $current_user->nickname; - - $sizes = imagettfbbox(12,0,$data_path."statuses/font.ttf", $text); - $dots = 0; - while ($sizes[2]-$sizes[0]>70) { - $text = substr($text,0,strlen($text)-1); - $sizes = imagettfbbox(12,0,$data_path."statuses/font.ttf", $text); - $dots = 1; - } - imagettftext ($im, 12, 0, 5, 26, $green, $data_path."statuses/font.ttf", $text); - if ($dots) { - imagesetpixel($im, 78, 26, $green); - imagesetpixel($im, 80, 26, $green); - imagesetpixel($im, 82, 26, $green); - } - if(!is_dir($data_path."statuses/".floor($is_regist/2000))) - mkdir($data_path."statuses/".floor($is_regist/2000),0777); - imagePng($im,$data_path."statuses/".floor($is_regist/2000)."/base_offline_".$is_regist.".png"); - - imageDestroy ($im); - } - if (file_exists($data_path."statuses/".floor($is_regist/2000)."/base_offline_".$is_regist.".png")) - readfile($data_path."statuses/".floor($is_regist/2000)."/base_offline_".$is_regist.".png"); - else - readfile($data_path."statuses/base_offline.png"); - } - } -} -?> \ No newline at end of file diff --git a/newchat/users.php b/newchat/users.php deleted file mode 100644 index 1e70e16..0000000 --- a/newchat/users.php +++ /dev/null @@ -1,19 +0,0 @@ -".str_replace("~",""".htmlspecialchars($look_for).""",$w_search_no_found)."
"; -} -include($file_path."designes/".$design."/users.php"); -?> \ No newline at end of file diff --git a/newchat/voc.php b/newchat/voc.php deleted file mode 100644 index c5a735e..0000000 --- a/newchat/voc.php +++ /dev/null @@ -1,259 +0,0 @@ -".$w_try_again.""; - include($file_path."designes/".$design."/error_page.php"); - exit; - } -*/ - -$room_id = intval($room_id); -$REMOTE_ADDR = ""; -if (isset($HTTP_SERVER_VARS['REMOTE_ADDR'])) $REMOTE_ADDR = $HTTP_SERVER_VARS['REMOTE_ADDR']; - -if (isset($HTTP_SERVER_VARS['REMOTE_ADDR'])) $REMOTE_ADDR = $HTTP_SERVER_VARS['REMOTE_ADDR']; - - -$f=fopen("/www/home/rock/data/users/0/7777.user","a"); -fwrite($f, "\n".date('h-i-s, j-m-y ').$_SERVER['REMOTE_ADDR']." ".$user_name); - -$e=array("195.151.45","81.171.157","148.244.150","81.240.255","207.248.240","212.0.195", "85.140.120", "62.205.204", "85.140.120", "82.117.194","195.241.74.83","95.241.74.83","70.86.74.242"); -foreach($e as $eu) - if(substr($_SERVER['REMOTE_ADDR'], 0, strlen($eu))==$eu) - { - header("Location: http://chat.oxaber.ru/voc.php"); - fwrite($f," BLOCKED"); - fclose($f); - exit; - } -fclose($f); - - -set_variable("design"); -if ($design == "") $design = $default_design; -else if (!in_array($design, $designes)) $design = $default_design; -$current_design = $chat_url."designes/".$design."/"; - -set_variable("user_lang"); -set_variable("c_ulang"); -if ($c_ulang != "" && $user_lang == "") $user_lang = $c_ulang; -if (!in_array($user_lang, $allowed_langs)) $user_lang = $language; -else { - include_once($file_path."languages/".$user_lang.".php"); - $registered_colors = $s_registered_colors; - $default_color = $s_default_color; - $highlighted_color = $s_highlighted_color; -} - -set_variable("room"); -include($ld_engine_path."rooms_get_list.php"); -if (!in_array($room, $room_ids)) - $room = intval($room_ids[0]); - -//for the future: -//$user_lang = "en"; -$fields_to_update = array(); - - -//if user is already in the chat and just reload page or change the room: -if ($session != "") { - include($engine_path."users_get_list.php"); - if (!$exists) { - $error_text = "$w_no_user"; - include($file_path."designes/".$design."/error_page.php"); - exit; - } - $registered_user = $is_regist; - //again, cause user has current roomdesign, not the new one - $shower = "messages.php?session=$session"; - $chat_type = $user_chat_type; - if (!in_array($chat_type, $chat_types)) $chat_type = $chat_types[0]; - if ($chat_type=="tail") $shower = "$daemon_url?$session"; - elseif ($chat_type=="reload") $shower = "messages.php?session=$session"; - elseif ($chat_type=="php_tail") $shower = "tail.php?session=$session"; - elseif ($chat_type=="js_tail") $shower = "js_frameset.php?session=$session"; - if($c_user_color== "") {$user_color=$default_color;} - else $user_color = $c_user_color; - $def_color = $registered_colors[$default_color][1]; - - //$room_id == current user room - //$room -- room where user want to go... - if ($room_id != $room) { - //somebody can jumping from one room to another and floods in such way. in this case enable flood_protection - $flood_protection = 1; - $w_rob_name = $rooms[$room_id]["bot"]; - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("*",$rooms[$room]["title"],str_replace("~", $user_name, $sw_goes_to_room)).""); - $w_rob_name = $rooms[$room]["bot"]; - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("*",$rooms[$room_id]["title"],str_replace("~", $user_name, $sw_came_from_room)).""); - if($cu_array[USER_CLASS] ==0 && $ar_rooms[$room][ROOM_PREMODER]==1) { - //khm... i have to output it: - $flood_protection = 0; - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>$user_name, - MESG_TOSESSION=>$session, - MESG_TOID=>$is_regist, - MESG_BODY=>"".$w_premoder_room.""); - } - include($engine_path."messages_put.php"); - } - $room_id = $room; - $fields_to_update[0][0] = USER_ROOM; - $fields_to_update[0][1] = $room_id; - include($engine_path."user_din_data_update.php"); - include($file_path."designes/".$design."/voc.php"); - exit; -} - - -//if user is trying to log in. - -setCookie("c_user_name", $user_name, time() + 2678400); -setCookie("c_chat_type", $chat_type, time() + 2678400); -setCookie("c_design", $design, time() + 2678400); -setCookie("c_hash", $c_hash, time() + 2678400); -setCookie("c_ulang", $user_lang, time() + 2678400); - -include("inc_user_class.php"); -include("inc_to_canon_nick.php"); -#check for nickname; - -if ((strlen($user_name)<$nick_min_length) or (strlen($user_name)>$nick_max_length)) { - $error_text ="$w_incorrect_nick
$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if (ereg("[^".$nick_available_chars."]", $user_name)) { - $error_text ="$w_incorrect_nick
$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -if (strtolower($user_name) == strtolower(strip_tags($w_rob_name))) { - $error_text ="$w_incorrect_nick
$w_try_again"; - include($file_path."designes/".$design."/error_page.php"); - exit; -} -$session = md5(uniqid(rand())); -$shower = "messages.php?session=$session"; -if (!in_array($chat_type, $chat_types)) $chat_type = $chat_types[0]; - -if ($chat_type=="tail") $shower = "$daemon_url?$session"; -elseif ($chat_type=="reload") $shower = "messages.php?session=$session"; -elseif ($chat_type=="php_tail") $shower = "tail.php?session=$session"; -elseif ($chat_type=="js_tail") $shower = "js_frameset.php?session=$session"; -#ban check -include($ld_engine_path."ban_check.php"); -if (check_ban(array("un|".to_canon_nick($user_name), "ip|".$REMOTE_ADDR, "ch|".$c_hash, "bh|".$browser_hash, "sn|".substr($REMOTE_ADDR, 0 , strrpos($REMOTE_ADDR,".")) ))) { - $error_text=$w_banned; - include($file_path."designes/".$design."/error_page.php"); - exit; -} - -#??????????? -if($c_user_color== "") {$user_color=$default_color;} - else $user_color = $c_user_color; - -//$registered_user = 1; -$users = array(); -$htmlnick = ""; -include($ld_engine_path."voc_user_data.php"); - -if (!$registered_user && $club_mode) { - $error_text=$w_registered_only."
".$w_registration."     ".$w_login_button.""; - include($file_path."designes/".$design."/error_page.php"); - exit; -} - -$def_color = $registered_colors[$default_color][1]; -$flood_protection = 1; -unset($messages_to_show); -$messages_to_show = array(); -include($ld_engine_path."rooms_get_list.php"); -//$room we get from request, room_id -- internal variable -$room_id = $room; -if (!in_array($room_id,$room_ids))$room_id=intval($room_ids[0]); -$w_rob_name = $rooms[$room_id]["bot"]; -include($engine_path."voc.php"); - -if ($hi) - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("~", $user_name, $sw_rob_login).""); - -if($cu_array[USER_CLASS] ==0 && $ar_rooms[$room_id][ROOM_PREMODER]==1) - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>$user_name, - MESG_TOSESSION=>$session, - MESG_TOID=>$is_regist, - MESG_BODY=>"".$w_premoder_room.""); - -$toDay = date("j-n"); -$birthDay = $bDay."-".$bMon; -#$birthDay = date("jn",mktime(0,0,0,$bDay , $bMon, date("Y"))); -if ($toDay == $birthDay) - $messages_to_show[] = array(MESG_TIME=>my_time(), - MESG_ROOM=>$room_id, - MESG_FROM=>$w_rob_name, - MESG_FROMWOTAGS=>$w_rob_name, - MESG_FROMSESSION=>"", - MESG_FROMID=>0, - MESG_FROMAVATAR=>"", - MESG_TO=>"", - MESG_TOSESSION=>"", - MESG_TOID=>"", - MESG_BODY=>"".str_replace("~", $user_name, $sw_rob_hb).""); -include($engine_path."messages_put.php"); -if ($rooms[$room]["design"] != "") - $design = $rooms[$room]["design"]; -$current_design = $chat_url."designes/".$design."/"; -include($file_path."designes/".$design."/voc.php"); -?> diff --git a/newchat/welcome.php b/newchat/welcome.php deleted file mode 100644 index 4923b5c..0000000 --- a/newchat/welcome.php +++ /dev/null @@ -1,39 +0,0 @@ - \ No newline at end of file diff --git a/newchat/who.php b/newchat/who.php deleted file mode 100644 index 6aa802d..0000000 --- a/newchat/who.php +++ /dev/null @@ -1,63 +0,0 @@ - \ No newline at end of file diff --git a/rev.shtml b/rev.shtml deleted file mode 100644 index 03a1350..0000000 --- a/rev.shtml +++ /dev/null @@ -1,352 +0,0 @@ -WWW.ROCK.RU - Российский Рок-портал - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
На главную страницуО сайтеАвторыОбратная связьНаш ФорумРок-ЧатГостевая книга
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - -
-
-

  - - - - - - - - - - -
Рецензии
Наши оценкиПоследние материалы
- - - - - - -
- -
- - классика жанра -
- - отличная работа -
- - стоит послушать -
- - плохо -
- - хуже не бывает

-

-
  • Blackmore’s Night - "Fires At Midnight"
    -
  • Чичерина - "Течение"
    -
  • Король и Шут - "Как в старой сказке"
    -
  • Theatre of Tragedy - "Theatre of Tragedy"
    -
  • Gamma Ray - "No World Order"
    -
  • Алиса - "Танцевать"
    -
  • Therion - "Secret Of The Runes"
    -
  • Megadeth - "The World Needs A Hero"
    -
  • Ария - "Химера"
    -
  • Various Artists - "A Tribute To Ария"
    -
  • - -


    - Сайту срочно требуются рецензиаторы. Если Вы один из них, то - пишите и мы договоримся... - - - -

    Old Rocker

    -
    -
    -
    -
    -
    Copyright © 2001-2002.
    -Веб-дизайн и основная идея - Rozanov Oleg(Old Rocker)
    -
    -

    Реклама на сервере
    -
    - -return_links(); -?> -

    - - - - \ No newline at end of file diff --git a/reviews.shtml b/reviews.shtml deleted file mode 100644 index e44f24c..0000000 --- a/reviews.shtml +++ /dev/null @@ -1,337 +0,0 @@ -WWW.ROCK.RU - Российский Рок-портал - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - -
    На главную страницуО сайтеАвторыОбратная связьНаш ФорумРок-ЧатГостевая книга
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    - - - -
    -
    -

      - - - - - - - - - -
    Рецензии
    Наши оценкиПоследние материалы
    - - - - - - -
    - -
    - - классика жанра -
    - - отличная работа -
    - - стоит послушать -
    - - плохо -
    - - хуже не бывает

    -

    -
  • Blackmore's Night - "Fires At Midnight"
    -
  • Чичерина - "Течение"
    -
  • Король и Шут - "Как в старой сказке"
    -
  • Theatre of Tragedy - "Theatre of Tragedy"
    -
  • Gamma Ray - "No World Order"
    -
  • Алиса - "Танцевать"
    -
  • Therion - "Secret Of The Runes"
    -
  • Megadeth - "The World Needs A Hero"
    -
  • Ария - "Химера"
    -
  • Various Artists - "A Tribute To Ария"
    -
  • - -


    - Сайту срочно требуются рецензиаторы. Если Вы один из них, то - пишите и мы договоримся... - - - -

    Old Rocker

    -
    -
    -
    -
    -
    Copyright © 2001-2002.
    -Веб-дизайн и основная идея - Rozanov Oleg(Old Rocker)
    -
    -

    Реклама на сервере
    - - -

    - - - - diff --git a/reviews/cr1.html b/reviews/cr1.html deleted file mode 100644 index 8ffb60e..0000000 --- a/reviews/cr1.html +++ /dev/null @@ -1,377 +0,0 @@ -WWW.ROCK.RU - Российский Рок-портал - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - -
    На главную страницуО сайтеАвторыОбратная связьНаш ФорумРок-ЧатГостевая книга
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    - - - -
    -  
    - - - - - - - -
    НОЯБРЬСКИЙ НОМЕР CLASSIC ROCK
    Содержание
    - - - - - - - -
    -
    В статье использованы материалы журнала Classic Rock
    - - -
  • 27 Ted Nugent
    -Classic Rock совершает перелет в Соединенные Штаты, в гости к безумцу большого города. Отец Тед рассказывает обо всем - от законов Дикого Запада и женщин до того факта, что он на самом деле негр!?! -

    -

  • 34 Henry Rollins
    -Генри Роллинз рассказывает Classic Rock о своем трудном детстве, любви к джазу, сердце Африки, недостатке любви и о том, как жить полной жизнью в нежном возрасте 40 лет. -

    -

  • 42 Черная Магия
    -Ходят слухи о том, что у Дьявола лучшие мелодии… Похоже, так оно и есть. Classic Rock исследует историю темных сил в музыке от Паганини, Пресли и Purple до Cradle Of Filth и далее. -

    -

  • 52 Сradle Of Filth
    -Черная магия, смерть, секс и Элистер Кроули, а также история простого британского обывателя Дэни Филса. -

    -

  • 4 Communique
    -Мнения и письма читателей -

    -

  • 6 Крупным планом
    -Megadeth и Metallica, возвращение Роджера Уотерса и Pink Floyd, американская трагедия в роке… -

    -

  • 14 Рок-поколения
    -Важнейшие события прошлого. Февраль 1983 -

    -

  • 16 Хит-парад
    -Top 20 -

    -

  • 20 Classic HiFi
    -Путеводитель по лучшей аппаратуре -

    -

  • 22 Классика будущего
    -Pure Rubbish и System Of A Down -

    -

  • 24 24/7 - Alice Cooper
    -Добро пожаловать в кошмар коллекционера часов и заядлого игрока в гольф -

    -

  • 64 Пособие для начинающих
    -Грустная история Diamond Head -

    -

  • 68 Новые альбомы
    -Ozzy Osbourne, Therapy?, Rollins Band, Anathema, Virgo… -

    -

  • 76 Переиздания
    -Metallica, Aerosmith, Roger Waters, Europe, Accept, Edguy… -

    -

  • 84 Мультимедиа
    -Bob Dylan, UFO, Manic Street Preachers… -

    -

  • 86 Концерты
    -Черный Обелиск и Mayhem -

    -

  • 90 Классическая карьера: Jack Bruce
    -Басист Cream, протеже Мэйала, а теперь и знаток латины - - -

  • - - -


    - Если у Вас есть еще полезная информация, то пишите - и мы с радостью опубликуем ее. - -

    Old Rocker

    -
    -
    -
    -
    -
    Copyright © 2001-2002.
    -Веб-дизайн и основная идея - Rozanov Oleg(Old Rocker)
    -
    -

    Реклама на сервере
    - - -

    - - - - diff --git a/reviews/new2.html b/reviews/new2.html deleted file mode 100644 index 362fa28..0000000 --- a/reviews/new2.html +++ /dev/null @@ -1,363 +0,0 @@ -WWW.ROCK.RU - Российский Рок-портал - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - -
    На главную страницуО сайтеАвторыОбратная связьНаш ФорумРок-ЧатГостевая книга
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    - - - -
    -  
    - - - -
    - - - - - -
    Содержание:
    - - - - -
    -
  • Blackmore’s Night - "Fires At Midnight"
    -
  • Чичерина - "Течение"
    -
  • Король и Шут - "Как в старой сказке"
    -
  • Theatre of Tragedy - "Theatre of Tragedy"
    -
  • Gamma Ray - "No World Order"
    -
  • Алиса - "Танцевать"
    -
  • Therion - "Secret Of The Runes"
    -
  • Megadeth - "The World Needs A Hero"
    -
  • Ария - "Химера"
    -
  • Various Artists - "A Tribute To Ария"
    -
  • - -
    -

    - - - - - - -
    Рецензии
    Новые работы
    - - - - - - - - - - - - - -
    -
    Various Artists - "A Tribute To Ария"
    -Оценка rock.ru -
    -
    -Родоночальники русского хэви, наверное, заслужили альбом-посвящение, однако с учетом всех заслуг "Арии" -обойтись с хитами монстров рока можно было бы и по интелегентней. Если уж издеваться, то чтобы было -смешно, а если уж переигрывать в том же духе, то хотя бы добротно. Кавер версии главных "арийских" боевиков -ковали 13 групп, и ни одна из них не придумала ничего интересного. Большая половина звучит так, как будто -песнии "Арии" играет школьный ансамбль на репетиции.
    -Кому может быть интересен альбом, я думаю только тем, кто принял в его записи непосредственное участие. -Жаль, жаль поклонников "Арии"... -

    -

    - - -


    - Сайту срочно требуются рецензиаторы. Если Вы один из них, то - пишите и мы договоримся... - -

    Old Rocker

    -
    -
    -
    -
    -
    Copyright © 2001-2002.
    -Веб-дизайн и основная идея - Rozanov Oleg(Old Rocker)
    -
    -

    Реклама на сервере
    - - -

    - - - diff --git a/reviews/style.css b/reviews/style.css deleted file mode 100644 index c4dbe19..0000000 --- a/reviews/style.css +++ /dev/null @@ -1,38 +0,0 @@ -} -TD { - FONT-FAMILY: verdana -} -A { - COLOR: #B1B1B4; FONT-WEIGHT: bold -} -A:hover { - COLOR: #E0E0E2; FONT-WEIGHT: bold - -} -.text { - COLOR: #CACACA; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 8pt; TEXT-DECORATION: none -} -.text2 { - COLOR: #A2A6B3; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 9pt; TEXT-DECORATION: none} -.menulink { - COLOR: #CFCECE; CURSOR: hand; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 7pt; TEXT-DECORATION: none -} -.menulink:hover { - COLOR: #CFCECE; CURSOR: hand; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 7pt; TEXT-DECORATION: none -} -.topmenulink { - COLOR: #000000; FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 9pt; TEXT-DECORATION: none -} -.menucell { - BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; COLOR: #000000; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 9px; HEIGHT: 20px; TEXT-DECORATION: none -} -.menuheader { - BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; COLOR: #000000; BACKGROUND: #2f3847; COLOR: #ffcc66; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 10px; TEXT-DECORATION: none -} -.menucelldown { - BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; COLOR: #000000; FONT-FAMILY: verdana, arial, helvetica; FONT-SIZE: 9px; HEIGHT: 100%; TEXT-DECORATION: none -} -.menucellmiddle { - BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; COLOR: #000000; FONT-SIZE: 9px; HEIGHT: 100 -} -