$style_start = str_replace("#", $cpuLen, $style_start);
if (strpos($mesg, "!выход") == 1) { echo '<script>parent.window.location.assign("'.$chat_url.'logout.php?session='.$session.'");</script>'; exit(); }
</table>
<tr> <td></td><td> <input type="checkbox" name="no_bot" value="1" class=input /> <b>Я не робот!</b> </td> </tr>
<?php
if(!isset($_POST['no_bot'])){exit('Терминаторам в чате не место! Если Вы не робот, необходимо вернуться назад и отметить «<b>Я не робот!</b>»');}
require_once($path_to_common.'inc_common.php');
$logging_messages = 0; $logging_ban = 0;
default: return "kozerog.jpg\"; break; } } ?>
<td><input name="custom_style" type="checkbox" value=1><small><?php echo $w_roz_style; ?></small></td>
<td><input name="custom_style" type="checkbox" value="1" checked><small><?php echo $w_roz_style; ?></small></td>
?>
$quiz_rank_1 = "редкий гость"; $quiz_rank_2 = "гость"; $quiz_rank_3 = "салага"; $quiz_rank_4 = "новичок"; $quiz_rank_5 = "перспективный"; $quiz_rank_6 = "наловчившийся"; $quiz_rank_7 = "только посмотрите"; $quiz_rank_8 = "во даешь!"; $quiz_rank_9 = "успешный"; $quiz_rank_10 = "умник-разумник"; $quiz_rank_11 = "коллекционер букв"; $quiz_rank_12 = "громкое имя"; $quiz_rank_13 = "ишь как насобачился"; $quiz_rank_14 = "тонкий специалист"; $quiz_rank_15 = "редкий дока"; $quiz_rank_16 = "в самом расцвете сил"; $quiz_rank_17 = "ас клавишного рукоделия"; $quiz_rank_18 = "венец постэволюции"; $quiz_rank_19 = "борец с энтропией"; $quiz_rank_20 = "дальше - больше"; $quiz_rank_21 = "профессионал"; $quiz_rank_22 = "азартный многовед"; $quiz_rank_23 = "вспоминатель-пониматель"; $quiz_rank_24 = "чудеса без решета"; $quiz_rank_25 = "запас в миллиард слов"; $quiz_rank_26 = "восприимчивый"; $quiz_rank_27 = "на полпути"; $quiz_rank_28 = "лексический зомби"; $quiz_rank_29 = "сноровистый клавишник"; $quiz_rank_30 = "чуткий ум"; $quiz_rank_31 = "реактивный уникум"; $quiz_rank_32 = "серьезный авторитет"; $quiz_rank_33 = "лингвоталант"; $quiz_rank_34 = "голова на плечах"; $quiz_rank_35 = "общая гордость"; $quiz_rank_36 = "искусный словесник"; $quiz_rank_37 = "смекалистый"; $quiz_rank_38 = "и жнец и швец"; $quiz_rank_39 = "героический эрудит"; $quiz_rank_40 = "владыка словарей"; $quiz_rank_41 = "одно слово - мастак"; $quiz_rank_42 = "достояние викторины"; $quiz_rank_43 = "безупречный мыслитель"; $quiz_rank_44 = "поглотитель знаний"; $quiz_rank_45 = "агент ноосферы"; $quiz_rank_46 = "неизлечимый игроман"; $quiz_rank_47 = "вербальный гурман"; $quiz_rank_48 = "сканер с памятью слона"; $quiz_rank_49 = "бывают же такие"; $quiz_rank_50 = "аналитическое хранилище"; $quiz_rank_51 = "взломщик реальности"; $quiz_rank_52 = "агент матрицы"; $quiz_rank_53 = "энциклопедоед"; $quiz_rank_54 = "ассоциативный биочип"; $quiz_rank_55 = "филологический мнемоник"; $quiz_rank_56 = "дитя инфоэры"; $quiz_rank_57 = "петабайтоголовый"; $quiz_rank_58 = "тиран нейронов"; $quiz_rank_59 = "фотонный процессор"; $quiz_rank_60 = "секретная разработка"; $quiz_rank_61 = "великий дух познания"; $quiz_rank_62 = "настоящий монстр"; $quiz_rank_63 = "архибог"; $quiz_rank_64 = "вселенское сознание"; $quiz_rank_65 = "гений игры"; $w_quiz_command_rank = "!звание"; $w_quiz_rank_answer = "<{USER_NAME}> имеет звание <b><{USER_RANK}></b>"; $w_quiz_command_help = "!хелп"; $w_quiz_help_answer = "Итак надо объяснить <{USER_NAME}> команды <b>ВИКТОРИН</b>ы:<br>Команда <b>!я</b> показывает сколько у пользователя верных ответов, кол-во поинтов и самый быстрый его ответ!<br>Команда <b>!йа</b> такая же что и <b>!я</b> 😀 <br>Команда <b>!топ</b> показывает 10 лучший викторинщиков!<br>Команда <b>!хелп</b> - это команда помощи, которую вы сейчас читаете 😀 <br>Команда <b>!звание</b> показывает текущее звание угадывающего!<br>Команда <b>!хз</b> пишет что вы понятия не имеет какой ответ на этот вопрос 😀 <br>Команда <b>!хм</b> показывает как вы думаете над данным вопросом 😀 ";
<?php $lang_ru = $file_path.'languagеs/ru.php'; include($lang_ru); if (trim($mesg) == $w_quiz_command_help) { $message_text = str_replace('<{USER_NAME}>', $user_name, $w_quiz_help_answer); $messages_to_show[] = array(MESG_TIME=>my_time()+1, MESG_ROOM=>$room_id, MESG_FROM=>$bot_avatar.$bot_name, MESG_FROMWOTAGS=>"", MESG_FROMSESSION=>0, MESG_FROMAVATAR=>"", MESG_FROMID=>$is_regist, MESG_TO=>"", MESG_TOSESSION=>"", MESG_TOID=>0, MESG_BODY=>$message_text, ); } ?>
$quiz_answer_file = $data_path.'quiz/answer.dat';
$quiz_help = $file_path.'help.php'; include ($quiz_help); $quiz_rank_file = $file_path.'rank.php'; include ($quiz_rank_file);
<?php $langs_ru_path = $file_pat.'languages\ru.php'; include ($langs_ru_path); $quiz_rank_raznica = 10; if ($current_user->quiz >= 0*$quiz_rank_raznica) { if ($current_user->quiz < 1*$quiz_rank_raznica) $current_user->rank = $quiz_rank_1; } if ($current_user->quiz >= 1*$quiz_rank_raznica) { if ($current_user->quiz < 2*$quiz_rank_raznica) $current_user->rank = $quiz_rank_2; } if ($current_user->quiz >= 2*$quiz_rank_raznica) { if ($current_user->quiz < 3*$quiz_rank_raznica) $current_user->rank = $quiz_rank_3; } if ($current_user->quiz >= 3*$quiz_rank_raznica) { if ($current_user->quiz < 4*$quiz_rank_raznica) $current_user->rank = $quiz_rank_4; } if ($current_user->quiz >= 4*$quiz_rank_raznica) { if ($current_user->quiz < 5*$quiz_rank_raznica) $current_user->rank = $quiz_rank_5; } if ($current_user->quiz >= 5*$quiz_rank_raznica) { if ($current_user->quiz < 6*$quiz_rank_raznica) $current_user->rank = $quiz_rank_6; } if ($current_user->quiz >= 6*$quiz_rank_raznica) { if ($current_user->quiz < 7*$quiz_rank_raznica) $current_user->rank = $quiz_rank_7; } if ($current_user->quiz >= 7*$quiz_rank_raznica) { if ($current_user->quiz < 8*$quiz_rank_raznica) $current_user->rank = $quiz_rank_8; } if ($current_user->quiz >= 8*$quiz_rank_raznica) { if ($current_user->quiz < 9*$quiz_rank_raznica) $current_user->rank = $quiz_rank_9; } if ($current_user->quiz >= 9*$quiz_rank_raznica) { if ($current_user->quiz < 10*$quiz_rank_raznica) $current_user->rank = $quiz_rank_10; } if ($current_user->quiz >= 10*$quiz_rank_raznica) { if ($current_user->quiz < 11*$quiz_rank_raznica) $current_user->rank = $quiz_rank_11; } if ($current_user->quiz >= 11*$quiz_rank_raznica) { if ($current_user->quiz < 12*$quiz_rank_raznica) $current_user->rank = $quiz_rank_12; } if ($current_user->quiz >= 12*$quiz_rank_raznica) { if ($current_user->quiz < 13*$quiz_rank_raznica) $current_user->rank = $quiz_rank_13; } if ($current_user->quiz >= 13*$quiz_rank_raznica) { if ($current_user->quiz < 14*$quiz_rank_raznica) $current_user->rank = $quiz_rank_14; } if ($current_user->quiz >= 14*$quiz_rank_raznica) { if ($current_user->quiz < 15*$quiz_rank_raznica) $current_user->rank = $quiz_rank_15; } if ($current_user->quiz >= 15*$quiz_rank_raznica) { if ($current_user->quiz < 16*$quiz_rank_raznica) $current_user->rank = $quiz_rank_16; } if ($current_user->quiz >= 16*$quiz_rank_raznica) { if ($current_user->quiz < 17*$quiz_rank_raznica) $current_user->rank = $quiz_rank_17; } if ($current_user->quiz >= 17*$quiz_rank_raznica) { if ($current_user->quiz < 18*$quiz_rank_raznica) $current_user->rank = $quiz_rank_18; } if ($current_user->quiz >= 18*$quiz_rank_raznica) { if ($current_user->quiz < 19*$quiz_rank_raznica) $current_user->rank = $quiz_rank_19; } if ($current_user->quiz >= 19*$quiz_rank_raznica) { if ($current_user->quiz < 20*$quiz_rank_raznica) $current_user->rank = $quiz_rank_20; } if ($current_user->quiz >= 20*$quiz_rank_raznica) { if ($current_user->quiz < 21*$quiz_rank_raznica) $current_user->rank = $quiz_rank_21; } if ($current_user->quiz >= 21*$quiz_rank_raznica) { if ($current_user->quiz < 22*$quiz_rank_raznica) $current_user->rank = $quiz_rank_22; } if ($current_user->quiz >= 22*$quiz_rank_raznica) { if ($current_user->quiz < 23*$quiz_rank_raznica) $current_user->rank = $quiz_rank_23; } if ($current_user->quiz >= 23*$quiz_rank_raznica) { if ($current_user->quiz < 24*$quiz_rank_raznica) $current_user->rank = $quiz_rank_24; } if ($current_user->quiz >= 24*$quiz_rank_raznica) { if ($current_user->quiz < 25*$quiz_rank_raznica) $current_user->rank = $quiz_rank_25; } if ($current_user->quiz >= 25*$quiz_rank_raznica) { if ($current_user->quiz < 26*$quiz_rank_raznica) $current_user->rank = $quiz_rank_26; } if ($current_user->quiz >= 26*$quiz_rank_raznica) { if ($current_user->quiz < 27*$quiz_rank_raznica) $current_user->rank = $quiz_rank_27; } if ($current_user->quiz >= 27*$quiz_rank_raznica) { if ($current_user->quiz < 28*$quiz_rank_raznica) $current_user->rank = $quiz_rank_28; } if ($current_user->quiz >= 28*$quiz_rank_raznica) { if ($current_user->quiz < 29*$quiz_rank_raznica) $current_user->rank = $quiz_rank_29; } if ($current_user->quiz >= 29*$quiz_rank_raznica) { if ($current_user->quiz < 30*$quiz_rank_raznica) $current_user->rank = $quiz_rank_30; } if ($current_user->quiz >= 30*$quiz_rank_raznica) { if ($current_user->quiz < 31*$quiz_rank_raznica) $current_user->rank = $quiz_rank_31; } if ($current_user->quiz >= 31*$quiz_rank_raznica) { if ($current_user->quiz < 32*$quiz_rank_raznica) $current_user->rank = $quiz_rank_32; } if ($current_user->quiz >= 32*$quiz_rank_raznica) { if ($current_user->quiz < 33*$quiz_rank_raznica) $current_user->rank = $quiz_rank_33; } if ($current_user->quiz >= 33*$quiz_rank_raznica) { if ($current_user->quiz < 34*$quiz_rank_raznica) $current_user->rank = $quiz_rank_34; } if ($current_user->quiz >= 34*$quiz_rank_raznica) { if ($current_user->quiz < 35*$quiz_rank_raznica) $current_user->rank = $quiz_rank_35; } if ($current_user->quiz >= 35*$quiz_rank_raznica) { if ($current_user->quiz < 36*$quiz_rank_raznica) $current_user->rank = $quiz_rank_36; } if ($current_user->quiz >= 36*$quiz_rank_raznica) { if ($current_user->quiz < 37*$quiz_rank_raznica) $current_user->rank = $quiz_rank_37; } if ($current_user->quiz >= 37*$quiz_rank_raznica) { if ($current_user->quiz < 38*$quiz_rank_raznica) $current_user->rank = $quiz_rank_38; } if ($current_user->quiz >= 38*$quiz_rank_raznica) { if ($current_user->quiz < 39*$quiz_rank_raznica) $current_user->rank = $quiz_rank_39; } if ($current_user->quiz >= 39*$quiz_rank_raznica) { if ($current_user->quiz < 40*$quiz_rank_raznica) $current_user->rank = $quiz_rank_40; } if ($current_user->quiz >= 40*$quiz_rank_raznica) { if ($current_user->quiz < 41*$quiz_rank_raznica) $current_user->rank = $quiz_rank_41; } if ($current_user->quiz >= 41*$quiz_rank_raznica) { if ($current_user->quiz < 42*$quiz_rank_raznica) $current_user->rank = $quiz_rank_42; } if ($current_user->quiz >= 42*$quiz_rank_raznica) { if ($current_user->quiz < 43*$quiz_rank_raznica) $current_user->rank = $quiz_rank_43; } if ($current_user->quiz >= 43*$quiz_rank_raznica) { if ($current_user->quiz < 44*$quiz_rank_raznica) $current_user->rank = $quiz_rank_44; } if ($current_user->quiz >= 44*$quiz_rank_raznica) { if ($current_user->quiz < 45*$quiz_rank_raznica) $current_user->rank = $quiz_rank_45; } if ($current_user->quiz >= 45*$quiz_rank_raznica) { if ($current_user->quiz < 46*$quiz_rank_raznica) $current_user->rank = $quiz_rank_46; } if ($current_user->quiz >= 46*$quiz_rank_raznica) { if ($current_user->quiz < 47*$quiz_rank_raznica) $current_user->rank = $quiz_rank_47; } if ($current_user->quiz >= 47*$quiz_rank_raznica) { if ($current_user->quiz < 48*$quiz_rank_raznica) $current_user->rank = $quiz_rank_48; } if ($current_user->quiz >= 48*$quiz_rank_raznica) { if ($current_user->quiz < 49*$quiz_rank_raznica) $current_user->rank = $quiz_rank_49; } if ($current_user->quiz >= 49*$quiz_rank_raznica) { if ($current_user->quiz < 50*$quiz_rank_raznica) $current_user->rank = $quiz_rank_50; } if ($current_user->quiz >= 50*$quiz_rank_raznica) { if ($current_user->quiz < 51*$quiz_rank_raznica) $current_user->rank = $quiz_rank_51; } if ($current_user->quiz >= 51*$quiz_rank_raznica) { if ($current_user->quiz < 52*$quiz_rank_raznica) $current_user->rank = $quiz_rank_52; } if ($current_user->quiz >= 52*$quiz_rank_raznica) { if ($current_user->quiz < 53*$quiz_rank_raznica) $current_user->rank = $quiz_rank_53; } if ($current_user->quiz >= 53*$quiz_rank_raznica) { if ($current_user->quiz < 54*$quiz_rank_raznica) $current_user->rank = $quiz_rank_54; } if ($current_user->quiz >= 54*$quiz_rank_raznica) { if ($current_user->quiz < 55*$quiz_rank_raznica) $current_user->rank = $quiz_rank_55; } if ($current_user->quiz >= 55*$quiz_rank_raznica) { if ($current_user->quiz < 56*$quiz_rank_raznica) $current_user->rank = $quiz_rank_56; } if ($current_user->quiz >= 56*$quiz_rank_raznica) { if ($current_user->quiz < 57*$quiz_rank_raznica) $current_user->rank = $quiz_rank_57; } if ($current_user->quiz >= 57*$quiz_rank_raznica) { if ($current_user->quiz < 58*$quiz_rank_raznica) $current_user->rank = $quiz_rank_58; } if ($current_user->quiz >= 58*$quiz_rank_raznica) { if ($current_user->quiz < 59*$quiz_rank_raznica) $current_user->rank = $quiz_rank_59; } if ($current_user->quiz >= 59*$quiz_rank_raznica) { if ($current_user->quiz < 60*$quiz_rank_raznica) $current_user->rank = $quiz_rank_60; } if ($current_user->quiz >= 60*$quiz_rank_raznica) { if ($current_user->quiz < 61*$quiz_rank_raznica) $current_user->rank = $quiz_rank_61; } if ($current_user->quiz >= 61*$quiz_rank_raznica) { if ($current_user->quiz < 62*$quiz_rank_raznica) $current_user->rank = $quiz_rank_62; } if ($current_user->quiz >= 62*$quiz_rank_raznica) { if ($current_user->quiz < 63*$quiz_rank_raznica) $current_user->rank = $quiz_rank_63; } if ($current_user->quiz >= 63*$quiz_rank_raznica) { if ($current_user->quiz < 64*$quiz_rank_raznica) $current_user->rank = $quiz_rank_64; } if ($current_user->quiz >= 64*$quiz_rank_raznica) $current_user->rank = $quiz_rank_65; if (trim($mesg) == $w_quiz_command_rank) { $message_text = str_replace(array('<{USER_NAME}>', '<{USER_RANK}>'), array($user_name, $current_user->rank), $w_quiz_rank_answer); $messages_to_show[] = array(MESG_TIME=>my_time()+1, MESG_ROOM=>$room_id, MESG_FROM=>$bot_avatar.$bot_name, MESG_FROMWOTAGS=>"", MESG_FROMSESSION=>0, MESG_FROMAVATAR=>"", MESG_FROMID=>$is_regist, MESG_TO=>"", MESG_TOSESSION=>"", MESG_TOID=>0, MESG_BODY=>$message_text, ); } ?>